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
Returns default options for parsing XML documents.
Enum
Enum
Enum
Comparable(Enum)
Value
Object
Object
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/XML/ParserOptions.html