W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2003

Ambiguity in section 4.7 of XHTML 1.0 (2nd ed)

From: Jeff Jackson <jackson@mathcs.duq.edu>
Date: Tue, 30 Sep 2003 17:14:23 -0400
Message-ID: <3F79F22F.20102@mathcs.duq.edu>
To: www-html-editor@w3.org


Section 4.7 of the XHTML 1.0 spec (2e) says this:

    4.7. White Space handling in attribute values

When user agents process attributes, they do so according to Section 
3.3.3 <http://www.w3.org/TR/REC-xml#AVNormalize> of [XML 

    * Strip leading and trailing white space.
    * Map sequences of one or more white space characters (including
      line breaks) to a single inter-word space.

This seems to be ambiguous, since the XML reference specifies different 
treatment for CDATA attributes than is specified in the bullets of 
Section 4.7 above.  Thought you might be interested.

Jeff Jackson

PS For what it's worth, Mozilla 1.4 seems to have followed the XML spec 
regarding white space in CDATA attribute values.
Received on Wednesday, 1 October 2003 16:58:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:51 UTC