- From: <bugzilla@jessica.w3.org>
- Date: Sat, 11 May 2013 22:38:55 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22008 --- Comment #4 from Jukka K. Korpela <jukka.k.korpela@kolumbus.fi> --- (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). -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Saturday, 11 May 2013 22:38:56 UTC