This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
According to section 3.13[1] of XQuery 1.0, item 3.e, "There is no check that the document contains notations whose names match the values of nodes of type xs:NOTATION." However, according to section 3.2.19 of XML Schema: Datatypes,[2] "The ·value space· of NOTATION is the set of QNames of notations declared in the current schema. The ·lexical space· of NOTATION is the set of all names of notations declared in the current schema (in the form of QNames)." This stands in contrast to the ENTITY datatype,[3] whose values have to have been declared as unparsed entities in a DTD. Have I missed something or is there really no need for this requirement that the processor not check the values of nodes of type xs:NOTATION? I would suggest striking item 3.e. Note that a similar bug (Bug 6952) has been filed against XSLT 2.0. [1] http://www.w3.org/TR/xquery/#id-validate [2] http://www.w3.org/TR/xmlschema-2/#NOTATION [3] http://www.w3.org/TR/xmlschema-2/#ENTITY
The XQuery WG discussed this bug on 2010/07/12 and decided to delete the following item from XQuery 1.0 as an errata: "There is no check that the document contains notations whose names match the values of nodes of type xs:NOTATION." An identical change will be made to the XQuery 1.1 draft.
Thanks!