<?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>3601</bug_id>
          
          <creation_ts>2006-08-15 15:42:28 +0000</creation_ts>
          <short_desc>K-ReplaceFunc-6, K-ReplaceFunc-8 and K-ReplaceFunc-9 don&apos;t require the replacement pattern to be evaluated</short_desc>
          <delta_ts>2006-08-16 12:43:11 +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>0.9.4</version>
          <rep_platform>Macintosh</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="Martin Probst">martin</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</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>11124</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Probst">martin</who>
    <bug_when>2006-08-15 15:42:28 +0000</bug_when>
    <thetext>K-ReplaceFunc-6, K-ReplaceFunc-8, K-ReplaceFunc-9 expect errors because of illegal replacement patterns:
&gt; replace(&quot;input&quot;, &quot;pattern&quot;, &quot;thisIsInvalid\ &quot;)

However the implementation does not need to evaluate the replacement pattern to evaluate the query because the input doesn&apos;t match the pattern, so it&apos;s free not to give an error but rather return the empty sequence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11129</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-08-15 19:38:39 +0000</bug_when>
    <thetext>A fix is attempted in CVS, feel free to change status to CLOSED if it is
satisfactory.

XQTS_current.zip is updated. At this point I do not know whether this fix will
make it into XQTS 1.0.

The queries were changed to make the patterns match.

Thanks for the report.


Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11142</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Probst">martin</who>
    <bug_when>2006-08-16 12:43:11 +0000</bug_when>
    <thetext>It&apos;s fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>