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 11735 - [FT] thesaurus.xsd xmlns wrong
Summary: [FT] thesaurus.xsd xmlns wrong
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 blocker
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: 2011-01-11 18:03 UTC by Paul J. Lucas
Modified: 2011-01-24 18:40 UTC (History)
1 user (show)

See Also:


Attachments

Description Paul J. Lucas 2011-01-11 18:03:28 UTC
The thesaurus.xsd file that is part of the Full Text Test Suite begins with:

<xs:schema targetNamespace="http://www.w3.org/2007/xqftts/thesaurus"
   elementFormDefault="qualified"
   xmlns="http://www.w3.org/xqftts/thesaurus"
   xmlns:xs="http://www.w3.org/2001/XMLSchema">

Shouldn't line 3 instead be:

   xmlns="http://www.w3.org/2007/xqftts/thesaurus"

?  (The "2007" is missing.)  Without the change, the following query fails because the document doesn't validate:

import schema "http://www.w3.org/2007/xqftts/thesaurus"
  at "file:///path/to/w3c_full_text_testsuite/TestSources/thesaurus.xsd";
    
validate { doc( "file:///path/to/w3c_full_text_testsuite/TestSources/usability2.xml" ) }

With the change, it validates just fine.
Comment 1 Paul J. Lucas 2011-01-21 17:36:59 UTC
Importance changed to "blocker" since it is not possible either to write code to test nor test any of the full-text thesaurus tests that do not use the default thesaurus.  The test-suite-provided thesaurus XML files can not be validated against a broken schema and thus work can not proceed past that.
Comment 2 Mary Holstege 2011-01-24 18:35:50 UTC
I have restored the missing 2007 from the namespace declaration.

If you are satisfied with this resolution, please mark this bug as CLOSED.
Comment 3 Paul J. Lucas 2011-01-24 18:40:14 UTC
When will this change be visible in the publicly-downloadable full-text test suite?