Community
Participate
Working Groups
The "instance of" operator misbehaves in certain scenarios when involving schema-aware tests. Given the XML instance in "attrNodeTest.xml" and it's schema, the expression "(/Example/x, /Example) instance of element(*, x_Type)" will return true, where it should be false, since not EVERY element in the sequence is an element of type x_Type. This is due to a situation in SeqType matching: The schema type is checked just once, and each item in the sequence is checked for equality on each node.
Created attachment 170621 [details] Patch which leverages the existing KindTest functionality
Created attachment 170622 [details] mylyn/context/zip
*** Bug 298270 has been marked as a duplicate of this bug. ***
Released as v201006250052 in HEAD and v201006250054 in 3.2 branch