#2 ✓resolved
Tom Morris

JRuby seems to be outputting XML differently

Reported by Tom Morris | July 31st, 2008 @ 09:00 PM

shellac reported to me a problem over IRC that he was having with the tests not passing on OS X with jruby-trunk (as per 2008.07.29)

shellac_: 'REXML should allow individual writing-out of XML' FAILED

shellac_: expected: "<html:h1 xmlns:html='http://NoHTML.example.org' xmlns:my='http://my.example.org/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>\n <b xmlns='http://www.w3.org/1999/xhtml'>John</b>\n </html:h1>",

shellac_: got: "<html:h1 xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:html='http://NoHTML.example.org' xmlns:my='http://my.example.org/'>\n <b xmlns='http://www.w3.org/1999/xhtml'>John</b>\n </html:h1>" (using ==)

shellac_: test relies on xmlns ordering :-)

Can anyone replicate this? We should probably start testing on JRuby and other Ruby implementations.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RDF library written in Ruby.

People watching this ticket

Tags

Referenced by

Pages