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 11:22:11 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OQf4t-0002SW-Fj@jessica.w3.org>

--- Comment #2 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>  2010-06-21 11:22:11 ---
FIRST: My use of "believe" was not meant to indicate that we should base the
spec on belief, on the contrary, I asked for documenation.

SECOND: I will, once again, point out that Appendix C claim was mean to solve a
_text/html_ problem and *not* a XML problem. (If Appendix C _really_ meant that
this particular advice was meant to solve a _XML_ problem, then it didn't
manage to keep its tongue in balance - and that is of course a possibility,
that they did not manage to do keep their tongue in balance.) In my THIRD point
below, I give an example of what Appendix C talks about.

Appendix C: http://www.w3.org/TR/xhtml1/#C_5

C.5. Line Breaks within Attribute Values

Avoid line breaks and multiple white space characters within attribute values.
These are handled inconsistently by user agents.

THIRD: What does you mean by ]]Tabs, line feeds and carriage returns in
attribute values[[ ? Do you mean e.g. class names with multiple spaces and
linebraks between them? Is XML "against" doing this:?

         class="   class1        class2
                         class3 "

as pposed to this: 

         class="class1 class2 class3"

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 11:22:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:51 UTC