<?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>1487</bug_id>
          
          <creation_ts>2005-05-29 21:15:57 +0000</creation_ts>
          <short_desc>Undocumented incompatibility: sort key = ()</short_desc>
          <delta_ts>2005-07-14 18:48:32 +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>XSLT 2.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</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>2962</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-05-29 21:15:57 +0000</bug_when>
    <thetext>There is an undocumented backwards incompatibility in the handling of sort keys.
In the absence of a data-type attribute

&lt;xsl:sort select=&quot;@a&quot;/&gt;
&lt;xsl:sort select=&quot;@b&quot;/&gt;

will sort &lt;x b=&quot;2&quot;/&gt; after &lt;x a=&quot;&quot; b=&quot;1&quot;/&gt; in XSLT 1.0, but before it in XSLT
2.0. Specifically, XSLT 1.0 considers an empty sequence to be equal to a
zero-length string in this situation, while XSLT 2.0 considers an empty sequence
to collate before a zero-length string.

Michael Kay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4339</commentid>
    <comment_count>1</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2005-06-23 17:23:56 +0000</bug_when>
    <thetext>At the 23 June telcon, the XSL WG decided that it simply wanted to document this
incompatibility rather than reopen the debate about where () should collate.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4654</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-07-14 18:48:20 +0000</bug_when>
    <thetext>This incompatibility is now documented in the spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>