W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 1999

White space handling in attribute values

From: Dan Connolly <connolly@w3.org>
Date: Fri, 19 Mar 1999 14:49:50 -0600
Message-ID: <36F2B86E.428B@w3.org>
To: www-html-editor@w3.org
///////////////
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:44 GMT