1 Recover on errors
2 Substitute entities
4 Load the external subset
8 Default DTD attributes
16 Validate with the DTD
32 Suppress error reports
64 Suppress warning reports
128 Pedantic error reporting
256 Remove blank nodes
512 Use the SAX1 interface internally
1024 Implement XInclude substitution
2048 Forbid network access
4096 Do not reuse the context dictionary
8192 Remove redundant namespaces declarations
16384 Merge CDATA as text nodes
32768 Do not generate XINCLUDE START/END nodes
65536 Compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree)
131072 Parse using XML-1.0 before update 5
262144 Do not fixup XINCLUDE xml:base uris
524288 Relax any hardcoded limit from the parser
1048576 Parse using SAX2 interface before 2.7.0
2097152 Ignore internal document encoding hint
4194304 Store big lines numbers in text PSVI field
0 8388607 Returns default options for parsing XML documents.
Returns true if this enum value contains BIG_LINES
Returns true if this enum value contains COMPACT
Returns true if this enum value contains DTDATTR
Returns true if this enum value contains DTDLOAD
Returns true if this enum value contains DTDVALID
Returns true if this enum value contains HUGE
Returns true if this enum value contains IGNORE_ENC
Returns true if this enum value contains NOBASEFIX
Returns true if this enum value contains NOBLANKS
Returns true if this enum value contains NOCDATA
Returns true if this enum value contains NODICT
Returns true if this enum value contains NOENT
Returns true if this enum value contains NOERROR
Returns true if this enum value contains NONET
Returns true if this enum value contains NOWARNING
Returns true if this enum value contains NOXINCNODE
Returns true if this enum value contains NSCLEAN
Returns true if this enum value contains OLD10
Returns true if this enum value contains OLDSAX
Returns true if this enum value contains PEDANTIC
Returns true if this enum value contains RECOVER
Returns true if this enum value contains SAX1
Returns true if this enum value contains XINCLUDE
Enum
Enum
Enum
Enum
Comparable(Enum)
Value
Object
Object
Object
Returns true if this enum value contains IGNORE_ENC
Returns true if this enum value contains NOXINCNODE
© 2012–2026 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.19.0/XML/ParserOptions.html