Re: [css3-syntax] Null bytes and U+0000

On Wed, Oct 24, 2012 at 8:06 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Tue, Oct 23, 2012 at 5:03 PM, Glenn Adams <glenn@skynav.com> wrote:
> > i'll need to look at the actual language you drafted, but sounds good in
> > general
>
> Just two changes.
>
> The "Preprocessing the input stream" section now reads, in part:
>
> > Before sending the input stream to the tokenizer, implementations
> > must make the following character substitutions:
> >
> > * Replace any U+000D CARRIAGE RETURN (CR) characters or
> > pairs of U+000D CARRIAGE RETURN (CR) followed by U+000A
> > LINE FEED (LF) by a single U+000A LINE FEED (LF) character.
> > * Replace any U+0000 NULL characters with U+FFFD
> > REPLACEMENT CHARACTER (�).
>
> The "Consume an escaped character" section now reads, in part:
>
> > Interpret the hex digits as a hexadecimal number. If this number is
> > zero, or is greater than the maximum allowed codepoint, return
> > U+FFFD REPLACEMENT CHARACTER (�). Otherwise, return
> > the character with that codepoint.


Looks good, and thanks for fixing. I will file a bug and patch for WK to
address this.

Received on Wednesday, 24 October 2012 00:58:24 UTC