CSS3 syntax

I have been implementing a CSS3 parser, and I have noted what is
probably a minor mistake in the CSS3 syntax document:
http://www.w3.org/TR/2003/WD-css3-syntax-20030813/
In section 4.2. Tokenization

urlchar 	::= 	[#x9#x21#x23-#x26#x27-#x7E] | nonascii | escape

stringchar 	::= 	urlchar | #x20 | '\' nl

string 	::= 	'"' (stringchar | "'")* '"' | "'" (stringchar | '"')* "'"

The point where I note a potential problem is with #x27 being in the
urlchar accepted character range, which creates a problem in
single-quoted strings where the terminating single-quote will be read
as a part of the string.

-- 
http://greatred.pengus.net/
MSN: greatred@gmail.com
Skype: greatred1980
Jabber: greatred@gmail.com, greatred@jabber.org
Yahoo: greatred
ICQ: 3625931
AIM: greatred1980
"Look to windward"

Received on Saturday, 19 August 2006 20:09:09 UTC