<?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>11701</bug_id>
          
          <creation_ts>2011-01-09 01:42:45 +0000</creation_ts>
          <short_desc>[XQTS] incorrect expectation of XPST0003 (parse error)</short_desc>
          <delta_ts>2016-04-12 14:41:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</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="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Benjamin Nguyen">benjie.nguyen</assigned_to>
          <cc>oneil</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>43948</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2011-01-09 01:42:45 +0000</bug_when>
    <thetext>Test-cases:
    modules-pub-priv-{1,2,3,4} and map-903
all have
    &lt;expected-error spec-version=&quot;1.0&quot;&gt;XPST0003&lt;/expected-error&gt;
but this is incorrect, as the queries are all valid instances of the XQuery 1.0 grammar. Those lines should be deleted from the catalog.

(All the test-cases also have
    &lt;expected-error spec-version=&quot;1.0&quot;&gt;XQST0031&lt;/expected-error&gt;
which is correct.)

Also, test-case
    K2-DirectConElem-53
has
    &lt;expected-error&gt;XPST0003&lt;/expected-error&gt;
which is correct for XQuery 1.0, but not 3.0. The query is:
    namespace {&quot;p&quot;} {&quot;abc&quot;}
which is a valid instance of the 3.0 grammar. (But here I&apos;m not sure what the expected results *should* be.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44709</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Nguyen">benjie.nguyen</who>
    <bug_when>2011-01-25 14:08:08 +0000</bug_when>
    <thetext>Hi Michael,

could you open another bug for the second part of your report (i.e. correct 1.0 syntax but wrong 3.0 syntax), because I think that it might stem some discussion whereas the first part of the bug report is rather straightforward.

For the first part of your bug report XQST0003 may have been blindly added on many cases where XQST0031 was raised. Since Mike Kay is the author of this bug maybe he can give his rationale.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44722</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2011-01-25 20:02:22 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; 
&gt; could you open another bug for the second part of your report

Okay, that&apos;s now Bug 11866.

&gt; (i.e. correct 1.0 syntax but wrong 3.0 syntax),

(It&apos;s actually the other way round.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125832</commentid>
    <comment_count>3</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2016-04-12 14:41:23 +0000</bug_when>
    <thetext>This bug has been resolved against the QT3 test suite therefore I am marking it as resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>