This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8019 - <!DOCTYPE html PUBLICa> throws two parse errors.
Summary: <!DOCTYPE html PUBLICa> throws two parse errors.
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 09:37 UTC by Geoffrey Sneddon
Modified: 2010-10-04 13:55 UTC (History)
4 users (show)

See Also:


Attachments

Description Geoffrey Sneddon 2009-10-23 09:37:55 UTC
<!DOCTYPE html PUBLICa> throws two parse errors at the "a", and, similarly, <!DOCTYPE html SYSTEMa> throws two parse errors at the "a".

To fix this:

Firstly, add a case for U+0022 and U+0027 in after DOCTYPE public/system keyword states, which says: "Parse error. Reconsume the current character in the before DOCTYPE public/system identifier state."

Secondly, remove the "Parse error." from the Anything else case in both the after DOCTYPE public/system keyword states.
Comment 1 Ian 'Hixie' Hickson 2009-10-24 22:22:31 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments, though with a slightly different fix.
Comment 2 contributor 2009-10-24 22:25:28 UTC
Checked in as WHATWG revision r4311.
Check-in comment: Make <!DOCTYPE html PUBLICa> one parse error, not two.
http://html5.org/tools/web-apps-tracker?from=4310&to=4311