Project

General

Profile

Bug #9369 ยป parser.rb

test file for behaviour of parser - herwinw (Herwin Quarantainenet), 01/06/2014 07:30 PM

 
require 'xmlrpc/parser'
document = <<"EOT"
<?xml version="1.0"?>
<methodCall>
<methodName>foo</methodName>
<params>
<param><value><base64>#{["\x00" * (4)].pack('m')}</base64></value>
</param>
</params>
</methodCall>
EOT
p = XMLRPC::XMLParser::XMLScanStreamParser.new()
p.parseMethodCall(document)
    (1-1/1)