Sha256: b5cf64d224b7a3ee86b37e9e38b31713e511c2f0a0246db02552fd7a22eb84e9

Contents?: true

Size: 1.2 KB

Versions: 24

Compression:

Stored size: 1.2 KB

Contents

# $Id: libxml.rb 374 2008-07-11 04:51:41Z cfis $ 

module LibXML
  module XML
    module XMLParserOptions
      XML_PARSE_RECOVER = 1 # recover on errors
      XML_PARSE_NOENT = 2 # substitute entities
      XML_PARSE_DTDLOAD = 4 # load the external subset
      XML_PARSE_DTDATTR = 8 # default DTD attributes
      XML_PARSE_DTDVALID = 16 # validate with the DTD
      XML_PARSE_NOERROR = 32 # suppress error reports
      XML_PARSE_NOWARNING = 64 # suppress warning reports
      XML_PARSE_PEDANTIC = 128 # pedantic error reporting
      XML_PARSE_NOBLANKS = 256 # remove blank nodes
      XML_PARSE_SAX1 = 512 # use the SAX1 interface internally
      XML_PARSE_XINCLUDE = 1024 # Implement XInclude substitition
      XML_PARSE_NONET = 2048 # Forbid network access
      XML_PARSE_NODICT = 4096 # Do not reuse the context dictionnary
      XML_PARSE_NSCLEAN = 8192 # remove redundant namespaces declarations
      XML_PARSE_NOCDATA = 16384 # merge CDATA as text nodes
      XML_PARSE_NOXINCNODE = 32768 # do not generate XINCLUDE START/END nodes
      XML_PARSE_COMPACT = 65536 # compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree)
    end
  end
end  

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
libxml-ruby-0.9.6 lib/libxml/parser_options.rb
libxml-ruby-0.9.6-x86-mswin32-60 lib/libxml/parser_options.rb
libxml-ruby-0.9.7 lib/libxml/parser_options.rb
libxml-ruby-0.9.7-x86-mswin32-60 lib/libxml/parser_options.rb