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

2007-12-03 Thread Christopher J. Bottaro
Cool, thanks for that quick fix. Got another one though... d = XML::Document.new d.find('/blah') Thanks again. On Dec 3, 2007 12:17 PM, Dan Janowski <[EMAIL PROTECTED]> wrote: > svn #221 catches this problem now. There are a variety of ways to > seed the parser, not sure there is a preferred wa

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

2007-12-03 Thread Dan Janowski
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 2

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

2007-12-03 Thread Christopher J. Bottaro
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@rubyforge.org http://