413 |
readonly attribute NamedNodeMap <a href="#generalEntities">generalEntities</a>; |
readonly attribute NamedNodeMap <a href="#generalEntities">generalEntities</a>; |
414 |
readonly attribute NamedNodeMap <a href="#notations">notations</a>; |
readonly attribute NamedNodeMap <a href="#notations">notations</a>; |
415 |
|
|
416 |
<span class=ed>more members come here...</span> |
<a href="#ElementTypeDefinition">ElementTypeDefinition</a> <a href="#getElementTypeDefinitionNode">getElementTypeDefinitionNode</a> |
417 |
|
(in DOMString <a href="#getElementTypeDefinitionNode-name"><var>name</var></a>); |
418 |
|
<a href="#Entity">Entity</a> <a href="#getGeneralEntityNode">getGeneralEntityNode</a> |
419 |
|
(in DOMString <a href="#getGeneralEntityNode-name"><var>name</var></a>); |
420 |
|
<a href="#Notation">Notation</a> <a href="#getNotationNode">getNotationNode</a> |
421 |
|
(in DOMString <a href="#getNotationNode-name"><var>name</var></a>); |
422 |
|
|
423 |
|
void <a href="#setElementTypeDefinitionNode">setElementTypeDefinitionNode</a> |
424 |
|
(in DOMString <a href="#setElementTypeDefinitionNode-node"><var>node</var></a>) |
425 |
|
raises (DOMException); |
426 |
|
void <a href="#setGeneralEntityNode">setGeneralEntityNode</a> |
427 |
|
(in DOMString <a href="#setGeneralEntityNode-node"><var>node</var></a>) |
428 |
|
raises (DOMException); |
429 |
|
void <a href="#setNotationNode">setNotationNode</a> |
430 |
|
(in DOMString <a href="#setNotationNode-node"><var>node</var></a>) |
431 |
|
raises (DOMException); |
432 |
}</code></pre> |
}</code></pre> |
433 |
|
|
434 |
<pre class=ed> |
<pre class=ed> |
902 |
<pre class=idl><code>// Modifications to the DocumentType interface |
<pre class=idl><code>// Modifications to the DocumentType interface |
903 |
attribute DOMString <a href="#publicId">publicId</a>; |
attribute DOMString <a href="#publicId">publicId</a>; |
904 |
attribute DOMString <a href="#systemId">systemId</a>; |
attribute DOMString <a href="#systemId">systemId</a>; |
|
</code></pre> |
|
905 |
|
|
906 |
<p class=ed> |
attribute DOMString <a href="#internalSubset">internalSubset</a>; |
907 |
The publicId attribute and the systemId attribute of DocumentType, Entity, and Notation objects are now read-write. |
</code></pre> |
908 |
|
|
909 |
The setter MUST throw a NO_MODIFICATION_ALLOWED_ERR DOMException if the Node object is read-only. Otherwise, it MUST set the specified value to the attribute. No normalization, lexical validation, or relative reference resolving is performed. null, which represents no public or system identifier is provided, might be specified. |
<p>The <code id=publicId>publicId</code> attribute and the |
910 |
|
<code id=systemId>systemId</code> attribute of |
911 |
|
<a href="#DocumentType"><code>DocumentType</code></a>, |
912 |
|
<a href="#Entity"><code>Entity</code></a>, and |
913 |
|
<a href="#Notation"><code>Notation</code></a> interfaces are no longer |
914 |
|
read$B!>(Bonly.</p> |
915 |
|
|
916 |
|
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
917 |
|
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
918 |
|
exception if the node is read$B!>(Bonly <span class=ed>@@ ref</span>. |
919 |
|
Otherwise, it <em class=rfc2119>MUST</em> set the specified value as the value |
920 |
|
associated to the attribute. No normalization, relative reference resolution, |
921 |
|
or lexical validation is performed. <span class=ed>@@ If the new |
922 |
|
value is <code>null</code>, ...</span></p> |
923 |
|
|
924 |
Setting public or system identifier does never result in any lexical or logical structure of the document being changed. In particular, no external entity referenced by new identifier will be loaded. |
<div class="note memo"> |
925 |
|
<p>Setting an invalid identifier might make the node unserializable. |
926 |
|
Setting a public identifier while leaveing system identifier unspecified |
927 |
|
would also make the <a href="#DocumentType"><code>DocumentType</code></a> |
928 |
|
or <a href="#Entity"><code>Entity</code></a> node unserializable.</p> |
929 |
|
</div> |
930 |
|
|
931 |
Setting an invalid or non-normalized identifier might make the object non-serializable. Setting a non-null public identifier to a DocumentType or Entity object that does not have non-null system identifier or setting null as the system identifier of a DocumentType or Entity object that does have non-null public identifier will make that object non-serializable. |
<div class=ed> |
932 |
|
<p>ISSUE: In HTML5, Firefox 1.5, and Opera 9, not specifying public or system identifier results in empty strings.</p> |
933 |
|
</div> |
934 |
|
|
935 |
ISSUE: In HTML5, Firefox 1.5, and Opera 9, not specifying public or system identifier results in empty strings. |
<p>The <code id=internalSubset>internalSubset</code> attribute of the |
936 |
</pre> |
<a href="#DocumentType"><code>DocumentType</code></a> interface is no longer |
937 |
|
read$B!>(Bonly.</p> |
938 |
|
|
939 |
|
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
940 |
|
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
941 |
|
exception if the node is read$B!>(Bonly <span class=ed>@@ ref</span>. |
942 |
|
Otherwise, it <em class=rfc2119>MUST</em> set the specified value as the value |
943 |
|
associated to the attribute. No normalization, or lexical validation is |
944 |
|
performed. <span class=ed>@@ If the new value is <code>null</code>, |
945 |
|
...</span></p> |
946 |
|
|
947 |
</div> |
</div> |
948 |
|
|