This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Created attachment 1064 [details] HTML5 document demonstrating validation problem for HTML-style boolean attribute specification. "XML does not support attribute minimization" (http://www.w3.org/TR/xhtml1/diffs.html#h-4.5). So it would seem that in polyglot HTML, the attribute specification for a boolean attribute such as autofocus cannot consist of the attribute name alone, even though that would be legal in HTML. The W3C HTML5 validator seems to agree with this assessment (see attachment). But as far as I can tell, the HTML/XHTML Compatibility Authoring Guide does not mention this issue, nor has this been posted as a bug to the guide.
[non editor comment] The polyglot spec details the extra constraints that a document that is well formed xml and valid html needs to satisfy in order that an xml and html parser produce equivalent parse trees. A document with minimised attributes is not well formed XML (ie, is not XML at all) and wouldn't produce any output from an XML parser, thus doesn't meet the preconditions for the conditions described in the polyglot spec.
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: Rejected Rationale: As explained in comment 1, because minimized attributes are not valid XML, they do not play into the polyglot guidelines. Thanks so much for the feedback.