From ec5511c572776985424d12371da51011f93eee91 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Thu, 25 Oct 2007 09:41:36 +0000 Subject: [PATCH] Moved warning to errors section. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244793 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../dom/functions/dom-domdocument-load.xml | 11 ++++++++++- .../functions/dom-domdocument-loadhtml.xml | 17 +++++++++-------- .../dom-domdocument-loadhtmlfile.xml | 19 ++++++++++--------- .../dom/functions/dom-domdocument-loadxml.xml | 17 +++++++++-------- 4 files changed, 38 insertions(+), 26 deletions(-) diff --git a/reference/dom/functions/dom-domdocument-load.xml b/reference/dom/functions/dom-domdocument-load.xml index 5f94c26b3f..ee1a677f36 100644 --- a/reference/dom/functions/dom-domdocument-load.xml +++ b/reference/dom/functions/dom-domdocument-load.xml @@ -1,5 +1,5 @@ - + DOMDocument->load() @@ -51,6 +51,15 @@ causes an E_STRICT warning. + + &reftitle.errors; + + If an empty string is passed as the filename + 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. + + &reftitle.examples; diff --git a/reference/dom/functions/dom-domdocument-loadhtml.xml b/reference/dom/functions/dom-domdocument-loadhtml.xml index 8909581a1e..2c1e18e4f7 100644 --- a/reference/dom/functions/dom-domdocument-loadhtml.xml +++ b/reference/dom/functions/dom-domdocument-loadhtml.xml @@ -1,5 +1,5 @@ - + DOMDocument->loadHTML() @@ -32,13 +32,6 @@ source - - - If an empty string is passed as the source, - a warning will be generated. This warning is not generated by libxml - and cannot be handled using libxml's error handling functions. - - The HTML string. @@ -53,6 +46,14 @@ &return.success; + + &reftitle.errors; + + If an empty string is passed as the source, + a warning will be generated. This warning is not generated by libxml + and cannot be handled using libxml's error handling functions. + + &reftitle.examples; diff --git a/reference/dom/functions/dom-domdocument-loadhtmlfile.xml b/reference/dom/functions/dom-domdocument-loadhtmlfile.xml index ac7aa7feae..e338a88db6 100644 --- a/reference/dom/functions/dom-domdocument-loadhtmlfile.xml +++ b/reference/dom/functions/dom-domdocument-loadhtmlfile.xml @@ -1,5 +1,5 @@ - + DOMDocument->loadHTMLFile() @@ -35,14 +35,6 @@ filename - - - If an empty string is passed as the filename - 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. - - The path to the HTML file. @@ -57,6 +49,15 @@ &return.success; + + &reftitle.errors; + + If an empty string is passed as the filename + 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. + + &reftitle.examples; diff --git a/reference/dom/functions/dom-domdocument-loadxml.xml b/reference/dom/functions/dom-domdocument-loadxml.xml index fadc91c2e7..336a9e5cc8 100644 --- a/reference/dom/functions/dom-domdocument-loadxml.xml +++ b/reference/dom/functions/dom-domdocument-loadxml.xml @@ -1,5 +1,5 @@ - + DOMDocument->loadXML() @@ -34,13 +34,6 @@ source - - - If an empty string is passed as the source, - a warning will be generated. This warning is not generated by libxml - and cannot be handled using libxml's error handling functions. - - The string containing the XML. @@ -55,6 +48,14 @@ &return.success; If called statically, returns a DOMDocument. + + &reftitle.errors; + + If an empty string is passed as the source, + a warning will be generated. This warning is not generated by libxml + and cannot be handled using libxml's error handling functions. + + &reftitle.examples;