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 8377 - [XQFTTS] Schema errors in catalog
Summary: [XQFTTS] Schema errors in catalog
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 16:04 UTC by Peter M. Fischer
Modified: 2010-01-18 22:24 UTC (History)
1 user (show)

See Also:


Attachments

Description Peter M. Fischer 2009-11-25 16:04:38 UTC
When working on the CVS version of the XQFTTS, I encountered a number of small schema-related errors in the catalog and the catalog schema itself.

The errors can be reproduced using Xerces-J2 2.9.1 (both from MXQuery and Oxygen)

Catalog Schema Error (XQFTTSCatalog.xsd):
In the element definitions for stopword and thesaurus, the uri attribute definition uses the type "uri-or-default" without namespace qualification, the correct version would be "test:uri-or-default" (lines 419, 432)

Catalog File Errors (XQFTTSCatalog.xml):
- In the description of the stopword entry "defaultsw", an incorrect date format is used: 2009-10--5, should probably be 2009-10-05 (line 443)
- In the test case "FTExtension-Opt-q4", the order of the "output-file" and "expected-error" elements is wrong, "output-file" needs to come first

There is also an issue with the interpretation of "uri" attribute in "schema" source element: Is this the target namespace for this schema? The data in the XQTS and XQUTS seem to indicate so, and my test driver uses it accordingly.

If yes, uri attribute for the "schema" element with ID "XQFTTSCatalogxsd", (line 332) should change from "http://www.w3.org/2005/02/query-test-XQFTTSCatalog" to "http://www.w3.org/2005/02/query-test-full-text", since this is the target namespace for the XQFTTS schema.
Comment 1 Mary Holstege 2010-01-18 16:20:17 UTC
The XQuery Full-Text task force considered this bug.
We agree, and the fixes have been applied as suggested.

If you are satisfied with this resolution, please mark the bug as CLOSED.