>> require 'fast_xs'
=> true
>> " ' ".fast_xs
=> " ' "
>> "\"".fast_xs
=> """
But in JRuby 1.4RC1, the escaping is different.
jruby-1.4.0RC1 > require 'fast_xs'
=> true
jruby-1.4.0RC1 > " ' ".fast_xs
=> " ' "
jruby-1.4.0RC1 > "\"".fast_xs
=> """
We would like to achieve the MRI behavior in order to be consistent
with other parts of the code. Where can we modifiy the existing
fast_xs implementation? Or what can we use as an alternative?
Serguei
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
> We would like to achieve the MRI behavior in order to be consistent
> with other parts of the code. Where can we modifiy the existing
> fast_xs implementation? Or what can we use as an alternative?
Are you using the same version of hpricot in both cases?
Damian
-Tom
--
blog: http://blog.enebo.com twitter: tom_enebo
mail: tom....@gmail.com
Removing this and a line from a static initializer fixes this, but I
am wondering whether perhaps someone needs to review all of the other
things getting escaped here...When I compare the C extension code to
the Java stuff, the Java stuff has many many more explicit
conversions. I certainly think we are in a position to quickly spin
a new version of hpricot, but someone with more knowledge of what
hpricot should be doing needs to resolve the differences between these
two lists of escaping.
-Tom