• 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.

Compilation Error - Missing VASI statments

Messages
2
Country
australia
Using the latest version of FSX Planner, the xml file fails to compile to bgl , error is that the VASI type entries are blank ie type="" , once this is manually corrected, compilation will work.
 
Yep, I'm seeing something like that trying to recompile YMML. I thought that it was me, but I tried to recompile the standard, unedited file, and got the same messages.
I also noticed that the standard airport shows three errors to do with starting point heights, but it makes no difference whether I change them or not.

What do I have to modify, please, to get around these errors.

Below is the text of the messages that I get back from the standard YMML recompile.

Thanking you in anticipation.

"
Parsing document: Melbourne Intl YMML.xml

INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 1610, 17, enumeration constraint failed.

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

INTERNAL COMPILER ERROR: #C2521: Invalid type tag ().
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Vasi>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Australia
ERROR: state = Victoria
ERROR: city = Melbourne
ERROR: name = Melbourne Intl
ERROR: lat = -37.67333317548037
ERROR: lon = 144.84333336353302
ERROR: alt = 132.283M
ERROR: magvar = -11.0
ERROR: ident = YMML
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Runway
ERROR: lat = -37.66949024051428
ERROR: lon = 144.83795285224915
ERROR: alt = 132.283M
ERROR: surface = ASPHALT
ERROR: heading = 171.58
ERROR: length = 3661.8672M
ERROR: width = 45.1104M
ERROR: number = 16
ERROR: designator = NONE
ERROR: patternAltitude = 304.8M
ERROR: primaryTakeoff = TRUE
ERROR: primaryLanding = TRUE
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = TRUE
ERROR: secondaryLanding = TRUE
ERROR: secondaryPattern = LEFT
ERROR: primaryMarkingBias = 0.0M
ERROR: secondaryMarkingBias = 0.0M
ERROR: >
ERROR: <Vasi
ERROR: end = PRIMARY
ERROR: type =
ERROR: side = LEFT
ERROR: biasX = 28.6512M
ERROR: biasZ = 1602.3336M
ERROR: spacing = 91.44M
ERROR: pitch = 3.0
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 1618, 17, enumeration constraint failed.

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

INTERNAL COMPILER ERROR: #C2521: Invalid type tag ().
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Vasi>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Australia
ERROR: state = Victoria
ERROR: city = Melbourne
ERROR: name = Melbourne Intl
ERROR: lat = -37.67333317548037
ERROR: lon = 144.84333336353302
ERROR: alt = 132.283M
ERROR: magvar = -11.0
ERROR: ident = YMML
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Runway
ERROR: lat = -37.66949024051428
ERROR: lon = 144.83795285224915
ERROR: alt = 132.283M
ERROR: surface = ASPHALT
ERROR: heading = 171.58
ERROR: length = 3661.8672M
ERROR: width = 45.1104M
ERROR: number = 16
ERROR: designator = NONE
ERROR: patternAltitude = 304.8M
ERROR: primaryTakeoff = TRUE
ERROR: primaryLanding = TRUE
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = TRUE
ERROR: secondaryLanding = TRUE
ERROR: secondaryPattern = LEFT
ERROR: primaryMarkingBias = 0.0M
ERROR: secondaryMarkingBias = 0.0M
ERROR: >
ERROR: <Vasi
ERROR: end = SECONDARY
ERROR: type =
ERROR: side = LEFT
ERROR: biasX = 28.6512M
ERROR: biasZ = 1602.3336M
ERROR: spacing = 91.44M
ERROR: pitch = 3.0
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 1626, 17, enumeration constraint failed.

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

INTERNAL COMPILER ERROR: #C2521: Invalid type tag ().
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Vasi>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Australia
ERROR: state = Victoria
ERROR: city = Melbourne
ERROR: name = Melbourne Intl
ERROR: lat = -37.67333317548037
ERROR: lon = 144.84333336353302
ERROR: alt = 132.283M
ERROR: magvar = -11.0
ERROR: ident = YMML
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Runway
ERROR: lat = -37.66949024051428
ERROR: lon = 144.83795285224915
ERROR: alt = 132.283M
ERROR: surface = ASPHALT
ERROR: heading = 171.58
ERROR: length = 3661.8672M
ERROR: width = 45.1104M
ERROR: number = 16
ERROR: designator = NONE
ERROR: patternAltitude = 304.8M
ERROR: primaryTakeoff = TRUE
ERROR: primaryLanding = TRUE
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = TRUE
ERROR: secondaryLanding = TRUE
ERROR: secondaryPattern = LEFT
ERROR: primaryMarkingBias = 0.0M
ERROR: secondaryMarkingBias = 0.0M
ERROR: >
ERROR: <Vasi
ERROR: end = SECONDARY
ERROR: type =
ERROR: side = RIGHT
ERROR: biasX = 28.6512M
ERROR: biasZ = 1602.3336M
ERROR: spacing = 91.44M
ERROR: pitch = 3.0
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 1713, 17, enumeration constraint failed.

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

INTERNAL COMPILER ERROR: #C2521: Invalid type tag ().
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Vasi>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Australia
ERROR: state = Victoria
ERROR: city = Melbourne
ERROR: name = Melbourne Intl
ERROR: lat = -37.67333317548037
ERROR: lon = 144.84333336353302
ERROR: alt = 132.283M
ERROR: magvar = -11.0
ERROR: ident = YMML
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Runway
ERROR: lat = -37.66151402145624
ERROR: lon = 144.83516961336136
ERROR: alt = 132.283M
ERROR: surface = ASPHALT
ERROR: heading = 94.2
ERROR: length = 2282.952M
ERROR: width = 45.1104M
ERROR: number = 09
ERROR: designator = NONE
ERROR: patternAltitude = 304.8M
ERROR: primaryTakeoff = TRUE
ERROR: primaryLanding = TRUE
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = TRUE
ERROR: secondaryLanding = TRUE
ERROR: secondaryPattern = LEFT
ERROR: primaryMarkingBias = 0.0M
ERROR: secondaryMarkingBias = 0.0M
ERROR: >
ERROR: <Vasi
ERROR: end = PRIMARY
ERROR: type =
ERROR: side = LEFT
ERROR: biasX = 28.6512M
ERROR: biasZ = 912.876M
ERROR: spacing = 91.44M
ERROR: pitch = 3.0
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 1721, 17, enumeration constraint failed.

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

INTERNAL COMPILER ERROR: #C2521: Invalid type tag ().
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Vasi>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Australia
ERROR: state = Victoria
ERROR: city = Melbourne
ERROR: name = Melbourne Intl
ERROR: lat = -37.67333317548037
ERROR: lon = 144.84333336353302
ERROR: alt = 132.283M
ERROR: magvar = -11.0
ERROR: ident = YMML
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Runway
ERROR: lat = -37.66151402145624
ERROR: lon = 144.83516961336136
ERROR: alt = 132.283M
ERROR: surface = ASPHALT
ERROR: heading = 94.2
ERROR: length = 2282.952M
ERROR: width = 45.1104M
ERROR: number = 09
ERROR: designator = NONE
ERROR: patternAltitude = 304.8M
ERROR: primaryTakeoff = TRUE
ERROR: primaryLanding = TRUE
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = TRUE
ERROR: secondaryLanding = TRUE
ERROR: secondaryPattern = LEFT
ERROR: primaryMarkingBias = 0.0M
ERROR: secondaryMarkingBias = 0.0M
ERROR: >
ERROR: <Vasi
ERROR: end = PRIMARY
ERROR: type =
ERROR: side = RIGHT
ERROR: biasX = 28.6512M
ERROR: biasZ = 912.876M
ERROR: spacing = 91.44M
ERROR: pitch = 3.0
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 1729, 17, enumeration constraint failed.

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

INTERNAL COMPILER ERROR: #C2521: Invalid type tag ().
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Vasi>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Australia
ERROR: state = Victoria
ERROR: city = Melbourne
ERROR: name = Melbourne Intl
ERROR: lat = -37.67333317548037
ERROR: lon = 144.84333336353302
ERROR: alt = 132.283M
ERROR: magvar = -11.0
ERROR: ident = YMML
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Runway
ERROR: lat = -37.66151402145624
ERROR: lon = 144.83516961336136
ERROR: alt = 132.283M
ERROR: surface = ASPHALT
ERROR: heading = 94.2
ERROR: length = 2282.952M
ERROR: width = 45.1104M
ERROR: number = 09
ERROR: designator = NONE
ERROR: patternAltitude = 304.8M
ERROR: primaryTakeoff = TRUE
ERROR: primaryLanding = TRUE
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = TRUE
ERROR: secondaryLanding = TRUE
ERROR: secondaryPattern = LEFT
ERROR: primaryMarkingBias = 0.0M
ERROR: secondaryMarkingBias = 0.0M
ERROR: >
ERROR: <Vasi
ERROR: end = SECONDARY
ERROR: type =
ERROR: side = LEFT
ERROR: biasX = 28.6512M
ERROR: biasZ = 912.876M
ERROR: spacing = 91.44M
ERROR: pitch = 3.0
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 1737, 17, enumeration constraint failed.

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

INTERNAL COMPILER ERROR: #C2521: Invalid type tag ().
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Vasi>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Australia
ERROR: state = Victoria
ERROR: city = Melbourne
ERROR: name = Melbourne Intl
ERROR: lat = -37.67333317548037
ERROR: lon = 144.84333336353302
ERROR: alt = 132.283M
ERROR: magvar = -11.0
ERROR: ident = YMML
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Runway
ERROR: lat = -37.66151402145624
ERROR: lon = 144.83516961336136
ERROR: alt = 132.283M
ERROR: surface = ASPHALT
ERROR: heading = 94.2
ERROR: length = 2282.952M
ERROR: width = 45.1104M
ERROR: number = 09
ERROR: designator = NONE
ERROR: patternAltitude = 304.8M
ERROR: primaryTakeoff = TRUE
ERROR: primaryLanding = TRUE
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = TRUE
ERROR: secondaryLanding = TRUE
ERROR: secondaryPattern = LEFT
ERROR: primaryMarkingBias = 0.0M
ERROR: secondaryMarkingBias = 0.0M
ERROR: >
ERROR: <Vasi
ERROR: end = SECONDARY
ERROR: type =
ERROR: side = RIGHT
ERROR: biasX = 28.6512M
ERROR: biasZ = 912.876M
ERROR: spacing = 91.44M
ERROR: pitch = 3.0
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!

Can't copy BGL file into the destination folder:
D:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\BGL Compiler SDK\Melbourne Intl YMML.BGL (The system cannot find the file specified)"
 
I've checked the VASI settings in FsX Planner, and they all show type data. There are eight listings on the two runways, all showing "PAPI2". Is there something missing somewhere?
 
This turned out to be a bug in how FSX Planner decompiled certain VASI types form the bgl file. The fix is available in the latest release, 25, of FSX Planner which is now available.

-Russell
 
Gidday John, if you look in the list for the <Vasi statements you will see the type= statement which is blank just add the Vasi type eg PAPI2 then it should compile without this error.
 
Thank you guys.
I do have the SDK service pack installed, but I'm running release 24, so that's probably the problem.

Thanks again, and I'll get back once I've tried that suggestion (if i can find 25, that is!):D
 
Thanks Russell & Scott,
Russell,
Your last change ;) to release 25 was the one that was needed - it works fine in that aspect now.

and Scott,
I changed them all to TVASI in the one I'd already extracted, which is apparently what they should all have been, on the one that I'd already downloaded and modified (easier than just re modifying a whole airport)

Russell,
I don't know whether you guys want defects and problems in the one place, but i did notice (using 25) that when I tried to reposition jetways slightly, there was some sort of carry over between the 9 or 10 jetways that I moved slightly, and they ended up all having the same gate number. I started on D18 (YMML), and worked my way around the international terminal, and ended up with all the jetways i moved pointing to Gate D 18. I don't think that it was anything that I did.:confused:
 
Thanks Russell & Scott,
Russell,
I don't know whether you guys want defects and problems in the one place, but i did notice (using 25) that when I tried to reposition jetways slightly, there was some sort of carry over between the 9 or 10 jetways that I moved slightly, and they ended up all having the same gate number. I started on D18 (YMML), and worked my way around the international terminal, and ended up with all the jetways i moved pointing to Gate D 18. I don't think that it was anything that I did.:confused:

Hmm, I thought we had fixed that bug. I'll have to put it back on the list and see if there is still an issue. Before it was associated with having the update gate number feature turned on, resulting in multiple gates haveing their numbers incorrectly updated.

-Russell
 
Back
Top