<?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>6926</bug_id>
          
          <creation_ts>2009-05-20 14:09:36 +0000</creation_ts>
          <short_desc>[XQTS] Catalog file has DTD errors.</short_desc>
          <delta_ts>2009-05-21 07:17:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="Oliver Hallam">oliver</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <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>25220</commentid>
    <comment_count>0</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2009-05-20 14:09:36 +0000</bug_when>
    <thetext>The recently added tests for higher order functions contain spec-citations with section-number=&quot;$$HOFSEC&quot; and section-pointer=&quot;$$HOF&quot; 

The DTD at the top of XQTSCatalog.xml declares these attributes as NMTOKENS:

&lt;!ATTLIST spec-citation section-number NMTOKEN #REQUIRED &gt;
&lt;!ATTLIST spec-citation section-pointer NMTOKEN #REQUIRED &gt;

Thus the catalog is invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25248</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-05-21 07:16:54 +0000</bug_when>
    <thetext>Sorry about that, should now be fixed.

Anyone know why we have a DTD for the catalog (as well as a schema), and why the DTD imposes constraints that are not present in the schema? We seem to be making our lives unnecessarily difficult.

The reason I didn&apos;t include the section numbers in the tests is of course that (a) there isn&apos;t yet a published spec that integrates the higher-order-functions specification, so the section number isn&apos;t known, and (b) if there were, it could presumably change before release.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>