Community
Participate
Working Groups
I20090129-1200 I quickly went through warnings in Team/CVS/Compare components (there are thousands of them, so I just scratched the surface). I got particularly interested in a group of them: warnings in enablement expression in objectContribution. All of them look more less like this: <objectContribution objectClass="..." adaptable="true" id="..."> <enablement><adapt type="..."><test.../></adapt></enablement> ... </objectContribution> Warnings say that: "Element 'adapt' is not legal as a child of 'enablement'." "A minimum of 1 'and' elements must be specified." "A minimum of 1 'or' elements must be specified." "A minimum of 1 'not' elements must be specified." "A minimum of 1 'systemProperty' elements must be specified." "A minimum of 1 'and' elements must be specified." and couple more... But according to Expression Definitions reference[1] there is nothing wrong about it. <!ELEMENT enablement (not , and , or , instanceof , test , systemTest , equals , count , with , resolve , adapt , iterate , reference)*> Is there a better way to define the enablement expression so we can get rid of the warnings? [1] http://help.eclipse.org/stable/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_core_expressions_definitions.html
And of course, no fix for it :-) PW *** This bug has been marked as a duplicate of bug 111778 ***