Re: W3C HTML validator is broken

David Dorward wrote:

 >  > 110 dashes OK,
 >
 > 54 empty comments, followed by a comment start, followed by the text
 > "A comment" followed by a comment end, followed by 54 empty comments.
 >
 > This should be fine.
 >
 >  > 120 bad
 >
 > 60 empty comments, followed by the text "A comment" outside of any
 > comment, followed by 60 empty comments.
 >
 > This should throw an error.

David Håsäther wrote:

 > That's because after 110 dashes you are inside the comment.
 > If you try to include text after 120 dashes, you are outside the
 > comment, and character data cannot appear inside a comment _declaration_.
 >
 > --
 > David Håsäther
 >

Confused.  Are we now saying that n mod 4 is what is significant,
not n mod 2 ?

** Phil.

Received on Thursday, 25 January 2007 14:31:32 UTC