This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9816 - [XQuery] Is there really a need to prohibit checking of NOTATIONs during validation?
Summary: [XQuery] Is there really a need to prohibit checking of NOTATIONs during vali...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://www.w3.org/TR/xquery/#id-validate
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 16:59 UTC by Henry Zongaro
Modified: 2010-07-12 13:51 UTC (History)
1 user (show)

See Also:


Attachments

Description Henry Zongaro 2010-05-27 16:59:21 UTC
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
Comment 1 John Snelson 2010-07-12 13:14:42 UTC
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.
Comment 2 Henry Zongaro 2010-07-12 13:51:53 UTC
Thanks!