This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Note the missing whitespace after SYSTEM
This is intentional, because the parser doesn't require a space there (nor between the FPI and SI). It's not an error in SGML, unless I'm mistaken. If you want the parser to signal an error for missing spaces, then reopen. It would result in a few more states to the tokenizer.
It's an error in XML, as far as I can tell. The purpose of the legacy doctype is to allow specific serializers to produce conformant HTML5, so it's beyond me why we would want to allow that variation. Unless you have evidence of producers that require this.
In particular, it contradicts: "In other words, <!DOCTYPE HTML SYSTEM "about:legacy-compat"> or <!DOCTYPE HTML SYSTEM 'about:legacy-compat'>, case-insensitively except for the bit in quotes."
Personally, I think the spaces should be required, because it looks ugly without them. The space between "<!doctype" and "html" is required because it looks ugly without it.
This resulted in three new tokeniser states. What a waste of the world's resources.
Checked in as WHATWG revision r4051. Check-in comment: Report parse error for missing spaces in DOCTYPEs. http://html5.org/tools/web-apps-tracker?from=4050&to=4051
Checked in as WHATWG revision r4052. Check-in comment: Authoring-side change for the previous checkin. http://html5.org/tools/web-apps-tracker?from=4051&to=4052
That's not sufficient reason for a RFC2119-level requirement.
As far as I can tell I did exactly what you asked for here. Maybe you reopened the wrong bug?
Indeed.
This bug predates the HTML Working Group Decision Policy. If you are satisfied with the resolution of this bug, 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 This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.