[whatwg] Error in 8.2.4.26 After DOCTYPE name state

Edward Z. Yang edwardzyang at thewritingpot.com
Tue Dec 23 10:23:45 PST 2008


In section 8.2.4.26 the spec says:

> If the next six characters are an ASCII case-insensitive match for the
> word "PUBLIC", then consume those characters and switch to the before
> DOCTYPE public identifier state.

The P has already been consumed at the beginning of this section. Thus,
I believe it should read:

If this character and the next five characters are an ASCII
case-insensitive match for the word "PUBLIC", etc.

Same goes for the match for SYSTEM.

Cheers,
Edward



More information about the whatwg mailing list