didou Sun Jan 2 10:36:01 2005 EDT
Modified files:
/phpdoc/en/reference/dom/functions
dom-domcharacterdata-deletedata.xml
dom-domcharacterdata-insertdata.xml
dom-domcharacterdata-replacedata.xml
dom-domcharacterdata-substringdata.xml
dom-domdocument-createattribute.xml
dom-domdocument-createattributens.xml
dom-domdocument-createelement.xml
dom-domdocument-createelementns.xml
dom-domdocument-createentityreference.xml
dom-domdocument-createprocessinginstruction.xml
dom-domdocument-savexml.xml
dom-domelement-removeattribute.xml
dom-domelement-removeattributenode.xml
dom-domelement-removeattributens.xml
dom-domelement-setattribute.xml
dom-domelement-setattributenode.xml
dom-domelement-setattributenodens.xml
dom-domelement-setattributens.xml
dom-domimplementation-createdocument.xml
dom-domimplementation-createdocumenttype.xml
dom-domnode-appendchild.xml
dom-domnode-insertbefore.xml
dom-domnode-removechild.xml
dom-domnode-replacechild.xml
Log:
Document the exceptions using the new format
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domcharacterdata-deletedata.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domcharacterdata-deletedata.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domcharacterdata-deletedata.xml:1.6
phpdoc/en/reference/dom/functions/dom-domcharacterdata-deletedata.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domcharacterdata-deletedata.xml:1.6
Fri Dec 31 07:44:55 2004
+++ phpdoc/en/reference/dom/functions/dom-domcharacterdata-deletedata.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domcharacterdata-insertdata.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domcharacterdata-insertdata.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domcharacterdata-insertdata.xml:1.6
phpdoc/en/reference/dom/functions/dom-domcharacterdata-insertdata.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domcharacterdata-insertdata.xml:1.6
Fri Dec 31 07:44:55 2004
+++ phpdoc/en/reference/dom/functions/dom-domcharacterdata-insertdata.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domcharacterdata-replacedata.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domcharacterdata-replacedata.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domcharacterdata-replacedata.xml:1.6
phpdoc/en/reference/dom/functions/dom-domcharacterdata-replacedata.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domcharacterdata-replacedata.xml:1.6
Fri Dec 31 07:44:55 2004
+++ phpdoc/en/reference/dom/functions/dom-domcharacterdata-replacedata.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domcharacterdata-substringdata.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domcharacterdata-substringdata.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domcharacterdata-substringdata.xml:1.6
phpdoc/en/reference/dom/functions/dom-domcharacterdata-substringdata.xml:1.7
---
phpdoc/en/reference/dom/functions/dom-domcharacterdata-substringdata.xml:1.6
Fri Dec 31 07:44:55 2004
+++ phpdoc/en/reference/dom/functions/dom-domcharacterdata-substringdata.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml:1.6
phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml:1.6
Mon Dec 27 08:02:52 2004
+++ phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml:1.6
phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml:1.6
Mon Dec 27 08:02:52 2004
+++ phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml
diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml:1.7
phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml:1.8
--- phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml:1.7
Mon Dec 27 08:02:52 2004
+++ phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml Sun Jan
2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml:1.8
phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml:1.9
--- phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml:1.8
Mon Dec 27 08:02:52 2004
+++ phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml?r1=1.6&r2=1.7&ty=u
Index:
phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml:1.6
phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml:1.7
---
phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml:1.6
Mon Dec 27 08:02:52 2004
+++ phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml?r1=1.6&r2=1.7&ty=u
Index:
phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml:1.6
phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml:1.7
---
phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml:1.6
Mon Dec 27 08:02:52 2004
+++
phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml
Sun Jan 2 10:36:00 2005
@@ -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>
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml
diff -u phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml:1.2
phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml:1.3
--- phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml:1.2 Fri Dec
31 06:49:57 2004
+++ phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml Sun Jan
2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-removeattribute.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domelement-removeattribute.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domelement-removeattribute.xml:1.5
phpdoc/en/reference/dom/functions/dom-domelement-removeattribute.xml:1.6
--- phpdoc/en/reference/dom/functions/dom-domelement-removeattribute.xml:1.5
Mon Dec 27 11:12:48 2004
+++ phpdoc/en/reference/dom/functions/dom-domelement-removeattribute.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-removeattributenode.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domelement-removeattributenode.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domelement-removeattributenode.xml:1.6
phpdoc/en/reference/dom/functions/dom-domelement-removeattributenode.xml:1.7
---
phpdoc/en/reference/dom/functions/dom-domelement-removeattributenode.xml:1.6
Mon Dec 27 11:12:48 2004
+++ phpdoc/en/reference/dom/functions/dom-domelement-removeattributenode.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-removeattributens.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domelement-removeattributens.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domelement-removeattributens.xml:1.5
phpdoc/en/reference/dom/functions/dom-domelement-removeattributens.xml:1.6
--- phpdoc/en/reference/dom/functions/dom-domelement-removeattributens.xml:1.5
Mon Dec 27 11:12:48 2004
+++ phpdoc/en/reference/dom/functions/dom-domelement-removeattributens.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-setattribute.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domelement-setattribute.xml
diff -u phpdoc/en/reference/dom/functions/dom-domelement-setattribute.xml:1.5
phpdoc/en/reference/dom/functions/dom-domelement-setattribute.xml:1.6
--- phpdoc/en/reference/dom/functions/dom-domelement-setattribute.xml:1.5
Mon Dec 27 11:12:48 2004
+++ phpdoc/en/reference/dom/functions/dom-domelement-setattribute.xml Sun Jan
2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-setattributenode.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domelement-setattributenode.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domelement-setattributenode.xml:1.6
phpdoc/en/reference/dom/functions/dom-domelement-setattributenode.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domelement-setattributenode.xml:1.6
Mon Dec 27 11:12:48 2004
+++ phpdoc/en/reference/dom/functions/dom-domelement-setattributenode.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-setattributenodens.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domelement-setattributenodens.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domelement-setattributenodens.xml:1.6
phpdoc/en/reference/dom/functions/dom-domelement-setattributenodens.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domelement-setattributenodens.xml:1.6
Mon Dec 27 11:12:48 2004
+++ phpdoc/en/reference/dom/functions/dom-domelement-setattributenodens.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-setattributens.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domelement-setattributens.xml
diff -u phpdoc/en/reference/dom/functions/dom-domelement-setattributens.xml:1.5
phpdoc/en/reference/dom/functions/dom-domelement-setattributens.xml:1.6
--- phpdoc/en/reference/dom/functions/dom-domelement-setattributens.xml:1.5
Mon Dec 27 11:12:48 2004
+++ phpdoc/en/reference/dom/functions/dom-domelement-setattributens.xml Sun Jan
2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml?r1=1.8&r2=1.9&ty=u
Index:
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml:1.8
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml:1.9
---
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml:1.8
Mon Dec 27 11:53:36 2004
+++ phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domimplementation-createdocumenttype.xml?r1=1.7&r2=1.8&ty=u
Index:
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocumenttype.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocumenttype.xml:1.7
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocumenttype.xml:1.8
---
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocumenttype.xml:1.7
Mon Dec 27 11:32:34 2004
+++
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocumenttype.xml
Sun Jan 2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domnode-appendchild.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domnode-appendchild.xml
diff -u phpdoc/en/reference/dom/functions/dom-domnode-appendchild.xml:1.6
phpdoc/en/reference/dom/functions/dom-domnode-appendchild.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domnode-appendchild.xml:1.6 Mon Dec
27 08:51:38 2004
+++ phpdoc/en/reference/dom/functions/dom-domnode-appendchild.xml Sun Jan
2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domnode-insertbefore.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domnode-insertbefore.xml
diff -u phpdoc/en/reference/dom/functions/dom-domnode-insertbefore.xml:1.6
phpdoc/en/reference/dom/functions/dom-domnode-insertbefore.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domnode-insertbefore.xml:1.6 Fri Dec
31 05:40:41 2004
+++ phpdoc/en/reference/dom/functions/dom-domnode-insertbefore.xml Sun Jan
2 10:36:00 2005
@@ -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>
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domnode-removechild.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domnode-removechild.xml
diff -u phpdoc/en/reference/dom/functions/dom-domnode-removechild.xml:1.6
phpdoc/en/reference/dom/functions/dom-domnode-removechild.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domnode-removechild.xml:1.6 Mon Dec
27 08:51:39 2004
+++ phpdoc/en/reference/dom/functions/dom-domnode-removechild.xml Sun Jan
2 10:36:00 2005
@@ -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">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domnode-replacechild.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domnode-replacechild.xml
diff -u phpdoc/en/reference/dom/functions/dom-domnode-replacechild.xml:1.6
phpdoc/en/reference/dom/functions/dom-domnode-replacechild.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domnode-replacechild.xml:1.6 Mon Dec
27 08:51:39 2004
+++ phpdoc/en/reference/dom/functions/dom-domnode-replacechild.xml Sun Jan
2 10:36:00 2005
@@ -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">