<?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>4646</bug_id>
          
          <creation_ts>2007-06-13 18:35:12 +0000</creation_ts>
          <short_desc>K2-DirectConOther-59</short_desc>
          <delta_ts>2007-06-14 17:23: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 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="Andrew Eisenberg">andrew.eisenberg</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>15426</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2007-06-13 18:35:12 +0000</bug_when>
    <thetext>The query for this test case is:

&lt;elem attr=&apos;
                            
                    
                    
                    

                 &apos;/&gt;

The expected result has an attribute value of:

&lt;elem attr=&quot; &quot;/&gt;

I believe that it should be:

&lt;elem attr=&quot;                                                                                                               &quot;/&gt;

In case it does not display correctly, this attribute contains 111 space characters.


In 3.7.1.1 Attributes, bullet 1 says:

&quot;Each consecutive sequence of literal characters in the attribute content is treated as a string containing those characters. Attribute value normalization is then applied to normalize whitespace and expand character references and predefined entity references. ... In either case, the normalization rules are applied as though the type of the attribute were CDATA (leading and trailing whitespace characters are not stripped.) ...&quot;


XML, section 3.3.3 Attribute-Value Normalization says:

&quot;If the attribute type is not CDATA, then the XML processor MUST further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by a single space (#x20) character.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15434</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2007-06-14 10:10:07 +0000</bug_when>
    <thetext>A fix has been attempted in CVS, XQTS_current.zip is updated.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>