<?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>4281</bug_id>
          
          <creation_ts>2007-01-26 23:21:36 +0000</creation_ts>
          <short_desc>version_declaration-010</short_desc>
          <delta_ts>2007-08-09 20:07:00 +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.2</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</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="Michael Kay">mike</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          <cc>carmelo</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>13812</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-01-26 23:21:36 +0000</bug_when>
    <thetext>Test version_declaration-010 gives an expected error because the specified encoding is invalid.

The XQueryX version of the test is completely valid, so it does not deliver the same results. In these circumstances it&apos;s misleading to have an XQueryX version of the test.

Also: the XQuery version of the test has a comment preceding the version declaration. The specification states: &quot;If a version declaration is present, no Comment may occur before the end of the version declaration. If such a Comment is present, the result is implementation-dependent.&quot; The result of this test is therefore entirely unpredictable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16114</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2007-08-09 20:07:00 +0000</bug_when>
    <thetext>The XQueryX version of this test has been removed from the test suite. This was also caught in Bug #4773.

The XQuery version of the test has been changed to:

   xquery version &quot;1.0&quot; encoding &quot;999-UTF-8-*&quot;;
   
   (:*******************************************************:)
   (: Test: version_declaration-010.xq                      :)
   (: Description:Evaluation of version declaration, for    :)
   (: which the encoding does not conforms to &quot;encName&quot; from XML 1.0. :)
   
   &quot;ABC&quot;


Please close this bug report if you agree with this resolution.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>