Re: [Flightgear-devel] RE: Re: easyxml.cxx tweak

2006-03-21 Thread David Megginson
On 20/03/06, Jon S. Berndt <[EMAIL PROTECTED]> wrote: > I stepped through the code. It *appears* that the line endings were NOT > handled by expat. There could be issues with tabs, spaces, or DOS line > endings. Not sure. Do you have a tiny test program that you used to check? Thanks, David

RE: [Flightgear-devel] RE: Re: easyxml.cxx tweak

2006-03-20 Thread Jon S. Berndt
> While there could be bugs there, they shouldn't be related to line > ends. Expat (underneath EasyXML) will have normalized all of the line > ends before JSBSim ever sees the data. > > David I stepped through the code. It *appears* that the line endings were NOT handled by expat. There could be

Re: [Flightgear-devel] Re: Re: easyxml.cxx tweak

2006-03-20 Thread David Megginson
On 20/03/06, Phil Cazzola <[EMAIL PROTECTED]> wrote: > Just more info > > The core dump is from easyxml.cxx:267. > > It is easy enough to understand. > > If there is an error readXML() calls XML_ParserFree twice. > After calling XML_ParserFree there should probably be a return statement (3

RE: [Flightgear-devel] RE: Re: easyxml.cxx tweak

2006-03-20 Thread Jon S. Berndt
Thanks - this is another data point I can test. I really appreciate these bug reports.   Jon -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Phil CazzolaSent: Monday, March 20, 2006 6:29 PMTo: flightgear-devel@lists.sourceforge.netSubject:

Re: [Flightgear-devel] RE: Re: easyxml.cxx tweak

2006-03-20 Thread David Megginson
On 20/03/06, Phil Cazzola <[EMAIL PROTECTED]> wrote: > I can reproduce it (at least on my machine), right out of the box. > I checked out a clean JSB, built it and ran with the f15 config. > CVS will be giving me DOS style end of lines here. I'd still suggest running it through a regular XML p