nlopess Sun Aug 7 13:16:21 2005 EDT
Modified files:
/phpdoc/en/reference/libxml reference.xml
Log:
document the LibXMLError class
http://cvs.php.net/diff.php/phpdoc/en/reference/libxml/reference.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/libxml/reference.xml
diff -u phpdoc/en/reference/libxml/reference.xml:1.2
phpdoc/en/reference/libxml/reference.xml:1.3
--- phpdoc/en/reference/libxml/reference.xml:1.2 Tue Feb 15 07:39:28 2005
+++ phpdoc/en/reference/libxml/reference.xml Sun Aug 7 13:16:20 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<reference id="ref.libxml">
<title>libxml Functions</title>
<titleabbrev>libxml</titleabbrev>
@@ -22,6 +22,47 @@
2.6.0.
</para>
</section>
+
+ <section id='libxml.classes'>
+ &reftitle.classes;
+
+ <section id='libxml.class.libxmlerror'>
+ <title><classname>LibXMLError</classname></title>
+ <section id='libxml.class.libxml.properties'>
+ &reftitle.properties;
+ <itemizedlist>
+ <listitem>
+ <para>code - the error's code</para>
+ </listitem>
+ <listitem>
+ <para>
+ column - the column where the error occurred. Please note that
+ this property isn't enterely implemented in libxml and therefore
+ <literal>0</literal> is often returned.
+ </para>
+ </listitem>
+ <listitem>
+ <para>file - the filename, or empty if the XML was loaded from a
string</para>
+ </listitem>
+ <listitem>
+ <para>
+ level - the severity of the error (one of the following constants:
+ <constant>LIBXML_ERR_WARNING</constant>,
+ <constant>LIBXML_ERR_ERROR</constant> or
+ <constant>LIBXML_ERR_FATAL</constant>)
+ </para>
+ </listitem>
+ <listitem>
+ <para>line - the line where the error occurred</para>
+ </listitem>
+ <listitem>
+ <para>message - the error message</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ </section>
+ </section>
+
&reference.libxml.constants;
</partintro>
&reference.libxml.functions;