Sha256: 219cb803a2dc38c85b1db5c6131238e97f6ffef65d2baf665390a08f71a8ca43
Contents?: true
Size: 514 Bytes
Versions: 12
Compression:
Stored size: 514 Bytes
Contents
# # samples/xmlbench/parser/nqxml.rb # # Copyright (C) UENO Katsuhiro 2002 # # $Id: nqxml.rb,v 1.1 2002/12/26 17:32:46 katsu Exp $ # require 'nqxml/streamingparser' require 'nqxml/treeparser' class BenchNQXMLStream < XMLBench def name 'NQXML::StreamingParser' end def parse(src) parser = NQXML::StreamingParser.new(src) parser.instance_eval { @tokenizer.instance_eval { @internalEntities.default = '' } } parser.each { } end end
Version data entries
12 entries across 12 versions & 1 rubygems