[ANN] JREXML 0.5

View: New views
7 Messages — Rating Filter:   Alert me  

[ANN] JREXML 0.5

by Nick Sieger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JREXML is a library that speeds up REXML performance by almost 10x under JRuby.

See the benchmark:

http://pastie.caboo.se/85850

Read about it:

http://caldersphere.rubyforge.org/jrexml/

Get it:

jruby -S gem install jrexml

Let me know how it works for you.

/Nick

Re: [ANN] JREXML 0.5

by Charles Oliver Nutter-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nick Sieger wrote:
> JREXML is a library that speeds up REXML performance by almost 10x under
> JRuby.

Wow cool...and it just sits quietly under REXML making things go fast?
Any other benefits like more-correct validation during parse?

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: [ANN] JREXML 0.5

by Nick Sieger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 8/8/07, Charles Oliver Nutter <charles.nutter@...> wrote:
Nick Sieger wrote:
> JREXML is a library that speeds up REXML performance by almost 10x under
> JRuby.

Wow cool...and it just sits quietly under REXML making things go fast?
Any other benefits like more-correct validation during parse?

Actually, yes.  Some malformed XML previously got by REXML, but apparently REXML has gotten better recently.  Still, it'll raise a ParseException on any underlying exception from the Java XPP3 parser.

/Nick


Re: [ANN] JREXML 0.5

by Raphaël Valyi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On 8/8/07, Nick Sieger <nicksieger@...> wrote:

jruby -S gem install jrexml

Let me know how it works for you.

/Nick

Hey Nick, it doesn't work for me:
gems from http://gems.rubyforge.org
....................
complete
ERROR:  While executing gem ... (OpenURI::HTTPError)
    404 Not Found

I couldn't find the gem on RubyForge either, are you sure everything is OK?

Regards,

Raphaël Valyi.

Re: [ANN] JREXML 0.5

by Bill Dortch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
On 8/9/07, Raphaël Valyi <rvalyi@...> wrote:

Hey Nick, it doesn't work for me:
gems from http://gems.rubyforge.org
....................
complete
ERROR:  While executing gem ... (OpenURI::HTTPError)
    404 Not Found

FYI, I encountered the same problem. But I had no problem downloading the gem directly from the Caldersphere project page ( http://rubyforge.org/projects/caldersphere).

Very cool, Nick!

-Bill

RE: [ANN] JREXML 0.5

by Ronald Fischer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hey Nick, it doesn't work for me:
> gems from http://gems.rubyforge.org
> ....................
> complete
> ERROR:  While executing gem ... (OpenURI::HTTPError)
>    404 Not Found
>
> I couldn't find the gem on RubyForge either, are you sure
everything is OK?

I believe that there is an error at gems.rubyforge.org. At least since
yesterday, the site seems to be broken. I will post a message about this
on Ruby-Talk, if this hasn't been done by someone anyway.

If you already *have* a sufficiently new version of gem on your
computer,
can you execute it like this,

  gem install -r jrexml

?

Ronald

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: [ANN] JREXML 0.5

by Nick Sieger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 8/10/07, Ronald Fischer <ronald.fischer@...> wrote:
>       Hey Nick, it doesn't work for me:
>       gems from http://gems.rubyforge.org
>       ....................
>       complete
>       ERROR:  While executing gem ... (OpenURI::HTTPError)
>           404 Not Found
>
>       I couldn't find the gem on RubyForge either, are you sure
everything is OK?

I believe that there is an error at gems.rubyforge.org . At least since
yesterday, the site seems to be broken. I will post a message about this
on Ruby-Talk, if this hasn't been done by someone anyway.

If you already *have* a sufficiently new version of gem on your
computer,
can you execute it like this,

  gem install -r jrexml

More or less.  Just download the gem from the project page, and "gem install jrexml-0.5.2.gem" (ensuring you're using JRuby's gem command) or "jruby -S gem install jrexml-0.5.2.gem".  I also have the gem hosted on my site, so you can "gem install --source http://caldersphere.net jrexml" as well.

/Nick

LightInTheBox - Buy quality products at wholesale price!