- From: Jeff Jackson <jackson@mathcs.duq.edu>
- Date: Tue, 30 Sep 2003 17:14:23 -0400
- To: www-html-editor@w3.org
Hi,
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
<http://www.w3.org/TR/xhtml1/#ref-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