module LibXML::XML::Parser::Options
Options
that control the operation of the HTMLParser
. The easiest way to set a parser’s options is to use the methods XML::Parser.file
, XML::Parser.io
or XML::Parser.string
. For additional control, see XML::Parser::Context#options=
.
Constants
- BIG_LINES
Store big lines numbers in text PSVI field
- COMPACT
compact small text nodes
- DTDATTR
default DTD attributes
- DTDLOAD
load the external subset
- DTDVALID
validate with the DTD
- HUGE
relax any hardcoded limit from the parser
- IGNORE_ENC
ignore internal document encoding hint
- NOBASEFIX
base uris
- NOBLANKS
remove blank nodes
- NOCDATA
merge CDATA as text nodes
- NODICT
Do not reuse the context dictionnary
- NOENT
substitute entities
- NOERROR
suppress error reports
- NONET
Forbid network access
- NOWARNING
suppress warning reports
- NOXINCNODE
do not generate
XINCLUDE
START/END nodes- NSCLEAN
remove redundant namespaces declarations
- OLD10
parse using XML-1.0 before update 5
- OLDSAX
parse using SAX2 interface before 2.7.0
- PEDANTIC
pedantic error reporting
- RECOVER
recover on errors
- SAX1
use the
SAX1
interface internally- XINCLUDE
Implement
XInclude
substitition