svn: /phpdoc/en/trunk/ language-snippets.ent reference/dom/domdocument/loadhtml.xml reference/dom/domdocument/loadhtmlfile.xml
| From: | Justin Martin | Date: | Fri, 13 Jan 2012 23:05:39 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent reference/dom/domdocument/loadhtml.xml reference/dom/domdocument/loadhtmlfile.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9469@lists.php.net to get a copy of this message | ||
frozenfire Fri, 13 Jan 2012 23:05:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322237
Log:
Noted warnings produced by malformed HTML. Closes bug #60747.
Bug: https://bugs.php.net/60747 (Open) DOMDocument loadHTML
error with img close tag
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
U phpdoc/en/trunk/reference/dom/domdocument/loadhtml.xml
U phpdoc/en/trunk/reference/dom/domdocument/loadhtmlfile.xml
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2012-01-13 22:26:28 UTC (rev 322236)
+++ phpdoc/en/trunk/language-snippets.ent 2012-01-13 23:05:39 UTC (rev 322237)
@@ -582,6 +582,7 @@
it is inserted with (e.g.) <function xmlns="http://docbook.org/ns/docbook">DOMNode::appendChild</function>.'>
<!ENTITY dom.allowstatic '<para xmlns="http://docbook.org/ns/docbook">This method
<emphasis>may</emphasis> be called statically, but will issue an
<constant>E_STRICT</constant> error.</para>'>
+<!ENTITY dom.malformederror '<para xmlns="http://docbook.org/ns/docbook">While
malformed HTML should load successfully, this function may generate
<constant>E_WARNING</constant> errors when it encounters bad markup. <link
linkend="function.libxml-use-internal-errors">libxml's error handling
functions</link> may be used to handle these errors.</para>'>
<!-- FileSystem entities -->
<!ENTITY fs.emits.warning.on.failure '<para xmlns="http://docbook.org/ns/docbook">
Modified: phpdoc/en/trunk/reference/dom/domdocument/loadhtml.xml
===================================================================
--- phpdoc/en/trunk/reference/dom/domdocument/loadhtml.xml 2012-01-13 22:26:28 UTC (rev 322236)
+++ phpdoc/en/trunk/reference/dom/domdocument/loadhtml.xml 2012-01-13 23:05:39 UTC (rev 322237)
@@ -52,6 +52,7 @@
and cannot be handled using libxml's error handling functions.
</para>
&dom.allowstatic;
+ &dom.malformederror;
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
Modified: phpdoc/en/trunk/reference/dom/domdocument/loadhtmlfile.xml
===================================================================
--- phpdoc/en/trunk/reference/dom/domdocument/loadhtmlfile.xml 2012-01-13 22:26:28 UTC (rev 322236)
+++ phpdoc/en/trunk/reference/dom/domdocument/loadhtmlfile.xml 2012-01-13 23:05:39 UTC (rev 322237)
@@ -51,6 +51,7 @@
functions</link>.
</para>
&dom.allowstatic;
+ &dom.malformederror;
</refsect1>
<refsect1 role="examples">
&reftitle.examples;