Enum Parser.XML.Tree.ParseFlags

Description

Flags used together with simple_parse_input() and simple_parse_file().

See also

Parser.XML.Simple()->compat_allow_errors()


Constant PARSE_CHECK_ALL_ERRORS

constant Parser.XML.Tree.PARSE_CHECK_ALL_ERRORS

Description

This exists for compatibility only.


Constant PARSE_COMPAT_ALLOW_ERRORS_7_2

constant Parser.XML.Tree.PARSE_COMPAT_ALLOW_ERRORS_7_2

Description

Allow more data (or tags) after the root element. Implies PARSE_COMPAT_ALLOW_ERRORS_7_6.


Constant PARSE_COMPAT_ALLOW_ERRORS_7_6

constant Parser.XML.Tree.PARSE_COMPAT_ALLOW_ERRORS_7_6

Description

Allow multiple and invalidly placed "<?xml ... ?>" and "<!DOCTYPE ... >" declarations (invalid "<?xml ... ?>" declarations are otherwise treated as normal PI:s). Allow "<![CDATA[ ... ]]>" outside the root element. Allow the root element to be absent.


Constant PARSE_DISALLOW_RXML_ENTITIES

constant Parser.XML.Tree.PARSE_DISALLOW_RXML_ENTITIES

Description

Disallow RXML-style entities.

Note that this flag is negated for compatibility.


Constant PARSE_ENABLE_NAMESPACES

constant Parser.XML.Tree.PARSE_ENABLE_NAMESPACES

Description

Enable namespace parser.


Constant PARSE_FORCE_LOWERCASE

constant Parser.XML.Tree.PARSE_FORCE_LOWERCASE

Description

Force all tag names to lower-case.


Constant PARSE_WANT_ERROR_CONTEXT

constant Parser.XML.Tree.PARSE_WANT_ERROR_CONTEXT

Description

Add XML context to error messages.