mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Document the exceptions using the new format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@176299 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9389631ea5
commit
78048f12db
24 changed files with 409 additions and 72 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domcharacterdata-deletedata'>
|
||||
<refnamediv>
|
||||
<refname>DOMCharacterData->deleteData()</refname>
|
||||
|
@ -57,9 +57,18 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>offset</parameter>
|
||||
is negative or greater than the number of characters in data, or if
|
||||
<parameter>count</parameter> is negative.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INDEX_SIZE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>offset</parameter> is negative or greater than the
|
||||
number of 16-bit units in data, or if <parameter>count</parameter> is
|
||||
negative.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domcharacterdata-insertdata'>
|
||||
<refnamediv>
|
||||
<refname>DOMCharacterData->insertData()</refname>
|
||||
|
@ -54,8 +54,17 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>offset</parameter>
|
||||
is negative or greater than the number of 16-bit units in data.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INDEX_SIZE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>offset</parameter> is negative or greater than the
|
||||
number of 16-bit units in data.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domcharacterdata-replacedata'>
|
||||
<refnamediv>
|
||||
<refname>DOMCharacterData->replaceData()</refname>
|
||||
|
@ -66,9 +66,18 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>offset</parameter>
|
||||
is negative or greater than the number of characters in data, or if
|
||||
<parameter>count</parameter> is negative.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INDEX_SIZE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>offset</parameter> is negative or greater than the
|
||||
number of 16-bit units in data, or if <parameter>count</parameter> is
|
||||
negative.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domcharacterdata-substringdata'>
|
||||
<refnamediv>
|
||||
<refname>DOMCharacterData->substringData()</refname>
|
||||
|
@ -56,9 +56,18 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>offset</parameter>
|
||||
is negative or greater than the number of 16-bit units in data, or if
|
||||
<parameter>count</parameter> is negative.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INDEX_SIZE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>offset</parameter> is negative or greater than the
|
||||
number of 16-bit units in data, or if <parameter>count</parameter> is
|
||||
negative.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="function.dom-domdocument-createattribute">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->createAttribute()</refname>
|
||||
|
@ -44,8 +44,16 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>name</parameter>
|
||||
contains an invalid character.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INVALID_CHARACTER_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>name</parameter> contains an invalid character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="function.dom-domdocument-createattributens">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->createAttributeNS()</refname>
|
||||
|
@ -55,8 +55,26 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>qualifiedName</parameter>
|
||||
contains an invalid character.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INVALID_CHARACTER_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>qualifiedName</parameter> contains an invalid character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NAMESPACE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>qualifiedName</parameter> is a malformed qualified
|
||||
name, or if <parameter>qualifiedName</parameter> has a prefix and
|
||||
<parameter>namespaceURI</parameter> is &null;.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry id="function.dom-domdocument-createelement">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->createElement()</refname>
|
||||
|
@ -55,8 +55,16 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>name</parameter>
|
||||
contains an invalid character.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INVALID_CHARACTER_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>name</parameter> contains an invalid character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry id="function.dom-domdocument-createelementns">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->createElementNS()</refname>
|
||||
|
@ -65,8 +65,25 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>qualifiedName</parameter>
|
||||
contains an invalid character.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INVALID_CHARACTER_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>qualifiedName</parameter> contains an invalid character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NAMESPACE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>qualifiedName</parameter> is a maformed qualified
|
||||
name.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="function.dom-domdocument-createentityreference">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->createEntityReference()</refname>
|
||||
|
@ -44,8 +44,16 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>name</parameter>
|
||||
contains an invalid character.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INVALID_CHARACTER_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>name</parameter> contains an invalid character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="function.dom-domdocument-createprocessinginstruction">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->createProcessingInstruction()</refname>
|
||||
|
@ -53,9 +53,18 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>target</parameter>
|
||||
contains an invalid character.
|
||||
</para> </refsect1>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_INVALID_CHARACTER_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>target</parameter> contains an invalid character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id="function.dom-domdocument-savexml">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument->saveXML()</refname>
|
||||
|
@ -47,8 +47,16 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if <parameter>node</parameter>
|
||||
is from another document.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_WRONG_DOCUMENT_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>node</parameter> is from another document.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry id='function.dom-domelement-removeattribute'>
|
||||
<refnamediv>
|
||||
<refname>DOMElement->removeAttribute()</refname>
|
||||
|
@ -43,7 +43,16 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be modified.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if the node is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domelement-removeattributenode'>
|
||||
<refnamediv>
|
||||
<refname>DOMElement->removeAttributeNode()</refname>
|
||||
|
@ -43,8 +43,24 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be modified or
|
||||
attribute is not a member of the element node.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if the node is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NOT_FOUND_ERROR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>oldnode</parameter> is not an attribute of the element.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry id='function.dom-domelement-removeattributens'>
|
||||
<refnamediv>
|
||||
<refname>DOMElement->removeAttributeNS()</refname>
|
||||
|
@ -53,7 +53,16 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be modified.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if the node is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry id='function.dom-domelement-setattribute'>
|
||||
<refnamediv>
|
||||
<refname>DOMElement->setAttribute()</refname>
|
||||
|
@ -53,7 +53,16 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be modified.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if the node is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domelement-setattributenode'>
|
||||
<refnamediv>
|
||||
<refname>DOMElement->setAttributeNode()</refname>
|
||||
|
@ -37,13 +37,22 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns old node if the attribute has been replaced.
|
||||
Returns old node if the attribute has been replaced or &null;.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be modified.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if the node is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domelement-setattributenodens'>
|
||||
<refnamediv>
|
||||
<refname>DOMElement->setAttributeNodeNS()</refname>
|
||||
|
@ -43,7 +43,16 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be modified.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if the node is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry id='function.dom-domelement-setattributens'>
|
||||
<refnamediv>
|
||||
<refname>DOMElement->setAttributeNS()</refname>
|
||||
|
@ -63,7 +63,26 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be modified.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if the node is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NAMESPACE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>qualifiedName</parameter> is a malformed qualified
|
||||
name, or if <parameter>qualifiedName</parameter> has a prefix and
|
||||
<parameter>namespaceURI</parameter> is &null;.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry id='function.dom-domimplementation-createdocument'>
|
||||
<refnamediv>
|
||||
<refname>DOMImplementation->createDocument()</refname>
|
||||
|
@ -67,10 +67,26 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if there is an error with the
|
||||
namespace, as determined by <parameter>namespaceURI</parameter> and
|
||||
<parameter>qualifiedName</parameter>, or if <parameter>doctype</parameter>
|
||||
is not valid.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_WRONG_DOCUMENT_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>doctype</parameter> has already been used with a
|
||||
different document or was created from a different implementation.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NAMESPACE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if there is an error with the namespace, as determined by
|
||||
<parameter>namespaceURI</parameter> and <parameter>qualifiedName</parameter>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry id='function.dom-domimplementation-createdocumenttype'>
|
||||
<refnamediv>
|
||||
<refname>DOMImplementation->createDocumentType()</refname>
|
||||
|
@ -66,8 +66,17 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if there is an error with the
|
||||
namespace, as determined by <parameter>qualifiedName</parameter>.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NAMESPACE_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if there is an error with the namespace, as determined by
|
||||
<parameter>qualifiedName</parameter>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domnode-appendchild'>
|
||||
<refnamediv>
|
||||
<refname>DOMNode->appendChild()</refname>
|
||||
|
@ -48,8 +48,37 @@
|
|||
</refsect1>
|
||||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if the node cannot be appended.
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if this node is readonly or if the previous parent of the node
|
||||
being inserted is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_HIERARCHY_REQUEST_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if this node is of a type that does not allow children of the
|
||||
type of the <parameter>newnode</parameter> node, or if the node to
|
||||
append is one of this node's ancestors or this node itself.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_WRONG_DOCUMENT_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>newnode</parameter> was created from a different
|
||||
document than the one that created this node.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domnode-insertbefore'>
|
||||
<refnamediv>
|
||||
<refname>DOMNode->insertBefore()</refname>
|
||||
|
@ -57,7 +57,44 @@
|
|||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be inserted.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if this node is readonly or if the previous parent of the node
|
||||
being inserted is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_HIERARCHY_REQUEST_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if this node is of a type that does not allow children of the
|
||||
type of the <parameter>newnode</parameter> node, or if the node to
|
||||
append is one of this node's ancestors or this node itself.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_WRONG_DOCUMENT_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>newnode</parameter> was created from a different
|
||||
document than the one that created this node.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NOT_FOUND</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>refnode</parameter> is not a child of this node.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domnode-removechild'>
|
||||
<refnamediv>
|
||||
<refname>DOMNode->removeChild()</refname>
|
||||
|
@ -44,8 +44,25 @@
|
|||
</refsect1>
|
||||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if the node cannot be removed.
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if this node is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NOT_FOUND</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>oldnode</parameter> is not a child of this node.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id='function.dom-domnode-replacechild'>
|
||||
<refnamediv>
|
||||
<refname>DOMNode->replaceChild()</refname>
|
||||
|
@ -57,8 +57,45 @@
|
|||
</refsect1>
|
||||
<refsect1 role="exceptions">
|
||||
&reftitle.exceptions;
|
||||
<para>
|
||||
Throws <classname>DOMException</classname> if node cannot be replaced.
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if this node is readonly or if the previous parent of the node
|
||||
being inserted is readonly.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_HIERARCHY_REQUEST_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if this node is of a type that does not allow children of the
|
||||
type of the <parameter>newnode</parameter> node, or if the node to
|
||||
put in is one of this node's ancestors or this node itself.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_WRONG_DOCUMENT_ERR</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>newnode</parameter> was created from a different
|
||||
document than the one that created this node.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><constant>DOM_NOT_FOUND</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Raised if <parameter>oldnode</parameter> is not a child of this node.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
|
|
Loading…
Reference in a new issue