[Bug 20766] New: "Be lax about content-type" makes @lang on <html> seen as invalid for application/xhtml+xml

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

            Bug ID: 20766
           Summary: "Be lax about content-type" makes @lang on <html> seen
                    as invalid for application/xhtml+xml
    Classification: Unclassified
           Product: Validator (Nu)
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
          Assignee: mike+validator@w3.org
          Reporter: xn--mlform-iua@xn--mlform-iua.no
        QA Contact: www-validator-cvs@w3.org

Created attachment 1318
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1318&action=edit
Screenshot of valdiation result.

Steps to repeat:

1. Locate a page of the following characteristics:
   a. has XHTML5 markup.
   b. has both lang="foo" and xml:lang="foo" on root element
   c. has Content-Type set to application/xhtml+xml
   d. is served via HTTP or via data URI
2. Check the "Be lax about content-type" option.
2. Validated the page: http://tinyurl.com/adme4qz

(NOTE: The page is parsed as XML.)

Expected result: The lang attribute should be seen as valid.

  Actual result: Validator complains that lang is invalid.

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

Received on Friday, 25 January 2013 01:21:53 UTC