Re: Suspected bug in XML 1.0 productions

>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?

best,

-C. M. Sperberg-McQueen

Received on Tuesday, 2 March 1999 12:11:33 UTC