Bound the 'myns' XML namespace to keep Nokogiri on JRuby happy.

It appears JRuby's Nokogiri implementation is strict about using unbound XML namespaces.  Since a well-formed doc should have bound namespaces, I just added it here.
This commit is contained in:
Kevin Menard 2013-10-24 18:14:03 -04:00
parent 9b0de600be
commit ee7d1d736c
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ posuere eu odio. Donec sodales, ante porta condimentum
}
@xmlNS = %{
<myns:MyResponse>
<myns:MyResponse xmlns:myns="http://www.example.com/">
<myns:MyObject>
<myns:key1>value1</myns:key1>
<myns:key2>value2</myns:key2>