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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5863

           Summary: Tokeniser: "Bogus comment" state unclear
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://www.whatwg.org/specs/web-apps/current-
                    work/#character5
        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