[Haskell-cafe] [tagsoup] is it the expected behaviour ?
si at fh-wedel.de
Tue May 20 03:11:50 EDT 2008
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:
>  STag ::= '<' Name (S Attribute)* S? '>'
>  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  (http://www.w3.org/TR/xml11/#NT-Eq)
 Eq ::= S? '=' S?
and rule 
 S ::= (#x20 | #x9 | #xD | #xA)+
More information about the Haskell-Cafe