Re: [css3-syntax] "bad" tokens (was: Reviving the spec, starting with the parser)

Hi,

CSS21 defines BAD_STRING, BAD_URI and BAD_COMMENT tokens in terms of 
regular expressions, but they are not mentioned anywhere else. All I 
could do was reverse-engineer the regular expression and guess how these 
tokens could happen, what was their purpose, and what to do with them.

This draft got rid of BAD_STRING and BAD_COMMENT (which is good), but 
BAD_URI remains (renamed).

I suppose this will be in the part of the spec that is not written yet, 
but what should a parser do with a bad-url token?

Regards,
-- 
Simon Sapin

Received on Monday, 16 April 2012 12:30:06 UTC