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 6926 - [XQTS] Catalog file has DTD errors.
Summary: [XQTS] Catalog file has DTD errors.
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 14:09 UTC by Oliver Hallam
Modified: 2009-05-21 07:17 UTC (History)
0 users

See Also:


Attachments

Description Oliver Hallam 2009-05-20 14:09:36 UTC
The recently added tests for higher order functions contain spec-citations with section-number="$$HOFSEC" and section-pointer="$$HOF" 

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

<!ATTLIST spec-citation section-number NMTOKEN #REQUIRED >
<!ATTLIST spec-citation section-pointer NMTOKEN #REQUIRED >

Thus the catalog is invalid.
Comment 1 Michael Kay 2009-05-21 07:16:54 UTC
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't include the section numbers in the tests is of course that (a) there isn't yet a published spec that integrates the higher-order-functions specification, so the section number isn't known, and (b) if there were, it could presumably change before release.