> Well, we might have different opinions on what libxml should do with bad input
> (I agree that segfaulting isn't very nice). That said, I can't imagine parsing
> bytes in the wild as "xml" and not doing a lot of error handling.

Will putting the code snippet in a begin-rescue block help? I'll do
that right away, but a begin-rescue block will help only if libxml
doesn't segfault. I hope the segfault is not due to the way I'm
parsing the XML. WIll using XML::Document.parse(xml) help?

Saurabh.
-- 
http://nandz.blogspot.com
http://foodieforlife.blogspot.com
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to