Re: SMIL21: Id-value incorrect

* Bjoern Hoehrmann wrote:
>This seems wrong, the \ should be escaped and per this grammar, only a
>leading '.' or other character can be escaped, while the intent seems to
>be that any character can be escaped. The idea is that without escaping
>or after removing the escapes the result is a Nmtoken which is NameChar+
>so it seems this should be
>
>  Id-value                   ::= (NameChar | EscapedNameChar)+
>  EscapedNameChar            ::= '\\' NameChar
>
>or something along these lines.

Or maybe

  Id-value ::= ('\\'? NameStartChar) ('\\'? NameChar)*

Allowing any NameChar would otherwise allow e.g. "10" to match the
Id-value which is probably not intended.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Monday, 9 January 2006 15:56:34 UTC