<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11523</bug_id>
          
          <creation_ts>2010-12-10 12:58:11 +0000</creation_ts>
          <short_desc>xhtml namespace declarations on html nested within in foreign content</short_desc>
          <delta_ts>2011-08-04 05:07:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML/XHTML Compatibility Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Carlisle">davidc</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43246</commentid>
    <comment_count>0</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2010-12-10 12:58:11 +0000</bug_when>
    <thetext>5.1 Element-Level Namespaces
says that the only namespace declarations used should be on &lt;html&gt; &lt;svg&gt; and &lt;math&gt; but the xhtml namespace must be declared on any html elements used as children of svg or mathml elements.

so

&lt;math xmlns=&quot;.....&quot;&gt;.....&lt;mtext&gt;...&lt;b xmlns=&quot;http..xhtml&quot;&gt;zzz&lt;/b&gt;...&lt;/mtext&gt;...

otherwise the html parser will put the &lt;b&gt; in the xhtml namespace (and it will work) and the xml parser will put &lt;b&gt; in the mathml namespace (and it won&apos;t work)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43645</commentid>
    <comment_count>1</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-12-29 19:40:00 +0000</bug_when>
    <thetext>Section 5.1 has been rewritten to include this paragraph:

Polyglot markup declares the default namespaces on the root HTML element &lt;html&gt;, the root SVG element &lt;svg&gt;, and the root MathML element &lt;math&gt;, and on any HTML elements used as children of SVG or MathML elements. Polyglot markup does not declare any other default or prefixed element namespace, because [HTML5] does not natively support the declaring of any other default or prefixed element namespace. 


I believe that this satisfies the request of this bug.

Thanks for you continued feedback.

Eliot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53119</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:06:51 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53168</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:07:16 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>