A raw Dynarex file in RowX format containing a single record doesn't get read properly

require 'dynarex'

s =<<EOF
<?dynarex schema="contacts/contact(fullname, tel)"?>
--+

fullname: David Smith
tel: 0132 453 6564

EOF

dx = Dynarex.new
dx.import s
puts dx.to_h
#=> {:fullname=>"", :tel=>"0132 453 6564"}

Tags:
Source:
1350hrs.txt
Published:
13-12-2015 13:50