Attempt to clarify the definition of the qualified name of an Attr object
authorMs2ger <ms2ger@gmail.com>
Fri, 27 May 2011 14:21:18 +0200
changeset 5232af213844d36
parent 519 476041f61d77
child 524 a5c3e0152f26
Attempt to clarify the definition of the qualified name of an Attr object
Overview.html
Overview.src.html
     1.1 --- a/Overview.html	Tue May 24 09:13:20 2011 +0200
     1.2 +++ b/Overview.html	Fri May 27 14:21:18 2011 +0200
     1.3 @@ -48,7 +48,7 @@
     1.4  <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
     1.5  <!--end-logo-->
     1.6   <h1>DOM Core</h1>
     1.7 - <h2 class="no-num no-toc" id="editor-s-draft-24-may-2011">Editor's Draft 24 May 2011</h2>
     1.8 + <h2 class="no-num no-toc" id="editor-s-draft-27-may-2011">Editor's Draft 27 May 2011</h2>
     1.9  
    1.10   <dl>
    1.11    <dt>This Version:
    1.12 @@ -90,7 +90,7 @@
    1.13  the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at
    1.14  http://www.w3.org/TR/.</i>
    1.15  
    1.16 -<p>This is the 24 May 2011 Editor's Draft of DOM Core. Please send
    1.17 +<p>This is the 27 May 2011 Editor's Draft of DOM Core. Please send
    1.18  comments to
    1.19  <a href="mailto:www-dom@w3.org?subject=%5BDOMCore%5D%20">www-dom@w3.org</a>
    1.20  (<a href="http://lists.w3.org/Archives/Public/www-dom/">archived</a>)
    1.21 @@ -2955,7 +2955,20 @@
    1.22  
    1.23  <p>Just like <a href="#concept-element" title="concept-element">elements</a>, <code><a href="#attr">Attr</a></code> objects have an associated <dfn id="concept-attr-namespace" title="concept-attr-namespace">namespace</dfn>, <dfn id="concept-attr-namespace-prefix" title="concept-attr-namespace-prefix">namespace prefix</dfn>, <dfn id="concept-attr-local-name" title="concept-attr-local-name">local name</dfn>, and <dfn id="concept-attr-qualified-name" title="concept-attr-qualified-name">qualified name</dfn>.
    1.24  
    1.25 -<p>When an <code><a href="#attr">Attr</a></code> object is created its <a href="#concept-attr-local-name" title="concept-attr-local-name">local name</a> is always given. Unless explicitly given when an <code><a href="#attr">Attr</a></code> object is created, its <a href="#concept-attr-namespace" title="concept-attr-namespace">namespace</a> and <a href="#concept-attr-namespace-prefix" title="concept-attr-namespace-prefix">namespace prefix</a> are null and its <a href="#concept-attr-qualified-name" title="concept-attr-qualified-name">qualified name</a> is its <a href="#concept-attr-namespace-prefix" title="concept-attr-namespace-prefix">namespace prefix</a>, followed by a "<code>:</code>" (U+003A), followed by its <a href="#concept-attr-local-name" title="concept-attr-local-name">local name</a>, if its <a href="#concept-attr-namespace-prefix" title="concept-attr-namespace-prefix">namespace prefix</a> is not null, or otherwise <a href="#concept-attr-qualified-name" title="concept-attr-qualified-name">qualified name</a> is just its <a href="#concept-attr-local-name" title="concept-attr-local-name">local name</a>.
    1.26 +<p>When an <code><a href="#attr">Attr</a></code> object is created, its
    1.27 +<a href="#concept-attr-local-name" title="concept-attr-local-name">local name</a> is always given. Unless
    1.28 +explicitly given when an <code><a href="#attr">Attr</a></code> object is created, its
    1.29 +<a href="#concept-attr-namespace" title="concept-attr-namespace">namespace</a> and
    1.30 +<a href="#concept-attr-namespace-prefix" title="concept-attr-namespace-prefix">namespace prefix</a> are null.
    1.31 +
    1.32 +<p>If an <code><a href="#attr">Attr</a></code>'s
    1.33 +<a href="#concept-attr-namespace-prefix" title="concept-attr-namespace-prefix">namespace prefix</a> is not null,
    1.34 +its <a href="#concept-attr-qualified-name" title="concept-attr-qualified-name">qualified name</a> is defined as
    1.35 +its <a href="#concept-attr-namespace-prefix" title="concept-attr-namespace-prefix">namespace prefix</a>, followed
    1.36 +by a "<code>:</code>" (U+003A), followed by its
    1.37 +<a href="#concept-attr-local-name" title="concept-attr-local-name">local name</a>. Otherwise, its
    1.38 +<a href="#concept-attr-qualified-name" title="concept-attr-qualified-name">qualified name</a> is defined as its
    1.39 +<a href="#concept-attr-local-name" title="concept-attr-local-name">local name</a>.
    1.40  
    1.41  <p><code><a href="#attr">Attr</a></code> objects also have an associated
    1.42  <dfn id="concept-attr-value" title="concept-attr-value">value</dfn>, which is always given when an
     2.1 --- a/Overview.src.html	Tue May 24 09:13:20 2011 +0200
     2.2 +++ b/Overview.src.html	Fri May 27 14:21:18 2011 +0200
     2.3 @@ -2959,7 +2959,20 @@
     2.4  
     2.5  <p>Just like <span title=concept-element>elements</span>, <code>Attr</code> objects have an associated <dfn title=concept-attr-namespace>namespace</dfn>, <dfn title=concept-attr-namespace-prefix>namespace prefix</dfn>, <dfn title=concept-attr-local-name>local name</dfn>, and <dfn title=concept-attr-qualified-name>qualified name</dfn>.
     2.6  
     2.7 -<p>When an <code>Attr</code> object is created its <span title=concept-attr-local-name>local name</span> is always given. Unless explicitly given when an <code>Attr</code> object is created, its <span title=concept-attr-namespace>namespace</span> and <span title=concept-attr-namespace-prefix>namespace prefix</span> are null and its <span title=concept-attr-qualified-name>qualified name</span> is its <span title=concept-attr-namespace-prefix>namespace prefix</span>, followed by a "<code>:</code>" (U+003A), followed by its <span title=concept-attr-local-name>local name</span>, if its <span title=concept-attr-namespace-prefix>namespace prefix</span> is not null, or otherwise <span title=concept-attr-qualified-name>qualified name</span> is just its <span title=concept-attr-local-name>local name</span>.
     2.8 +<p>When an <code>Attr</code> object is created, its
     2.9 +<span title=concept-attr-local-name>local name</span> is always given. Unless
    2.10 +explicitly given when an <code>Attr</code> object is created, its
    2.11 +<span title=concept-attr-namespace>namespace</span> and
    2.12 +<span title=concept-attr-namespace-prefix>namespace prefix</span> are null.
    2.13 +
    2.14 +<p>If an <code>Attr</code>'s
    2.15 +<span title=concept-attr-namespace-prefix>namespace prefix</span> is not null,
    2.16 +its <span title=concept-attr-qualified-name>qualified name</span> is defined as
    2.17 +its <span title=concept-attr-namespace-prefix>namespace prefix</span>, followed
    2.18 +by a "<code>:</code>" (U+003A), followed by its
    2.19 +<span title=concept-attr-local-name>local name</span>. Otherwise, its
    2.20 +<span title=concept-attr-qualified-name>qualified name</span> is defined as its
    2.21 +<span title=concept-attr-local-name>local name</span>.
    2.22  
    2.23  <p><code>Attr</code> objects also have an associated
    2.24  <dfn title=concept-attr-value>value</dfn>, which is always given when an