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

Re: Suspected bug in XML 1.0 productions

From: C M Sperberg-McQueen <cmsmcq@uic.edu>
Date: Tue, 2 Mar 1999 11:08:19 -0600
Message-Id: <199903021708.LAA46766@tigger.cc.uic.edu>
To: dsr@w3.org
CC: xml-editor@w3.org, cmsmcq@uic.edu
>Date: Tue, 2 Mar 1999 15:15:59 +0000 (GMT Standard Time)
>From: Dave Raggett <dsr@w3.org>
>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.

I agree that white space should be legal before and after the 
equal-sign in attribute-value specifications.  I believe production
25 achieves this:

   [25] Eq ::= S? '=' S?


-C. M. Sperberg-McQueen
Received on Tuesday, 2 March 1999 12:11:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:39 UTC