W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2008

[Bug 5863] New: Tokeniser: "Bogus comment" state unclear

From: <bugzilla@wiggum.w3.org>
Date: Sun, 13 Jul 2008 16:33:43 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-5863-2486@http.www.w3.org/Bugs/Public/>


           Summary: Tokeniser: "Bogus comment" state unclear
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://www.whatwg.org/specs/web-apps/current-
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: bugmail@entai.co.uk
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org

The spec says:

"Consume every character up to the first U+003E GREATER-THAN SIGN character (>)
or the end of the file (EOF), whichever comes first. Emit a comment token whose
data is the concatenation of all the characters starting from and including the
character that caused the state machine to switch into the bogus comment state,
up to and including the last consumed character before the U+003E character, if
any, or up to the end of the file otherwise. (If the comment was started by the
end of the file (EOF), the token is empty.)"

It would be clearer if the first sentence specified "Consume every character up
to *and including* the first ...".

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 13 July 2008 16:34:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:00:45 UTC