Charlie Savage wrote:
> Does the underlying libxml library support this usage?  If yes, then I'm 
> sure we can figure out how to support it.

I've found no appropriate options in libxml2 so far.

> I do wonder though - if you're parsing xml as it is streamed in, how do you 
> avoid ill-formed xml (say only partially finished elements "</f?

Because it is a stream the parser should of course wait for the '>'
before raising the end_element event.

BTW, my patch might not be perfect yet as xmlParseChunk() is called with
finalize=1 only in the destructor. There's currently no way to reach
that from the Ruby side except by waiting for the GC.


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

Reply via email to