php-doc-en/reference/xml/error-codes.xml
Christoph Michael Becker c0b9e812f0 Mark up constants as such
Maybe some day we'll get automatic linking of constants – one may dream.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351473 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 16:55:20 +00:00

55 lines
2.3 KiB
XML

<?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
-->