W3C home > Mailing lists > Public > xml-editor@w3.org > January to March 1999

Suspected bug in XML 1.0 productions

From: Dave Raggett <dsr@w3.org>
Date: Tue, 2 Mar 1999 15:15:59 +0000 (GMT Standard Time)
To: xml-editor@w3.org
Message-ID: <Pine.WNT.4.10.9903021509440.-360929@hazel.hpl.hp.com>

I note that the XML 1.0 spec as written doesn't permit whitespace
before or after the = sign in attributes, see rules 41, 10 and 5.
My belief is that rule 41 should be:

  [41] Attribute ::= Name S Eq S AttValue

The ability to include whitespace makes it easier to format XML
documents for easier editing. Long attribute names and values
otherwise disappear off the right of the editing window. Note
that SGML allows whitepace in these positions.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Tuesday, 2 March 1999 10:14:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:29 GMT