- From: <bugzilla@jessica.w3.org>
- Date: Sat, 11 May 2013 22:09:33 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22008 --- Comment #3 from Glenn Adams <glenn@skynav.com> --- (In reply to comment #2) > (In reply to comment #1) > > > Could you give an example of valid attributes in HTML 4.01 not separated by > > at least one whitespace character? > > <p class="foo"id="bar"> > > > Clearly this wouldn't work in the case of unquoted or valueless attributes, > > but even in the case of quoted value attributes, whitespace separation is > > required by [1]: > > > > "Any number of (legal) attribute value pairs, separated by spaces, may > > appear in an element's start tag." > > This is one of the cases where HTML 4.01 does not paint an accurate picture > of SGML. That text is not normative; the normative reference is to SGML. And > while the SGML standard is exceptionally vague in this issue, it seems to > mean that a space is not needed after a delimiter. Hmm, I didn't know that. Or if I did, I had forgotten it. Now I'm going to have to chase down my copy of ISO-8879 for the first time in about 20 years. Charles Goldfarb, what were you thinking???! > And that's how the W3C > validator works, and so do browsers. But HTML5 sets a different rule – an > improvement, I would say, since <p class="foo"id="bar"> is mildly confusing. > > The most important thing is that there is a change from HTML 4.01, and > existing documents may become invalid. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Saturday, 11 May 2013 22:09:34 UTC