W3C home > Mailing lists > Public > www-smil@w3.org > January to March 2006

Re: SMIL21: Id-value incorrect

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 09 Jan 2006 16:57:00 +0100
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-smil@w3.org
Message-ID: <7o15s15pkeso8b1ddefa216sltgke8frdg@hive.bjoern.hoehrmann.de>

* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:37:37 GMT