[Bug 20766] @lang on <html> seen as invalid if MIME = application/xhtml+xml, preset = HTML5 and parser = XML.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20766

--- Comment #3 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
(1) A validation counterexample: http://tinyurl.com/bfwfjwf

    In the counter example (1), then
  * @lang has been deleted (actually: replaced with @data-lang)
  * <noscript> (which is invalid in XHTML5) has been added.
  # Result: It validates. 
  # The fact that <noscript> is accepted means (despite the weird
    non-acceptance of the @lang attribute) that it is the 
    HTML-conformance rules that are active, despite the XML parser.

(2) A counter-counterexample: http://tinyurl.com/akwuz2r

    In the counter-counterexample (2), then
  * Same code as in (1) is used, EXCEPT ...
  * … EXCEPT that there is an non-well-formed <hr>
  # Result: It doesn't validate due to the non-closed <hr>
  # The fact that it doesn't validate despite using a HTML5 preset
    is because it nevertheless is the XML parser that is used.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 25 January 2013 02:43:59 UTC