[Bug 11523] New: xhtml namespace declarations on html nested within in foreign content

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11523

           Summary: xhtml namespace declarations on html nested within in
                    foreign content
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: davidc@nag.co.uk
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


5.1 Element-Level Namespaces
says that the only namespace declarations used should be on <html> <svg> and
<math> but the xhtml namespace must be declared on any html elements used as
children of svg or mathml elements.

so

<math xmlns=".....">.....<mtext>...<b xmlns="http..xhtml">zzz</b>...</mtext>...

otherwise the html parser will put the <b> in the xhtml namespace (and it will
work) and the xml parser will put <b> in the mathml namespace (and it won't
work)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 10 December 2010 12:58:14 UTC