<?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>13966</bug_id>
          
          <creation_ts>2011-08-30 00:29:29 +0000</creation_ts>
          <short_desc>incorrect expectation of XQST0022</short_desc>
          <delta_ts>2016-04-12 13:38:20 +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>1.0.3</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>CLOSED</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>56016</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2011-08-30 00:29:29 +0000</bug_when>
    <thetext>In the following test-cases:
    K2-DirectConElem-47
    K2-DirectConElemNamespace-59
    K2-DirectConElemNamespace-65
    K2-DirectConElemNamespace-75
    K2-DirectConElemNamespace-76
    DirectConElemNamespace-3
    DirectConElemNamespace-4
the expected results include the error XQST0022, which I believe
should be removed. (And likewise in QT3_TS.)

XQST0022 should only be raised when the DirAttributeValue of
a namespace declaration attribute contains an EnclosedExpr,
and that is not the case for any of these queries.

-----------------------------------

History:

On 2010-10-12, Sorin Nasoi added
    Bug 6868 comment #28 
and
    Bug 7975 comment #5

Both comments say:

    I have added XQST0022 as an alternate result for tests:

    K2-DirectConElem-47
    K2-DirectConElemNamespace-59
    K2-DirectConElemNamespace-65
    K2-DirectConElemNamespace-75
    K2-DirectConElemNamespace-76

    because, as it was also mentioned by a comment for these
    tests, some processors MAY report the URI&apos;s as invalid.

(Note that both bugs had been resolved months previously, so the new
comments don&apos;t reflect a decision of the WG. As far as I can tell,
these comments haven&apos;t been discussed (or even acknowledged) by the WG.)

(In addition to the 5 test-cases mentioned, Sorin also added XQST0022
to DirectConElemNamespace-{3,4}.)

-----------------------------------

If a processor finds that these tests involve invalid URIs, XQST0022
is not the error to raise, rather XQST0046 is. (And indeed, all of these
test-cases include XQST0046 as a possible result, and already did so
at the time that Sorin added XQST0022.)

It&apos;s possible that Sorin was proceeding based on an old definition of
XQST0022:
    It is a static error if the value of a namespace declaration attribute
    is not a URILiteral.
but that definition had been rendered obsolete by the resolution of Bug 5083
three years previous. (See also Bug 11986 re a vestige of the old definition.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89056</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-06-11 09:48:01 +0000</bug_when>
    <thetext>Bug transferred  to QT3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125816</commentid>
    <comment_count>2</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2016-04-12 13:38:01 +0000</bug_when>
    <thetext>This bug has been resolved in the bug issue #22335 for the QT3 test suite. I am closing it for QT1 as it has bee superseded</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>