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.