<?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>9971</bug_id>
          
          <creation_ts>2010-06-21 08:03:26 +0000</creation_ts>
          <short_desc>The XLink namespace is suggested to be declared on &lt;html&gt;</short_desc>
          <delta_ts>2010-10-05 13:07:38 +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>pre-LC1 HTML/XHTML Compat. Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html#namespaces</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="Henri Sivonen">hsivonen</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>36292</commentid>
    <comment_count>0</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2010-06-21 08:03:26 +0000</bug_when>
    <thetext>&quot;The xlink prefix is defined as xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;  before using xlink:href. The prefix can be defined either:

    * Once on the root &lt;html&gt; element.
    * Once on each &lt;svg&gt; element that contains one or more elements with xlink:href attributes.&quot;

Please remove &quot;Once on the root &lt;html&gt; element.&quot; and say instead that the XLink namespace must be declared on the SVG or MathML element using an attribute in the xlink namespace or on any of its SVG or MathML ancestors.

Having an attribute xmlns:link on an HTML element is an error in text/html and parses into a no-namespace attribute--not into a namespace declaration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36742</commentid>
    <comment_count>1</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-07-10 00:09:21 +0000</bug_when>
    <thetext>Edited spec per these requests. The Namespaces section now reads:

 The following rules apply to namespaces used in polyglot markup.

    * The &lt;html&gt; element uses the namespace declaration xmlns=&quot;http://www.w3.org/1999/xhtml&quot;.
    * All &lt;math&gt; elements uses the namespace declaration xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;.
    * All &lt;svg&gt; elements uses the namespace declaration xmlns=&quot;http://www.w3.org/2000/svg&quot;.
    * The xlink prefix is defined as xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; before using xlink:href. The prefix must be declared on an SVG or MathML element by using an attribute in the xlink namespace or on any of its SVG or MathML ancestors.
    * No other elements should have namespace declarations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36743</commentid>
    <comment_count>2</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-07-10 00:09:42 +0000</bug_when>
    <thetext>Thanks for the feedback!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>