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' FAILEDshellac_: 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
-
Tom Morris July 29th, 2008 @ 09:12 PM
(from [798d1ef41b748ab5216bc1014fc1be3fbc58d682]) Updating rexml hacks test so that they pass on JRuby(?) [#2]
-
Tom Morris July 30th, 2008 @ 12:16 AM
- State changed from new to resolved
(from [bbfd547ba1cf863c69dc380f35e446770f3df38c]) replicated the error in #2, 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]
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.
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
Referenced by
- 2 JRuby seems to be outputting XML differently (from [bbfd547ba1cf863c69dc380f35e446770f3df38c]) replic...