XML 解析器
在线手册:中文 英文
PHP手册

错误代码

下列常量是 XML 相关的错误代码(xml_parse()函数的返回值):


XML 解析器
在线手册:中文 英文
PHP手册
PHP手册 - N: 错误代码

用户评论:

djmaze (14-Aug-2010 04:29)

Here's the full list of all 733 error codes
http://www.xmlsoft.org/html/libxml-xmlerror.html#xmlParserErrors

Michael (19-Aug-2009 11:33)

XML_ERR_NAME_REQUIRED - Means you have an entity that isn't valid in XML.

For example: & < and > all have to be escaped as &amp; &lt; and &gt; respectively.