MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlCtxtSetOptions

Function xmlCtxtSetOptions

ThirdParty/libxml2/vtklibxml2/parser.c:13701–13705  ·  view source on GitHub ↗

* xmlCtxtSetOptions: * @ctxt: an XML parser context * @options: a bitmask of xmlParserOption values * * Applies the options to the parser context. Unset options are * cleared. * * Available since 2.13.0. With older versions, you can use * xmlCtxtUseOptions. * * XML_PARSE_RECOVER * * Enable "recovery" mode which allows non-wellformed documents. * How this mode behaves exactly is unspe

Source from the content-addressed store, hash-verified

13699 * in case of error.
13700 */
13701int
13702xmlCtxtSetOptions(xmlParserCtxtPtr ctxt, int options)
13703{
13704 return(xmlCtxtSetOptionsInternal(ctxt, options, 0));
13705}
13706
13707/**
13708 * xmlCtxtUseOptions:

Callers 2

xmlIOParseDTDFunction · 0.85
xmlSAXParseDTDFunction · 0.85

Calls 1

Tested by

no test coverage detected