<?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>11261</bug_id>
          
          <creation_ts>2010-11-08 11:47:37 +0000</creation_ts>
          <short_desc>Bogus reference to CDATA attributes</short_desc>
          <delta_ts>2011-08-04 05:07:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML/XHTML Compatibility Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</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="James Clark">jjc</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42260</commentid>
    <comment_count>0</comment_count>
    <who name="James Clark">jjc</who>
    <bug_when>2010-11-08 11:47:37 +0000</bug_when>
    <thetext>http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html#attributes

says

&quot;polyglot markup does not contain tabs, line feeds, or carriage returns within CDATA attributes&quot;

I am not sure what is meant by &quot;CDATA attributes&quot; here. HTML5 doesn&apos;t seem to have any such concept, and for XHTML it is DTD-dependent.

My understanding is that the HTML5 DOM contains the unnormalized attribute value of all attributes. Thus this should say &quot;attribute values&quot; not &quot;CDATA attributes&quot;.  However, this does not make clear whether you are talking about the DOM or the characters of the XML document.

How about &quot;tabs, line feeds and carriage returns in attribute values MUST be represented by numeric character references and not by literal characters&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43199</commentid>
    <comment_count>1</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-12-09 00:37:16 +0000</bug_when>
    <thetext>Hi James.

If I change the opening of the &quot;attributes&quot; section to the following, will it speak to your concerns?

Within a CDATA section, polyglot markup represents tabs, line feeds, and carriage returns as numeric character references rather than by using literal characters. For example, within a CDATA section, polyglot markup uses &amp;#x9; for a tab rather than the literal character &apos;\t&apos;. This is because of attribute-value normalization in XML [XML10]. 

Thanks for your feedback and patience.

Eliot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43201</commentid>
    <comment_count>2</comment_count>
    <who name="James Clark">jjc</who>
    <bug_when>2010-12-09 01:59:04 +0000</bug_when>
    <thetext>No, that would make no sense at all. This is about attributes not CDATA sections.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43209</commentid>
    <comment_count>3</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-12-09 16:06:59 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; No, that would make no sense at all. This is about attributes not CDATA
&gt; sections.

ACK. That&apos;s what I get for trying to get too much done yesterday.

Will this work for you?

Within an attribute&apos;s value, polyglot markup represents tabs, line feeds, and
carriage returns as numeric character references rather than by using literal
characters. For example, within an attribute&apos;s value, polyglot markup uses &amp;#x9; for a tab rather than the literal character &apos;\t&apos;. This is because of
attribute-value normalization in XML [XML10]. 


&lt;/ excruciating-embarassment&gt;

Thanks.

E</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43222</commentid>
    <comment_count>4</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-12-09 19:49:03 +0000</bug_when>
    <thetext>The following text is now in the Editor&apos;s Draft of the spec:

Within an attribute&apos;s value, polyglot markup represents tabs, line feeds, and carriage returns as numeric character references rather than by using literal characters. For example, within an attribute&apos;s value, polyglot markup uses &amp;#x9; for a tab rather than the literal character &apos;\t&apos;. This is because of attribute-value normalization in XML [XML10]. 

Thanks for your help.

Eliot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53153</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:07:08 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53195</commentid>
    <comment_count>6</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:07:31 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>