- Messages
- 187
- Country

First off, here's my version info:
Versions:
Application 01.02.2898
Engine 03.02.2898
CommonLib 01.04.2729
Here is what is happening. I load an airport that
contains "marker" records, either fron an XML file
or a BGL file, do an edit then compile.
I can compile the file the first time and save
it under a new name.
I then reload that new BGL file and attempt to
compile it again, whether edited or not, and the
compilation fails. Note that this is the very same file
that ADE created.
Here's the error data:
ScruffyDuck Scenery Design Engine Compiling
Using FSX BglComp....
Parsing document: K:\FSX Tools\Airport Design Editor\Bgl\KADW_ADE_PDS_yy.xml
INTERNAL COMPILER ERROR: #C2362: Marker keyword MUST have all the following: TYPE, LAT, LON, ALT, and HEADING!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Marker>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Marker
ERROR: lat = 38.7888002023101
ERROR: lon = -76.8705470860004
ERROR: alt = 280.0F
ERROR: type = MIDDLE
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2362: Marker keyword MUST have all the following: TYPE, LAT, LON, ALT, and HEADING!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Marker>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Marker
ERROR: lat = 38.7944777682424
ERROR: lon = -76.8705748021603
ERROR: alt = 280.0F
ERROR: type = INNER
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!
Parse complete!
I've checked the marker data in the input XML file
created by FSX Planner and compared it to the
marker data in the FSX stock airport and the
entries are identical.
Here is the marker data produced by the first, successful
compilation:
<Marker
lat="38.79447776824236"
lon="-76.87057480216026"
alt="85.344M"
type="INNER"
heading="0.0"/>
<Marker
lat="38.83272774517536"
lon="-76.87071964144707"
alt="85.344M"
type="MIDDLE"
heading="178.59375"/>
<Marker
lat="38.8264138251543"
lon="-76.87072232365608"
alt="85.344M"
type="INNER"
heading="178.59375"/>
<Marker
lat="38.78880020231008"
lon="-76.87054708600044"
alt="85.344M"
type="MIDDLE"
heading="0.0"/>
Here is the marker data of the original XML input file:
<Marker
lat="38.83272774517536"
lon="-76.87071964144707"
alt="85.344M"
type="MIDDLE"
heading="178.59375"/>
<Marker
lat="38.79447776824236"
lon="-76.87057480216026"
alt="85.344M"
type="INNER"
heading="358.59375"/>
<Marker
lat="38.78880020231008"
lon="-76.87054708600044"
alt="85.344M"
type="MIDDLE"
heading="358.59375"/>
<Marker
lat="38.8264138251543"
lon="-76.87072232365608"
alt="85.344M"
type="INNER"
heading="178.59375"/>
It would appear there is a conflict with the schema
somewhere along the line.
FSX Planner will compile or re-compile the airport
that was created from the original XML file AND the
BGL file created by ADE after the first successful compilation.
After that, I'm in a catch 22 situation.
I can't re-compile the airport in ADE when I read
it back in and I can only save it in "ADE format", thus I can't edit the file in XML format
to attempt to "fix" the marker entries.
I've gor a saved heavily edited version of
this airport ( KADW ) but I can't compile it
nor can I eliminate the marker records.
In the Navaids list, the "Delete" doesn't.
OK....just did a bunch of tests. The culprit
APPEARS to be the entries of:
heading="0.0"/>
If I load the first ADE output BGL into FSX Planner, save a XML,
and then compile it again ADE will load it but will
not compile without the error. That is with either the
BGL or XML as input.
If I cut & paste the original marker heading
data into the two "0.0" entries, ADE will
compile the file without error.
Bottom line is that ADE is introducing a condition
in the BGL output that it can't handle as an
input condition.
Hope all this makes sense and is helpful.
Paul
Versions:
Application 01.02.2898
Engine 03.02.2898
CommonLib 01.04.2729
Here is what is happening. I load an airport that
contains "marker" records, either fron an XML file
or a BGL file, do an edit then compile.
I can compile the file the first time and save
it under a new name.
I then reload that new BGL file and attempt to
compile it again, whether edited or not, and the
compilation fails. Note that this is the very same file
that ADE created.
Here's the error data:
ScruffyDuck Scenery Design Engine Compiling
Using FSX BglComp....
Parsing document: K:\FSX Tools\Airport Design Editor\Bgl\KADW_ADE_PDS_yy.xml
INTERNAL COMPILER ERROR: #C2362: Marker keyword MUST have all the following: TYPE, LAT, LON, ALT, and HEADING!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Marker>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Marker
ERROR: lat = 38.7888002023101
ERROR: lon = -76.8705470860004
ERROR: alt = 280.0F
ERROR: type = MIDDLE
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2362: Marker keyword MUST have all the following: TYPE, LAT, LON, ALT, and HEADING!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Marker>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Marker
ERROR: lat = 38.7944777682424
ERROR: lon = -76.8705748021603
ERROR: alt = 280.0F
ERROR: type = INNER
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!
Parse complete!
I've checked the marker data in the input XML file
created by FSX Planner and compared it to the
marker data in the FSX stock airport and the
entries are identical.
Here is the marker data produced by the first, successful
compilation:
<Marker
lat="38.79447776824236"
lon="-76.87057480216026"
alt="85.344M"
type="INNER"
heading="0.0"/>
<Marker
lat="38.83272774517536"
lon="-76.87071964144707"
alt="85.344M"
type="MIDDLE"
heading="178.59375"/>
<Marker
lat="38.8264138251543"
lon="-76.87072232365608"
alt="85.344M"
type="INNER"
heading="178.59375"/>
<Marker
lat="38.78880020231008"
lon="-76.87054708600044"
alt="85.344M"
type="MIDDLE"
heading="0.0"/>
Here is the marker data of the original XML input file:
<Marker
lat="38.83272774517536"
lon="-76.87071964144707"
alt="85.344M"
type="MIDDLE"
heading="178.59375"/>
<Marker
lat="38.79447776824236"
lon="-76.87057480216026"
alt="85.344M"
type="INNER"
heading="358.59375"/>
<Marker
lat="38.78880020231008"
lon="-76.87054708600044"
alt="85.344M"
type="MIDDLE"
heading="358.59375"/>
<Marker
lat="38.8264138251543"
lon="-76.87072232365608"
alt="85.344M"
type="INNER"
heading="178.59375"/>
It would appear there is a conflict with the schema
somewhere along the line.
FSX Planner will compile or re-compile the airport
that was created from the original XML file AND the
BGL file created by ADE after the first successful compilation.
After that, I'm in a catch 22 situation.
I can't re-compile the airport in ADE when I read
it back in and I can only save it in "ADE format", thus I can't edit the file in XML format
to attempt to "fix" the marker entries.
I've gor a saved heavily edited version of
this airport ( KADW ) but I can't compile it
nor can I eliminate the marker records.
In the Navaids list, the "Delete" doesn't.
OK....just did a bunch of tests. The culprit
APPEARS to be the entries of:
heading="0.0"/>
If I load the first ADE output BGL into FSX Planner, save a XML,
and then compile it again ADE will load it but will
not compile without the error. That is with either the
BGL or XML as input.
If I cut & paste the original marker heading
data into the two "0.0" entries, ADE will
compile the file without error.
Bottom line is that ADE is introducing a condition
in the BGL output that it can't handle as an
input condition.
Hope all this makes sense and is helpful.
Paul

