cvs: phpdoc /en/reference/dom/functions dom-domdocument-load.xml dom-domdocument-loadhtml.xml dom-domdocument-loadhtmlfile.xml
dom-domdocument-loadxml.xml
| From: | Richard Quadling | Date: | Thu, 25 Oct 2007 08:59:47 +0000 |
| Subject: | cvs: phpdoc /en/reference/dom/functions dom-domdocument-load.xml dom-domdocument-loadhtml.xml dom-domdocument-loadhtmlfile.xml dom-domdocument-loadxml.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-267@lists.php.net to get a copy of this message | ||
rquadling Thu Oct 25 08:59:47 2007 UTC
Modified files:
/phpdoc/en/reference/dom/functions dom-domdocument-load.xml
dom-domdocument-loadhtml.xml
dom-domdocument-loadhtmlfile.xml
dom-domdocument-loadxml.xml
Log:
Add warning about empty string / file. (bug 43095)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dom/functions/dom-domdocument-load.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-load.xml
diff -u phpdoc/en/reference/dom/functions/dom-domdocument-load.xml:1.13
phpdoc/en/reference/dom/functions/dom-domdocument-load.xml:1.14
--- phpdoc/en/reference/dom/functions/dom-domdocument-load.xml:1.13 Fri Aug 17 16:27:35 2007
+++ phpdoc/en/reference/dom/functions/dom-domdocument-load.xml Thu Oct 25 08:59:47 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
<refentry xml:id="function.dom-domdocument-load" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMDocument->load()</refname>
@@ -28,6 +28,14 @@
<varlistentry>
<term><parameter>filename</parameter></term>
<listitem>
+ <warning>
+ <para>
+ If an empty string is passed as the <parameter>filename</parameter>
+ or an empty file is named, a warning will be generated. This warning
+ is not generated by libxml and cannot be handled using libxml's error
+ handling functions.
+ </para>
+ </warning>
<para>
The path to the XML document.
</para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dom/functions/dom-domdocument-loadhtml.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-loadhtml.xml
diff -u phpdoc/en/reference/dom/functions/dom-domdocument-loadhtml.xml:1.8
phpdoc/en/reference/dom/functions/dom-domdocument-loadhtml.xml:1.9
--- phpdoc/en/reference/dom/functions/dom-domdocument-loadhtml.xml:1.8 Wed Jun 20 22:24:21 2007
+++ phpdoc/en/reference/dom/functions/dom-domdocument-loadhtml.xml Thu Oct 25 08:59:47 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry xml:id="function.dom-domdocument-loadhtml" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMDocument->loadHTML()</refname>
@@ -32,6 +32,13 @@
<varlistentry>
<term><parameter>source</parameter></term>
<listitem>
+ <warning>
+ <para>
+ If an empty string is passed as the <parameter>source</parameter>,
+ a warning will be generated. This warning is not generated by libxml
+ and cannot be handled using libxml's error handling functions.
+ </para>
+ </warning>
<para>
The HTML string.
</para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dom/functions/dom-domdocument-loadhtmlfile.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-loadhtmlfile.xml
diff -u phpdoc/en/reference/dom/functions/dom-domdocument-loadhtmlfile.xml:1.8
phpdoc/en/reference/dom/functions/dom-domdocument-loadhtmlfile.xml:1.9
--- phpdoc/en/reference/dom/functions/dom-domdocument-loadhtmlfile.xml:1.8 Wed Jun 20 22:24:21 2007
+++ phpdoc/en/reference/dom/functions/dom-domdocument-loadhtmlfile.xml Thu Oct 25 08:59:47 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry xml:id="function.dom-domdocument-loadhtmlfile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMDocument->loadHTMLFile()</refname>
@@ -35,6 +35,14 @@
<varlistentry>
<term><parameter>filename</parameter></term>
<listitem>
+ <warning>
+ <para>
+ If an empty string is passed as the <parameter>filename</parameter>
+ or an empty file is named, a warning will be generated. This warning
+ is not generated by libxml and cannot be handled using libxml's error
+ handling functions.
+ </para>
+ </warning>
<para>
The path to the HTML file.
</para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dom/functions/dom-domdocument-loadxml.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/dom/functions/dom-domdocument-loadxml.xml
diff -u phpdoc/en/reference/dom/functions/dom-domdocument-loadxml.xml:1.11
phpdoc/en/reference/dom/functions/dom-domdocument-loadxml.xml:1.12
--- phpdoc/en/reference/dom/functions/dom-domdocument-loadxml.xml:1.11 Wed Jun 20 22:24:21 2007
+++ phpdoc/en/reference/dom/functions/dom-domdocument-loadxml.xml Thu Oct 25 08:59:47 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry xml:id="function.dom-domdocument-loadxml" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMDocument->loadXML()</refname>
@@ -34,6 +34,13 @@
<varlistentry>
<term><parameter>source</parameter></term>
<listitem>
+ <warning>
+ <para>
+ If an empty string is passed as the <parameter>source</parameter>,
+ a warning will be generated. This warning is not generated by libxml
+ and cannot be handled using libxml's error handling functions.
+ </para>
+ </warning>
<para>
The string containing the XML.
</para>