nlopess Thu Jan 25 23:53:22 2007 UTC
Modified files: /phpdoc/en/reference/simplexml/functions simplexml-element-construct.xml Log: document the errors produced (user note) # this needs an english reviewer ;) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-construct.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/simplexml/functions/simplexml-element-construct.xml diff -u phpdoc/en/reference/simplexml/functions/simplexml-element-construct.xml:1.3 phpdoc/en/reference/simplexml/functions/simplexml-element-construct.xml:1.4 --- phpdoc/en/reference/simplexml/functions/simplexml-element-construct.xml:1.3 Tue Jan 16 01:05:32 2007 +++ phpdoc/en/reference/simplexml/functions/simplexml-element-construct.xml Thu Jan 25 23:53:22 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id='function.simplexml-element-construct'> <refnamediv> <refname>SimpleXMLElement->__construct()</refname> @@ -83,6 +83,14 @@ </para> </refsect1> + <refsect1 role="errors"> + &reftitle.errors; + <para> + Produces an <constant>E_WARNING</constant> error message for each error + found in the XML data and throws an exception if errors were detected. + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para>