<?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>5394</bug_id>
          
          <creation_ts>2008-01-18 13:43:18 +0000</creation_ts>
          <short_desc>CVS: fn-doc-32</short_desc>
          <delta_ts>2008-04-28 13:34:14 +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>PC</rep_platform>
          <op_sys>Windows NT</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="Tim Mills">tim</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>18419</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-01-18 13:43:18 +0000</bug_when>
    <thetext>The expected result of fn-doc-32 should be compared as a fragment, not as XML.

(: Name: fn-doc-32 :)
(: Description: Open an XML document that has ISO-8859-1 as encoding. :)

(: insert-start :)
declare variable $input-context as xs:anyURI? external;
(: insert-end :)

string(fn:doc($input-context)),
string(exactly-one(fn:doc($input-context)/*))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18435</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-01-21 13:29:48 +0000</bug_when>
    <thetext>This should be fixed in CVS, do feel free to verify.


Frans
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18441</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-01-21 17:39:49 +0000</bug_when>
    <thetext>The expected result is:

Everyday Italian Giada De Laurentiis Everyday Italian Giada De Laurentiis

but we get

&amp;#xA;  Everyday Italian&amp;#xA;  Giada De Laurentiis&amp;#xA; [[ CR here for readabilyt ]]
&amp;#xA;  Everyday Italian&amp;#xA;  Giada De Laurentiis&amp;#xA;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19234</commentid>
    <comment_count>3</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-02-29 16:00:36 +0000</bug_when>
    <thetext>I&apos;ve updated the baseline, but I&apos;m a bit uncertain on if I got it right(at this point). So feel free to verify and close if suitable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19260</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-03-03 16:02:05 +0000</bug_when>
    <thetext>The input file is:

0000000   &lt;   ?   x   m   l       v   e   r   s   i   o   n   =   &quot;   1
0000020   .   0   &quot;       e   n   c   o   d   i   n   g   =   &quot;   I   S
0000040   O   -   8   8   5   9   -   1   &quot;   ?   &gt;  \r  \r  \n   &lt;   b
0000060   o   o   k   s   t   o   r   e   &gt;  \r  \r  \n           &lt;   t
0000100   i   t   l   e       l   a   n   g   =   &quot;   e   n   &quot;   &gt;   E
0000120   v   e   r   y   d   a   y       I   t   a   l   i   a   n   &lt;
0000140   /   t   i   t   l   e   &gt;  \r  \r  \n           &lt;   a   u   t
0000160   h   o   r   &gt;   G   i   a   d   a       D   e       L   a   u
0000200   r   e   n   t   i   i   s   &lt;   /   a   u   t   h   o   r   &gt;
0000220  \r  \r  \n   &lt;   /   b   o   o   k   s   t   o   r   e   &gt;  \r
0000240  \r  \n

The character sequence \r\r\n should normalize to \n\n, so the expected result should be:

&quot;&lt;doc&gt;\n\n  Everyday Italian\n\n  Giada De Laurentiis\n\n \n\n  Everyday Italian\n\n  Giada De Laurentiis\n\n&lt;/doc&gt;&quot; 

rather than 

&quot;&lt;doc&gt;\n  Everyday Italian\n  Giada De Laurentiis\n \n  Everyday Italian\n  Giada De Laurentiis\n&lt;/doc&gt;&quot;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19962</commentid>
    <comment_count>5</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-04-28 12:04:40 +0000</bug_when>
    <thetext>It seems this has been fixed now. Or at least, my suite driver passes the test on both Windows XP and Linux.

Here&apos;s what was the problem. The actual baseline file was correct; it was CVS that modified the EOLs when checking the files out on Windows. I added a new file with the binary keyword set(setting it on the existing one didn&apos;t work out).

Feel free to verify.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19968</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-04-28 13:34:14 +0000</bug_when>
    <thetext>Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>