ok both this mail and the previous mail show the same pathology. it's instructional!
On Thu, 28 Feb 2002, Christian Kruse wrote: > Hoi, > > On Thu, 28 Feb 2002 12:15:39 -0800 (PST) > John Utz <[EMAIL PROTECTED]> wrote: > > > Could i suggest a further test? > > Please :-) > > > try SEnumval or SAXPrint or DOMPrint and see what you get. > > #0 0x282541c7 in XMLURL::parse (this=0x0, urlText=0x0) at XMLURL.cpp:852 > 852 while (*srcPtr) > (gdb) bt > #0 0x282541c7 in XMLURL::parse (this=0x0, urlText=0x0) at XMLURL.cpp:852 > (gdb) OK, we see here that the 'this' pointer and the urlText string are NULL! i assume that the this is supposed to point to the XMLURL instance but i dont really know. > Output: > <?xml version="1.0" encoding="LATIN1"?> > Segmentation fault (core dumped) > > wich is really silly: my xml file is something different: :-) i am guessing that it's trying to make somthing out of nothing, and LATIN1 ends up being the default...... > test.xml: > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE blah SYSTEM "test.dtd"> > > <blah> > <blub/> > <blah> > <blub/> > </blah> > </blah> > > test.dtd: > <!ELEMENT blah ((blah|blub)+)> > <!ELEMENT blub EMPTY> really nice trivial example! great for this sort of thing.... ok, the next step, where it me ( which it isnt, because i have a big high visibility paper to write today that somebody else has to present, so i *really* dont want to embarrass him! ), i'd step all the way thru ( it's a pain in the ass, but...) and watch what happens to the variables that either went NULL, or where never new'd in the first place.... the place where they get initialized would be the most interesting. you could probably grep around a bit and then just set a breakpoint close to where they get set up and thus avoid much 's'-ing.... > Greets, > CK > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
