1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-24 07:02:15 +01:00
Files
archived-doc-zh/reference/xml/error-codes.xml
魔王卷子 70ac60941e Update xml 4 (#614)
* Update xmlparser.xml

* Update setup.xml

* Update reference.xml

* Update eventhandlers.xml

* Update error-codes.xml

* Update encoding.xml

* Update constants.xml

* Update configure.xml

* Update case-folding.xml

* Update book.xml

* Update case-folding.xml

* Update constants.xml

* Update encoding.xml

* Update error-codes.xml

* Update eventhandlers.xml

* Update constants.xml

* Update encoding.xml

* Update reference.xml

* Update xml-set-unparsed-entity-decl-handler.xml

* Update xml-set-processing-instruction-handler.xml

* Update configure.xml

* Update encoding.xml
2023-01-16 17:25:59 +08:00

56 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: c0b9e812f0539442a3b4b60155077dca393054cc Maintainer: mowangjuanzi Status: ready -->
<article xml:id="xml.error-codes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>错误代码</title>
<para>
下列常量是为 XML 定义的相关错误代码(<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
-->