On Nov 26, 2006, at 10:18 PM, Laurent Sansonetti wrote:

> Hi guys,
>
> I just had the need to parse a very big XML file from Ruby, and the
> available libxml-ruby APIs didn't seem to be efficient and flexible
> enough for this task. So I added bindings to the xmlTextReader API to
> the project, just for my need, and it appears to work pretty well.

I didn't know about the XmlTextReader, so I read stuff about it [0]  
-- and it looks good to me. (Python already supports it.)

The C# page [1] says: "This class provides forward-only, read-only  
access to a character stream of XML data. This class enforces the  
rules of well-formed XML but does not perform data validation."

Laurent, have you begun with the wellformedness validation stuff, too?

cheers,
    Olle
    casual bystander

[0]: http://xmlsoft.org/xmlreader.html
[1]: http://dotgnu.org/pnetlib-doc/System/Xml/XmlTextReader.html

>
> So I was just wondering, is there a reason why the xmlTextReader API
> isn't already wrapped, and would you be interested in such a
> contribution? If yes I can clean the code, add some test cases and
> send you a patch against CVS.
>
> Cheers,
> Laurent
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to