This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Test: over015.v01.xml Schema: Override/over015.xsd XML: Override/over015.v01.xml Expected validity: valid Attribute "nota" is declared as having type xs:NOTATION. The attribute appears in the XML file with a value "foo". This violates rule "enumeration facet value required for NOTATION". This can be fixed by declaring attribute "nota" as having a type derived from xs:NOTATION by specifying enumeration values "foo" and "bar" An alternative is to - change "nota" to an element declaration - add a global simple type "notaType" that restricts xs:NOTATION by specifying enumeration values "foo" and "bar" - add an xsi:type attribute on <nota> element to point to "notaType" This latter set of changes also test the clarification that it's OK to declare an element/attribute to have type xs:NOTATION (not a schema error), but it's not OK to use NOTATION to validate a value (a runtime error).
Fixed, along the lines suggested.