On Wed, 27 Dec 2006 10:22:21 -0000, Andrew S. Townley <[EMAIL PROTECTED]>  
wrote:

> Hi,
>
> I'm looking for a good SAX implementation for Ruby to do some XML
> parsing.  I see from the mailing list archives you've just added the
> pull-based XML::Reader based on the Microsoft C# API, but I want "real"
> SAX-based event-driven parsing.
>

Are you sure? The new reader API is nice... :)

> I also noticed that the current support for this in the library is based
> on the now deprecated SAXv1 interface rather than the newer SAX2
> interface.  Is there any plans to migrate this or change it?  Also, I
> think it would be worthwhile implementing a filter mechanism similar to
> the Java SAX API's XMLReader, XMLFilter and friends (originally, I saw
> the XML::Reader subject in the archives and thought it may have been
> already done).
>
> Any info would be most appreciated.  My C is really rusty (did a little
> about 3 years ago, but haven't seriously done anything with it for about
> 6 years), and I've never written a Ruby extension before.  However, I'd
> really rather use Ruby for my project than Python (which already has all
> of this stuff) because I just like Ruby better.  I might be able to
> help, but I probably won't be the most efficient person in the world to
> do this.
>

There are no current plans integrate the SAX2 interface from libxml2, but  
that's not to say there never will be. If you're willing to help there's a  
better chance it'll happen, but right now I don't have the time myself to  
work on it. I think it's a great idea to

Alternatively, you could file a feature request at [1], so anyone else who  
wants this will know they're not alone (and so will we ;)).

Cheers,
Ross

[1] http://rubyforge.org/tracker/?atid=1974&group_id=494&func=browse

-- 
Ross Bamford - [EMAIL PROTECTED]
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to