<?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>4624</bug_id>
          
          <creation_ts>2007-06-11 11:01:57 +0000</creation_ts>
          <short_desc>Serialization problem in K2-ancestor-or-selfAxis-5</short_desc>
          <delta_ts>2007-09-14 11:14:57 +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>All</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nick Jones">nick</reporter>
          <assigned_to name="Frans Englich">frans.englich</assigned_to>
          
          
          <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>15349</commentid>
    <comment_count>0</comment_count>
    <who name="Nick Jones">nick</who>
    <bug_when>2007-06-11 11:01:57 +0000</bug_when>
    <thetext>This query returns,

1,document(),1

which in the expected results in CVS returns &quot;1 1&quot;, but I think this should be &quot;11&quot; (assuming I&apos;m following the normalization rules correctly).

Following the sequence normalization rules in the Serialization spec, I get:

S1=1,document(),1
S2=&quot;1&quot;,document(),&quot;1&quot;
S3=&quot;1&quot;,document(),&quot;1&quot;
S4=text(&quot;1&quot;),document(),text(&quot;1&quot;)
S5=text(&quot;1&quot;),text(&quot;1&quot;)
S6=text(&quot;11&quot;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15400</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2007-06-13 08:39:07 +0000</bug_when>
    <thetext>Yupp, I think you&apos;re right. A fix has been attempted in CVS, XQTS_current.zip is updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15417</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-06-13 12:44:31 +0000</bug_when>
    <thetext>I believe that the serialization spec is in error here. The process is supposed to be the same as construction of document nodes in XSLT and XQuery, but it isn&apos;t. I have raised bug #4641 against Serialization. Note also that the XQuery process is affected by the changes agreed in bug #3637.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15984</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-07-31 18:39:56 +0000</bug_when>
    <thetext>I have withdrawn bug #4641 after looking at it more carefully. The results of this test should indeed be &quot;11&quot;.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16489</commentid>
    <comment_count>4</comment_count>
    <who name="Nick Jones">nick</who>
    <bug_when>2007-09-12 10:25:07 +0000</bug_when>
    <thetext>Thanks. Assuming &quot;11&quot; was the correct answer (which I think is now agreed) this now works fine for me in XQTS_current.zip, so am closing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16526</commentid>
    <comment_count>5</comment_count>
    <who name="Nick Jones">nick</who>
    <bug_when>2007-09-13 14:29:56 +0000</bug_when>
    <thetext>I&apos;m reopening as it looks like this reverted to &quot;1 1&quot; in yesterday&apos;s update to XQTS_current.zip</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16569</commentid>
    <comment_count>6</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2007-09-14 09:34:53 +0000</bug_when>
    <thetext>A fix has been attempted in CVS, XQTS_current.zip is updated.

If the resolution is satisfactory, feel free to change status to CLOSED. Otherwise, reopen this report. If no feedback is returned within two weeks, status will be changed to CLOSED. Thanks for reporting!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16572</commentid>
    <comment_count>7</comment_count>
    <who name="Nick Jones">nick</who>
    <bug_when>2007-09-14 11:14:57 +0000</bug_when>
    <thetext>Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>