White space handling in attribute values

///////////////
http://www.w3.org/TR/1999/WD-html-in-xml-19990304/

4.1.7 White space handling in attribute values

XHTML alters the HTML 4.0 rules for the treatment of whitespace in
attribute values. In particular, XHTML strips leading and trailing white
space, and maps sequences of one or more white space characters
(including line breaks) to a single inter-word space (an ASCII space
character for western scripts). See Section 3.3.3 of [XML].
\\\\\\\\\\\\\\\

not so; the same stupid rules for attribute normalization
are in SMGL '86 and hence HTML 4.0

Hmm... the relevant section of HTML 4.0
http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.2
doesn't mention it, but it's implicit by way of
normative reference to SGML. See section 7.9.3 of
the SGML '86 spec.

-- 
Dan Connolly, W3C
http://www.w3.org/People/Connolly/

Received on Friday, 19 March 1999 15:48:51 UTC