W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2011

[Bug 11735] New: [FT] thesaurus.xsd xmlns wrong

From: <bugzilla@jessica.w3.org>
Date: Tue, 11 Jan 2011 18:03:28 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-11735-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11735

           Summary: [FT] thesaurus.xsd xmlns wrong
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: paul@lucasmail.org
         QAContact: public-qt-comments@w3.org


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.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 11 January 2011 18:03:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:45 UTC