Hans Ulrich Niedermann wrote:

> recently one of my aircraft had invalid XML, and the parser duly threw
> an exception. Unfortunately, fgInitFDM() considered it appropriate to
> report the error as
> 
>    ,----
>    | FlightGear aborting
>    `----
> 
> and actually aborting FlightGear instead of at least printing something
> potentially helpful like
> 
>    ,----
>    | Error reading default aircraft: not well-formed
>    |  at /path/to/data/Aircraft/AN-225/AN-225-set.xml,
>    | line 11, column 1
>    `----

Indeed, such error reporting would be terribly nice, last but not least
at malformed/missing aircraft Model files,

        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to