Sha256: 74a2739750ca734ae931e0cfa69d21ac5c2982e028b6af4970d472e2e4100367
Contents?: true
Size: 930 Bytes
Versions: 12
Compression:
Stored size: 930 Bytes
Contents
# # samples/xmlbench/parser/xmlscan-0.0.10.rb # # Copyright (C) UENO Katsuhiro 2002 # # $Id: xmlscan-0.0.10.rb,v 1.1 2002/12/26 17:32:46 katsu Exp $ # require 'xmlscan' class BenchXMLScan0010 < XMLBench class Scanner < XMLScanner def entityref_literal(ref) '' end end def name 'xmlscan-0.0.10 XMLScanner' end def parse(src) Scanner.new.parse src end end class BenchXMLScan0010Parser < XMLBench class Scanner < WellFormedXMLScanner def entityref_literal(ref) '' end end def name 'xmlscan-0.0.10 WellFormed' end def parse(src) Scanner.new.parse src end end class BenchXMLScan0010ParserNamespace < XMLBench class Scanner < XMLScannerWithNamespace def entityref_literal(ref) '' end end def name 'xmlscan-0.0.10 Namespace' end def parse(src) Scanner.new.parse src end end
Version data entries
12 entries across 12 versions & 1 rubygems