<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>9816</bug_id>
          
          <creation_ts>2010-05-27 16:59:21 +0000</creation_ts>
          <short_desc>[XQuery] Is there really a need to prohibit checking of NOTATIONs during validation?</short_desc>
          <delta_ts>2010-07-12 13:51:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XQuery 1.0</component>
          <version>Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/xquery/#id-validate</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Zongaro">zongaro</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>john.snelson</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35862</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2010-05-27 16:59:21 +0000</bug_when>
    <thetext>According to section 3.13[1] of XQuery 1.0, item 3.e, &quot;There is no check that the document contains notations whose names match the values of nodes of type xs:NOTATION.&quot;

However, according to section 3.2.19 of XML Schema: Datatypes,[2] &quot;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).&quot;  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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36767</commentid>
    <comment_count>1</comment_count>
    <who name="John Snelson">john.snelson</who>
    <bug_when>2010-07-12 13:14:42 +0000</bug_when>
    <thetext>The XQuery WG discussed this bug on 2010/07/12 and decided to delete the following item from XQuery 1.0 as an errata:

&quot;There is no check that the document contains notations whose names match the values of nodes of type xs:NOTATION.&quot;

An identical change will be made to the XQuery 1.1 draft.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36770</commentid>
    <comment_count>2</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2010-07-12 13:51:53 +0000</bug_when>
    <thetext>Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>