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

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

2006-03-20 Thread Phil Cazzola
  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 cases).     Phil - Original Message - From:

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

2006-03-20 Thread Jon S. Berndt
: [Flightgear-devel] RE: Re: easyxml.cxx tweak   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.   Result: Crash. If I run dos2unix, it

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

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

2006-03-20 Thread Phil Cazzola
  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.   Result: Crash. If I run dos2unix, it parses.  See below.   The error on the second run is because I did n