[Bug 22008] Make it clear that there are syntax differences, add one about id attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22008

--- Comment #5 from Glenn Adams <glenn@skynav.com> ---
(In reply to comment #4)
> (In reply to comment #3)
> 
> > > 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???!
> 
> This is probably not relevant here (few people are interested in SGML,
> especially in the HTML context), but for the record: ISO 8879 clause defines
> “attribute specification list = attribute specification*” (so no separator
> is required or allowed) and “attribute specification = s*, ( name, s*, vi,
> s* )?, attribute value specification”, so whitespace is allowed before an
> attribute name. But it adds later there: “The leading s can only be omitted
> from an attribute specification that follows a delimiter.” My interpretation
> is that although s* denotes optional whitespace, at least one whitespace
> character is really required there, except when the preceding character is a
> delimiter. And the reference delimiter set can be found on p. 360 of the
> SGML Handbook; it includes quotation mark (") and apostrophe ('). Unless I’m
> missing something, other delimiters cannot appear in this context (since an
> attribute value containing them needs to be quoted, by HTML 4.01 rules).

Thanks for going to the trouble of digging that out. I intended to investigate
only to satisfy my curiosity, not that I didn't believe your original
statement.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 11 May 2013 23:15:36 UTC