XML spec., grammar rule 7

Names and Tokens 
[4]  NameChar ::=  Letter | Digit | '.' | '-' | '_' | ':' |
CombiningChar | Extender 
[5]  Name ::=  (Letter | '_' | ':') (NameChar)* 
[6]  Names ::=  Name (S Name)* 
[7]  Nmtoken ::=  (NameChar)+ 
[8]  Nmtokens ::=  Nmtoken (S Nmtoken)* 

===============

Grammar rule 7 allows a combining character to be first in an Nmtoken.
Since combining characters apply to the character preceeding it, no
combining character should come first in a substring that is parsed as a
complete string.


===============
New:
[7]  Nmtoken ::=  (Letter | Digit | '.' | '-' | '_' | ':' | Extender)
(NameChar)*

===============

			Kind regards
			/kent k

Received on Monday, 27 July 1998 11:10:03 UTC