@@ -1743,6 +1743,28 @@ it is inserted with (e.g.) <function xmlns="http://docbook.org/ns/docbook">DOMNo
1743
1743
of the <link linkend =" libxml.constants" >libxml option constants</link >.
1744
1744
</para >'>
1745
1745
1746
+ <!ENTITY dom.parameter.compliant.options '&dom.parameter.options;
1747
+ <simpara xmlns =" http://docbook.org/ns/docbook" >
1748
+ It is also possible to pass <constant >Dom\HTML_NO_DEFAULT_NS</constant >
1749
+ to disable the use of the HTML namespace and the template element.
1750
+ This should only be used if the implications are properly understood.
1751
+ </simpara >'>
1752
+
1753
+ <!ENTITY dom.parameter.compliant.encoding '<simpara xmlns =" http://docbook.org/ns/docbook" >
1754
+ The encoding that the document was created in.
1755
+ If not provided, it will attempt to determine the encoding that is most likely used.
1756
+ </simpara >'>
1757
+
1758
+ <!ENTITY dom.parser.compliant.note.whitespace '<refsect1 role =" notes" xmlns =" http://docbook.org/ns/docbook" >
1759
+ &reftitle.notes;
1760
+ <note >
1761
+ <simpara >
1762
+ Whitespace in the <literal >html</literal > and <literal >head</literal > tags
1763
+ is not considered significant and may lose formatting.
1764
+ </simpara >
1765
+ </note >
1766
+ </refsect1 >'>
1767
+
1746
1768
<!ENTITY dom.parameters.register_node_ns '<varlistentry xmlns =" http://docbook.org/ns/docbook" >
1747
1769
<term ><parameter >registerNodeNS</parameter ></term >
1748
1770
<listitem >
@@ -1754,6 +1776,14 @@ it is inserted with (e.g.) <function xmlns="http://docbook.org/ns/docbook">DOMNo
1754
1776
</listitem >
1755
1777
</varlistentry >'>
1756
1778
1779
+ <!ENTITY dom.parameters.serialize.options '<simpara xmlns =" http://docbook.org/ns/docbook" >
1780
+ Additional Options.
1781
+ The <constant >LIBXML_NOEMPTYTAG</constant >
1782
+ and <constant >LIBXML_NOXMLDECL</constant > options are supported.
1783
+ Prior to PHP 8.3.0, only the <constant >LIBXML_NOEMPTYTAG</constant >
1784
+ option is supported.
1785
+ </simpara >'>
1786
+
1757
1787
<!ENTITY dom.errors.hierarchy.parent '<varlistentry xmlns =" http://docbook.org/ns/docbook" >
1758
1788
<term ><constant >DOM_HIERARCHY_REQUEST_ERR</constant ></term >
1759
1789
<listitem >
@@ -1786,6 +1816,27 @@ it is inserted with (e.g.) <function xmlns="http://docbook.org/ns/docbook">DOMNo
1786
1816
</listitem >
1787
1817
</varlistentry >'>
1788
1818
1819
+ <!ENTITY dom.errors.compliant.wrong_document '<listitem xmlns =" http://docbook.org/ns/docbook" >
1820
+ <simpara >
1821
+ Throws a <exceptionname >Dom\DOMException</exceptionname > with code
1822
+ <constant >Dom\WRONG_DOCUMENT_ERR</constant > if <parameter >node</parameter >
1823
+ is from another document.
1824
+ </simpara >
1825
+ </listitem >'>
1826
+
1827
+ <!ENTITY dom.errors.compliant.common '<listitem xmlns =" http://docbook.org/ns/docbook" >
1828
+ <simpara >
1829
+ Throws a <exceptionname >ValueError</exceptionname > if
1830
+ <parameter >options</parameter > contains an invalid option.
1831
+ </simpara >
1832
+ </listitem >
1833
+ <listitem >
1834
+ <simpara >
1835
+ Throws a <exceptionname >ValueError</exceptionname > if
1836
+ <parameter >overrideEncoding</parameter > is an unknown encoding.
1837
+ </simpara >
1838
+ </listitem >'>
1839
+
1789
1840
<!ENTITY dom.changelog.previous_hierarchy_exception 'Previously this threw a
1790
1841
<classname xmlns =" http://docbook.org/ns/docbook" >DOMException</classname > with code
1791
1842
<constant xmlns =" http://docbook.org/ns/docbook" >DOM_HIERARCHY_REQUEST_ERR</constant >.'>
0 commit comments