W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 9965] White space in attributes - please justify why multiple spaces/linebreaks are problematic - or delete this requirement

From: <bugzilla@jessica.w3.org>
Date: Mon, 21 Jun 2010 14:42:31 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OQiCl-0002eI-JJ@jessica.w3.org>

--- Comment #5 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>  2010-06-21 14:42:31 ---
(In reply to comment #4)

> > At least every second of consecutive spaces in
> > attribute values must be encoded as numeric character references (so that there
> > are no consecutive literal spaces in attribute values). This is because XML
> > parsing doesn't preserve unescaped tabs, line feeds, carriage returns or
> > consecutive spaces in attribute values.
> When I consulted Dragonfly, Firebug and Webinspector, then spaces *were* taken
> care of in both XML and text/HTML. So what is this claim based on?

Just to be clear: _multiple_ consequive spaces are taken care of in XML,
according to the DOM inspectors I have consulted.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 21 June 2010 14:42:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 21 June 2010 14:42:38 GMT