> > void
> > readXML (istream &input, XMLVisitor &visitor, const string &path)
> > {
> >   XML_Parser parser = XML_ParserCreate(0);
>
> > .......
>
> >       XML_ParserFree(parser);
> > cout << "A-3" << endl;
> >
> >       throw sg_io_exception("Problem reading file",
> >                             sg_location(path,
> >                                         XML_GetCurrentLineNumber(parser),
>
>
> What happens to parser after the call to XML_ParserFree(parser)?  Can it still
> be referenced after that?
>
> Dave

That's interesting. I wonder. Still, I think the problem is occurring earlier, 
because for
some reason the check for input.good() is returning "bad". I have no idea why.

Jon


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to