This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Consider the following example: instance doc fragment: <person> <salary xsi:type='xs:integer'>Hello<salary> <person> schema fragment: <xs:element name="person"> <xs:complexType> <xs:sequence> <xs:any processContents="skip" maxOccurs='unbounded'/> <xs:sequence> <xs:complexType> <xs:element> The element "salary" matches the wildcard with processContents of skip within the content model of "person". However, the element in the instance has an xsi:type specified. The question is: should a processor attempt to validate "salary" against the integer type? Schema Validity Assessment (Element) [1] would seem to indicate "yes" because clause 1.2 appears to be satisfied (via 1.2.1.2). Is this correct? If not, what did I miss? If so, was this the intention? [1] http://www.w3.org/TR/xmlschema-1/#cvc-assess-elt See: http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0281.html
Henry's response: http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0290.html Resolution: Discussed at the March 13, 2003 telecon.
*** Bug 2163 has been marked as a duplicate of this bug. ***