[libxml-devel] Odd Segmentation Faults

2009-02-08 Thread Michael Xavier
Hi. I've been using libxml-ruby 0.98 recently to validate XML messages that two of my apps send to eachother against some dtds in a rails project which I have stored in lib/dtds. Everything has been working great but I'm having some problems with nested attributes in my dtds. Models can potential

Re: [libxml-devel] Odd Segmentation Faults

2009-02-09 Thread Michael Xavier
Oh, sorry my bad. lib/dtds/product.dtd is: For the test case I created a directory libxmltest with the path lib/ dtds/ containing product.dtd and definition.dtd My script looks like: ##test_libxml.rb require 'rubygems' require 'xml' xml = ' 1 new def reasoning new def body

Re: [libxml-devel] Odd Segmentation Faults

2009-02-18 Thread Michael Xavier
On Feb 8, 4:01 pm, Charlie Savage wrote: > Hi Michael, > > >   > >   %product; > > >>From that I get: > > ./app/models/queue_item.rb:44: [BUG] Segmentation fault > > Line 44 is:     dtd = XML::Dtd.new(File.read(Rails.root + "/lib/dtds/" > > + dtd_filename)) > > where dtd_filename is definition.