I've been working on creating a libxml-jruby gem, which emulates the
libxml-ruby interface by wrapping Java classes.  My main focus at this
point is to be able to install libxml-jruby under JRuby and use it as
if it were libxml-ruby under MRI.  Throughout my exploration of
libxml-ruby I've come across a few things that I may need some
clarification on.

First and foremost, there are a few tests in trunk that are either
resulting in failure or error.  I have attached two patches that fixes
one failure and one error.  I was going to post these on libxml-ruby's
bug tracker on rubyforge, however, I wasn't sure if patches for trunk
really belong there..?

The first patch 0001-fixed-assertions-in-NS-tests.patch fixes some
incorrectly constructed assertions.  The second patch
0002-make-sure-stringio-is-required-prior-to-creating-an.patch makes
sure to require 'stringio' prior to creating an instance in the parser
tests.

While scanning the libxml-ruby forums on Rubyforge I came across this
thread http://rubyforge.org/forum/forum.php?thread_id=24497&forum_id=2129
that asks about creating an XML::Document from a string.  In this
thread Charlie Savage asked if Phillip Bogle could provide a patch to
add the HPricot helper methods.  I went ahead and created patches for
Phillip's enhancements:

http://rubyforge.org/tracker/index.php?func=detail&aid=22147&group_id=494&atid=1973
http://rubyforge.org/tracker/index.php?func=detail&aid=22148&group_id=494&atid=1973

I've run across a few other typos in the documentation, I'll be
working up patches for these later this week.

Thanks,
Michael Guterl

Attachment: 0001-fixed-assertions-in-NS-tests.patch
Description: Binary data

Attachment: 0002-make-sure-stringio-is-required-prior-to-creating-an.patch
Description: Binary data

_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to