Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

JRuby seems to be outputting XML differently

#2

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.

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

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Tom Morris
    Tom Morris

    (from [798d1ef41b748ab5216bc1014fc1be3fbc58d682]) Updating rexml hacks test so that they pass on JRuby(?) [#2]

    http://github.com/tommorris/rena...

    July 29th, 2008 @ 09:12 PM

  2. Tom Morris
    Tom Morris
    • State changed from new to resolved

    (from [bbfd547ba1cf863c69dc380f35e446770f3df38c]) replicated the error in #2 JRuby seems to be outputting XML differently, modified tests so they run properly on JRuby and added a Rake task ('jspec') so that one can run the spec tests on JRuby. [#2 state:resolved]

    http://github.com/tommorris/rena...

    July 30th, 2008 @ 12:16 AM

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.