<?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>27011</bug_id>
          
          <creation_ts>2014-10-09 17:32:07 +0000</creation_ts>
          <short_desc>[xslt 3.0] Problems with xsl:fork example</short_desc>
          <delta_ts>2014-10-24 10:46:54 +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 3.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</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>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>112924</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-10-09 17:32:07 +0000</bug_when>
    <thetext>Reported by Martin Honnen on xsl-list:

The first example in http://www.w3.org/TR/xslt-30/#splitting-examples uses no schema as far as I can tell but then tries a comparison with the operators &apos;lt&apos; and &apos;ge&apos; of an attribute node value with an xs:integer:

transactions/transaction[@value lt 0]
transactions/transaction[@value ge 0]

That generates warnings &quot;Comparison of xs:untypedAtomic? to xs:integer will fail unless the first operand is empty&quot; with Saxon 9.6 EE so I think the comparisons need to be written as

transactions/transaction[number(@value) lt 0]
transactions/transaction[number(@value) ge 0]

or

transactions/transaction[xs:decimal(@value) lt 0]
transactions/transaction[xs:decimal(@value) ge 0]

to work as intended or the operators &apos;&lt;&apos; and &apos;&gt;&apos; need to be used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113338</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-10-16 16:54:22 +0000</bug_when>
    <thetext>The WG agreed that this error needs to be fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>