<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<article xml:id="xml.error-codes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Error Codes</title>
 <para>
  The following constants are defined for XML error codes (as
  returned by <function>xml_parse</function>):
  <simplelist>
   <member><constant>XML_ERROR_NONE</constant></member>
   <member><constant>XML_ERROR_NO_MEMORY</constant></member>
   <member><constant>XML_ERROR_SYNTAX</constant></member>
   <member><constant>XML_ERROR_NO_ELEMENTS</constant></member>
   <member><constant>XML_ERROR_INVALID_TOKEN</constant></member>
   <member><constant>XML_ERROR_UNCLOSED_TOKEN</constant></member>
   <member><constant>XML_ERROR_PARTIAL_CHAR</constant></member>
   <member><constant>XML_ERROR_TAG_MISMATCH</constant></member>
   <member><constant>XML_ERROR_DUPLICATE_ATTRIBUTE</constant></member>
   <member><constant>XML_ERROR_JUNK_AFTER_DOC_ELEMENT</constant></member>
   <member><constant>XML_ERROR_PARAM_ENTITY_REF</constant></member>
   <member><constant>XML_ERROR_UNDEFINED_ENTITY</constant></member>
   <member><constant>XML_ERROR_RECURSIVE_ENTITY_REF</constant></member>
   <member><constant>XML_ERROR_ASYNC_ENTITY</constant></member>
   <member><constant>XML_ERROR_BAD_CHAR_REF</constant></member>
   <member><constant>XML_ERROR_BINARY_ENTITY_REF</constant></member>
   <member><constant>XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF</constant></member>
   <member><constant>XML_ERROR_MISPLACED_XML_PI</constant></member>
   <member><constant>XML_ERROR_UNKNOWN_ENCODING</constant></member>
   <member><constant>XML_ERROR_INCORRECT_ENCODING</constant></member>
   <member><constant>XML_ERROR_UNCLOSED_CDATA_SECTION</constant></member>
   <member><constant>XML_ERROR_EXTERNAL_ENTITY_HANDLING</constant></member>
  </simplelist>
 </para>
</article>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

