Re: SMIL21: Id-value incorrect

Bjoern Hoehrmann <[email protected]>
Newsgroups gmane.comp.web.smil
Message-ID <[email protected]>
* 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:[email protected] · 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.