• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 ADE Compiler error

Messages
1,604
Country
germany
Hello Jon,

sorry to report a problem:

Compiler Errors Found. These were not identified by the Issue Manager. Please let us know
what the compiler error is so that we can improve the Issue Manager.

The compiler message is shown below

ScruffyDuck Scenery Design Engine Compiling
Using BglComp....


Parsing document: E:\FS2004SC\GA2_FS2002\Scenery\zzz_EDDK_ADE9_HGS.xml


ERROR: This TAXI_PARKING index has already been defined.ERROR C2031: Failed element parse <TaxiwayParking>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Germany
ERROR: city = Cologne-Bonn
ERROR: name = Cologne-Bonn
ERROR: lat = 50.8667431399226
ERROR: lon = 7.14145839214325
ERROR: alt = 92.049M
ERROR: magvar = 1
ERROR: ident = EDDK
ERROR: >
ERROR: <TaxiwayParking
ERROR: index = 57
ERROR: lat = 50.8682339138272
ERROR: lon = 7.13889747222209
ERROR: heading = 229
ERROR: radius = 32.0M
ERROR: type = RAMP_CARGO
ERROR: name = GATE_F
ERROR: number = 49
ERROR: airlineCodes = UPS
ERROR: pushBack = BOTH
ERROR: >
ERROR:

ERROR: This TAXI_PARKING index has already been defined.ERROR C2031: Failed element parse <TaxiwayParking>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Germany
ERROR: city = Cologne-Bonn
ERROR: name = Cologne-Bonn
ERROR: lat = 50.8667431399226
ERROR: lon = 7.14145839214325
ERROR: alt = 92.049M
ERROR: magvar = 1
ERROR: ident = EDDK
ERROR: >
ERROR: <TaxiwayParking
ERROR: index = 58
ERROR: lat = 50.8714774984826
ERROR: lon = 7.13435103554376
ERROR: heading = 229
ERROR: radius = 32.0M
ERROR: type = RAMP_CARGO
ERROR: name = GATE_F
ERROR: number = 50
ERROR: airlineCodes = UPS
ERROR: pushBack = BOTH
ERROR: >
ERROR:

ERROR: This TAXI_PARKING index has already been defined.ERROR C2031: Failed element parse <TaxiwayParking>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Germany
ERROR: city = Cologne-Bonn
ERROR: name = Cologne-Bonn
ERROR: lat = 50.8667431399226
ERROR: lon = 7.14145839214325
ERROR: alt = 92.049M
ERROR: magvar = 1
ERROR: ident = EDDK
ERROR: >
ERROR: <TaxiwayParking
ERROR: index = 56
ERROR: lat = 50.8718417084275
ERROR: lon = 7.13384316323554
ERROR: heading = 229
ERROR: radius = 32.0M
ERROR: type = RAMP_CARGO
ERROR: name = GATE_F
ERROR: number = 51
ERROR: airlineCodes = UPS
ERROR: pushBack = BOTH
ERROR: >
ERROR:

ERROR: This TAXI_PARKING index has already been defined.ERROR C2031: Failed element parse <TaxiwayParking>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Germany
ERROR: city = Cologne-Bonn
ERROR: name = Cologne-Bonn
ERROR: lat = 50.8667431399226
ERROR: lon = 7.14145839214325
ERROR: alt = 92.049M
ERROR: magvar = 1
ERROR: ident = EDDK
ERROR: >
ERROR: <TaxiwayParking
ERROR: index = 57
ERROR: lat = 50.8722407361929
ERROR: lon = 7.13331351400359
ERROR: heading = 229
ERROR: radius = 32.0M
ERROR: type = RAMP_CARGO
ERROR: name = GATE_F
ERROR: number = 52
ERROR: airlineCodes = UPS
ERROR: pushBack = BOTH
ERROR: >
ERROR:

ERROR: This TAXI_PARKING index has already been defined.ERROR C2031: Failed element parse <TaxiwayParking>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Germany
ERROR: city = Cologne-Bonn
ERROR: name = Cologne-Bonn
ERROR: lat = 50.8667431399226
ERROR: lon = 7.14145839214325
ERROR: alt = 92.049M
ERROR: magvar = 1
ERROR: ident = EDDK
ERROR: >
ERROR: <TaxiwayParking
ERROR: index = 58
ERROR: lat = 50.872610212062
ERROR: lon = 7.1327864225882
ERROR: heading = 229
ERROR: radius = 32.0M
ERROR: type = RAMP_CARGO
ERROR: name = GATE_F
ERROR: number = 53
ERROR: airlineCodes = UPS
ERROR: pushBack = BOTH
ERROR: >
ERROR:

ERROR: Compilation errors detected, compilation failed!

Parse complete!

No faults reported, green lower corner...
(the parkings were created by copy and paste...)

after deleting them compiling was okay..

best regards
Guenther
 
Was this airport created only with ADE?

Does the fault finder find the problems?

Sent from my Sony Xperia with Tapatalk 2
 
Was this airport created only with ADE?

I am updating a very old AFCAD of a payware EDDK...

Does the fault finder find the problems?

no
Sent from my Sony Xperia with Tapatalk 2

in between I could insert these parkings without problems.

I suppose it was a "copy and paste" problem...
 
in between I could insert these parkings without problems.

I suppose it was a "copy and paste" problem...

OK - copy and paste would be sure to create an issue. As I recall it will just make a copy of an object - should not really be allowed for parking since there is then no control over the index and hence the problem. I am adding this to my list to investigate.
 
thanks Jon,

sorry about the late answer, I was gone fishing some hours :)

copy and multiple paste of parkings works nearly every time.
The pasted parkings get a correct number (+1 to the parking before).

But perhaps, if I copy a parking with a number that is not the highest number the error could occur(?)

:confused:
 
thanks Jon,

sorry about the late answer, I was gone fishing some hours :)

copy and multiple paste of parkings works nearly every time.
The pasted parkings get a correct number (+1 to the parking before).

But perhaps, if I copy a parking with a number that is not the highest number the error could occur(?)

:confused:

Did you catch any fish ?

Well that is interesting - I have not checked the code and but did think I would have noticed the indexer issue. I will do some tests and we can take it from there.........
 
Well better than a supermarket cart!
 
I have checked the code on this and it seems that any time a parking spot is pasted the index is incremented so I am not sure how it can happen. However I will add some code to the Issue Manager to report this if it happens.

EDIT
Actually there might be a way if somehow the parking list collection is compacted or re-indexed and then a paste is made. I will see if I can replicate that. Also I will add some more checking code.

EDIT 2
Well I thought there was a way since sometimes ADE will re-index the parking. However I have not been able to replicate it yet :(
 
Last edited:
Hi Jon,

dont waste your time if nobody else reports the same problem, I could find a a bypass.

I dont know if I could find a way to recreate this specific situation.

No supermarket cart today morning, but also no fish on a very foggy day.
:)
 
Hi Jon,

dont waste your time if nobody else reports the same problem, I could find a a bypass.

I dont know if I could find a way to recreate this specific situation.

No supermarket cart today morning, but also no fish on a very foggy day.
:)

OK - but I am interested that the code has the possibility to fail. Shame no fish :(

It has been a beautiful day here in Wales but now the sun is gone it is getting cold again.
 
OK. Thanks

Sent from my Sony Xperia with Tapatalk 2
 
Hi Jon,

Can you please assist with this error I get when trying to compile.

Parsing document: C:\FltSim2004\Barlog\FAHS - AFB Hoedspruit\Scenery\FAHS_ADE9_WX360.xml

ERROR C2033: XML Parse Error (line, column, error)
ERROR: 223, 30, enumeration constraint failed.

The attribute: 'system' has an invalid value according to its data type.

ERROR C2033: XML Parse Error (line, column, error)
ERROR: 230, 30, enumeration constraint failed.

The attribute: 'system' has an invalid value according to its data type.

ERROR: Schema errors detected, compilation failed!

Parse complete!


Regards
Brian
 
Brian

Please send me the project file FAHS-ADE9_WX360.ad4 (or .ad3 if you are not using the current version of ADE) - zip it and email it to jon AT scruffyduck DOT co DOT uk
 
Back
Top