[libxml-devel] Seg fault when trying to parse empty string

Dan Janowski danj at 3skel.com
Mon Dec 3 13:17:09 EST 2007


svn #221 catches this problem now. There are a variety of ways to  
seed the parser, not sure there is a preferred way.

Dan

On Dec 3, 2007, at 11:54, Christopher J. Bottaro wrote:

> Hello,
>
> This code segment segfaults:
>
> p = XML::Parser.new
> p.string = ''
> p.parse
>
> I'm using revision 220.
>
> Btw, is that the preferred way to load XML from a string instead of  
> a file?
>
> Thanks.
> _______________________________________________
> libxml-devel mailing list
> libxml-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/libxml-devel



More information about the libxml-devel mailing list