<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><section><h1>Specification</h1><p><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">manakai//DOM Extensions</anchor> &gt; 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM XML Document Type Definition</anchor> module &gt; 
The <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> interface</p><section><h1>Modifications to <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Node</anchor></code> members</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> The getter of the <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">attributes</anchor></code> attribute
of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> return <code class="IDL" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">null</anchor></code>.</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="9" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[9]</anchor-end> The getter of the <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">baseURI</anchor></code> attribute
of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> return the <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">baseURI</anchor></code>
of the <CDOE xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:" class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ownerDocument</anchor></CDOE> of the
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object.
Note that it might be <code class="IDL" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">null</anchor></code>.</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> The getter of the <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">nodeName</anchor></code> attribute
of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> return the name of the attribute.</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> The getter of the <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">nodeValue</anchor></code> attribute
of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> return the normalized default value
of the attribute.</p><ed xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:"></ed><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> The getter of the <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">textContent</anchor></code>
attribute of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> 
object <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> behave as if it were an
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Attr</anchor></code> object.</p><p>The setter of the <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">textContent</anchor></code> attribute
of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> behave as if the following algorithm
is performed:<ol><li>If the <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code>
object is read-only, then throw an
<code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NO_MODIFICATION_ALLOWED_ERR</anchor></code>.</li><li>Remove any child node the node has.</li><li>If the new value is not empty and not <code class="IDL" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">null</anchor></code>,
then create a <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Text</anchor></code> node
whose <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">data</anchor></code> is the new value
and append it to the <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code>.</li></ol></p></section><section><h1>Definition groups</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end> The
<dfn xml:lang="en">definition group <code class="DOM" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DeclaredValueType</anchor></code></dfn>
contains integers indicating the type of 
attribute value:<table><tbody><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NO_TYPE_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">0</anchor></code></td><td>The attribute value type corresponding to <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">no value</anchor> in XML Information Set.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CDATA_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">1</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CDATA</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ID_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">2</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ID</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IDREF_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">3</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IDREF</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IDREFS_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">4</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IDREFS</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ENTITY_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">5</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ENTITY</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ENTITIES_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">6</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ENTITIES</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NMTOKEN_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">7</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NMTOKEN</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NMTOKENS_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">8</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NMTOKENS</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NOTATION_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">9</anchor></code></td><td>The attribute value type is <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NOTATION</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ENUMERATION_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">10</anchor></code></td><td>The attribute value is enumeration type.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">UNKNOWN_ATTR</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">11</anchor></code></td><td>The attribute value type is unknown, because no declaration for the attribute has been read but not <code class="InfoProp" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">all declarations processed</anchor></code> property would be false.</td></tr></tbody></table></p><p>The type of these constants are 
<code class="IDL" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">unsigned</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">short</anchor></code>.</p><p>If no attribute type information is provided,
or if the source of that information does not 
distinguish <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">no value</anchor> and <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">unknown</anchor> as in
XML Information Set, then the 
<code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NO_TYPE_ATTR</anchor></code> value 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> be used.</p><comment-p xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">A newly created <code xmlns="http://www.w3.org/1999/xhtml" class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code>
object by <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">createAttributeDefinition</anchor></code>
method has <code xmlns="http://www.w3.org/1999/xhtml" class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">declaredType</anchor></code> attribute
set to <code xmlns="http://www.w3.org/1999/xhtml" class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NO_TYPE_ATTR</anchor></code>.</comment-p><p>If the source of the attribute type information
does not distinguish <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">no value</anchor> and / or <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">unknown</anchor>
and <code class="XML" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CDATA</anchor></code>, then the
<code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CDATA_ATTR</anchor></code> value <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor>
be used.</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="11" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[11]</anchor-end>
In Perl binding, the objects implementing the 
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Attr</anchor></code> interface <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor>
also implement the <code class="DOM" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DeclaredValueType</anchor></code>
constant group.</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="7" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[7]</anchor-end> The
<dfn xml:lang="en">definition group <code class="DOM" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DefaultValueType</anchor></code></dfn>
contains integers indicating the type of 
default attribute value:<table><tbody><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">UNKNOWN_DEFAULT</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">0</anchor></code></td><td>The default value is unknown.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">FIXED_DEFAULT</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">1</anchor></code></td><td>The default value is provided and the attribute is <code class="XML" xml:lang="en">#<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">FIXED</anchor></code> to that value.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">REQUIRED_DEFAULT</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">2</anchor></code></td><td>An attribute specification is <code class="XML" xml:lang="en">#<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">REQUIRED</anchor></code> for the attribute.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IMPLIED_DEFAULT</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">3</anchor></code></td><td>The default value is <code class="XML" xml:lang="en">#<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IMPLIED</anchor></code>.</td></tr><tr><td><code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">EXPLICIT_DEFAULT</anchor></code></td><td><code class="IDL"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">4</anchor></code></td><td>The default value is provided but the attribute is not fixed to it.</td></tr></tbody></table></p><p>The type of these constants are 
<code class="IDL" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">unsigned</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">short</anchor></code>.</p><p>If the source of the attribute default value type
does not distinguish the <code class="XML" xml:lang="en">#<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IMPLIED</anchor></code>
default and unknown default, then the 
<code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IMPLIED_DEFAULT</anchor></code> value
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> be used.</p><comment-p xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">A newly created <code xmlns="http://www.w3.org/1999/xhtml" class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code>
object by <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">createAttributeDefinition</anchor></code>
method has <code xmlns="http://www.w3.org/1999/xhtml" class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">declaredType</anchor></code> attribute
set to <code xmlns="http://www.w3.org/1999/xhtml" class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NO_TYPE_ATTR</anchor></code>.</comment-p></section><section><h1>Tree-relationship Attributes</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="10" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[10]</anchor-end> 
The 
<dfn xml:lang="en"><code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ownerElementTypeDefinition</anchor></code> attribute</dfn>
of the <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> interface
is read-only and of type 
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ElementTypeDefinition</anchor></code>.
It is the <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ElementTypeDefinition</anchor></code> node
which the <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> node
belong to.</p><p>If the <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> node
is included in the <code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">attributeDefinitions</anchor></code>
list of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ElementTypeDefinition</anchor></code> node,
then the attribute <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> return the
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ElementTypeDefinition</anchor></code> node.
Otherwise, it <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> return <code class="DOM" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">null</anchor></code>.</p><comment-p xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">This attribute is analogue to the
<code xmlns="http://www.w3.org/1999/xhtml" class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ownerDocumentTypeDefinition</anchor></code> attribute
for <code xmlns="http://www.w3.org/1999/xhtml" class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ElementTypeDefinition</anchor></code>,
<code xmlns="http://www.w3.org/1999/xhtml" class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Entity</anchor></code>, and <code xmlns="http://www.w3.org/1999/xhtml" class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Notation</anchor></code>
nodes, or the <code xmlns="http://www.w3.org/1999/xhtml" class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ownerElement</anchor></code>
attribute for <code xmlns="http://www.w3.org/1999/xhtml" class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Attr</anchor></code> nodes.</comment-p></section><section><h1>Attributes</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end>
The <dfn xml:lang="en"><code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">declaredType</anchor></code> attribute</dfn>
of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object 
represents the type of the attribute value.</p><p>This attribute is read-write.
The type of the attribute is 
<code class="IDL" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">unsigned</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">short</anchor></code>.  It is expected 
that this attribute has a value from the definition group
<code class="DOM" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DeclaredValueType</anchor></code>.</p><p>The getter <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> return a value associated
to this attribute.</p><p>The setter <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor>
throw a <code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NO_MODIFICATION_ALLOWED_ERR</anchor></code>
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOMException</anchor></code> if the 
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object is read-only.
Otherwise, the setter <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> set the specified
value as the value associated to this attribute.</p><p>If a parser create an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code>
object, then it <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> set a value 
from the <code class="DOM" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DeclaredValueType</anchor></code> 
definition group.</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="8" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[8]</anchor-end>
The <dfn xml:lang="en"><code class="DOMa" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">defaultType</anchor></code> attribute</dfn>
of an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object 
represents the type of the attribute default value.</p><p>This attribute is read-write.
The type of the attribute is 
<code class="IDL" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">unsigned</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">short</anchor></code>.  It is expected 
that this attribute has a value from the definition group
<code class="DOM" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DefaultValueType</anchor></code>.</p><p>The getter <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> return a value associated
to this attribute.</p><p>The setter <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor>
throw a <code class="DOMc" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">NO_MODIFICATION_ALLOWED_ERR</anchor></code>
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOMException</anchor></code> if the 
<code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code> object is read-only.
Otherwise, the setter <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> set the specified
value as the value associated to this attribute.</p><p>If a parser create an <code class="DOMi" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AttributeDefinition</anchor></code>
object, then it <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><strong xmlns="http://www.w3.org/1999/xhtml">MUST</strong></anchor> set a value 
from the <code class="DOM" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DefaultValueType</anchor></code> 
definition group.</p></section></section><section><h1>memo</h1></section></body></html>