<?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>3166</bug_id>
          
          <creation_ts>2006-04-30 21:15:41 +0000</creation_ts>
          <short_desc>fn-iri-to-uri-18 has wrong baseline</short_desc>
          <delta_ts>2006-05-01 19:50:32 +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.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</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="Frans Englich">frans.englich</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9523</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-04-30 21:15:41 +0000</bug_when>
    <thetext>The query for test case fn-iri-to-uri-18 reads:

fn:iri-to-uri(&quot;example&amp;amp;example&quot;)

That is, the function is passed &quot;example&amp;example&quot;, because &quot;&amp;amp;&quot; is decoded   since it&apos;s part of an XQuery xs:string literal.

Further, since &quot;&amp;&quot; are supposed to be encoded, I conclude the correct baseline is &quot;example%26example&quot;. However, the baseline reads:

example%26amp%3Bexample

As I see it, this would have been a correct baseline if the test read fn:iri-to-uri(&quot;example&amp;amp;amp;example&quot;)

Perhaps changing the query to the above is better, since it&apos;s a bit more complex.


Regards,
Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9537</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-05-01 14:52:41 +0000</bug_when>
    <thetext>Frans:

You are correct.  I like your example better, so I change the
query to your suggested one.  Please close the bug if in agreement.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9549</commentid>
    <comment_count>2</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-05-01 19:50:32 +0000</bug_when>
    <thetext>Yes, the resolution is fine. Nice work.


Frans
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>