<?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>8377</bug_id>
          
          <creation_ts>2009-11-25 16:04:38 +0000</creation_ts>
          <short_desc>[XQFTTS] Schema errors in catalog</short_desc>
          <delta_ts>2010-01-18 22:24:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Full Text 1.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</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="Peter M. Fischer">peter.fischer</reporter>
          <assigned_to name="Jim Melton">jim.melton</assigned_to>
          <cc>holstege</cc>
          
          <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>29737</commentid>
    <comment_count>0</comment_count>
    <who name="Peter M. Fischer">peter.fischer</who>
    <bug_when>2009-11-25 16:04:38 +0000</bug_when>
    <thetext>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 &quot;uri-or-default&quot; without namespace qualification, the correct version would be &quot;test:uri-or-default&quot; (lines 419, 432)

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

There is also an issue with the interpretation of &quot;uri&quot; attribute in &quot;schema&quot; 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 &quot;schema&quot; element with ID &quot;XQFTTSCatalogxsd&quot;, (line 332) should change from &quot;http://www.w3.org/2005/02/query-test-XQFTTSCatalog&quot; to &quot;http://www.w3.org/2005/02/query-test-full-text&quot;, since this is the target namespace for the XQFTTS schema.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31104</commentid>
    <comment_count>1</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2010-01-18 16:20:17 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>