
20 May
2008
20 May
'08
7:11 a.m.
Ketil Malde wrote:
I don't think that is legal XML. The definitions of STag and Attribute from http://www.w3.org/TR/xml11/#NT-STag are:
[40] STag ::= '<' Name (S Attribute)* S? '>' [41] Attribute ::= Name Eq AttValue
And 'S' represents one or more whitespace characters, so it seems clear that they are not allowed between Name, Eq, and AttValue.
indeed it's legal because of rule [25] (http://www.w3.org/TR/xml11/#NT-Eq) [25] Eq ::= S? '=' S? and rule [3] [3] S ::= (#x20 | #x9 | #xD | #xA)+ Cheers, Uwe