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

XML To BGL Problems

Messages
17
Country
unitedkingdom
Hello, Im New Here But I Hope You Can Help. Recently Started To Make Scenery And Just Finished One. When Trying To Use BGLcomp I Get A BIG List Of Errors When Using The Compile Helper. Although It Works We Scenery That I Didn't Make

This Is The Error.
Its Quite Long

Parsing document: D:\Documents and Settings\Billy1\Desktop\My Tenerife.xml

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

ERROR: 18, 30, The attribute 'airportTestRadius' on this element is not defined in the DTD/Schema.

ERROR C2309: trafficScalar is NOT a valid token!
ERROR C2028: Invalid attribute! (trafficScalar)
ERROR C2472: Invalid attribute!

ERROR: trafficScalar
ERROR: 0.7
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR:
ERROR C2309: airportTestRadius is NOT a valid token!
ERROR C2028: Invalid attribute! (airportTestRadius)
ERROR C2472: Invalid attribute!

ERROR: airportTestRadius
ERROR: 5000.0M
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 28, 28, The attribute 'deleteAllJetways' on this element is not defined in the DTD/Schema.

ERROR C2309: deleteAllBlastFences is NOT a valid token!
ERROR C2028: Invalid attribute! (deleteAllBlastFences)
ERROR C2472: Invalid attribute!

ERROR: deleteAllBlastFences
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <DeleteAirport
ERROR: deleteAllApronLights = TRUE
ERROR: deleteAllAprons = TRUE
ERROR: deleteAllHelipads = TRUE
ERROR: deleteAllRunways = TRUE
ERROR: deleteAllStarts = TRUE
ERROR: deleteAllTaxiways = TRUE
ERROR: >
ERROR:
ERROR C2309: deleteAllBoundaryFences is NOT a valid token!
ERROR C2028: Invalid attribute! (deleteAllBoundaryFences)
ERROR C2472: Invalid attribute!

ERROR: deleteAllBoundaryFences
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <DeleteAirport
ERROR: deleteAllApronLights = TRUE
ERROR: deleteAllAprons = TRUE
ERROR: deleteAllHelipads = TRUE
ERROR: deleteAllRunways = TRUE
ERROR: deleteAllStarts = TRUE
ERROR: deleteAllTaxiways = TRUE
ERROR: >
ERROR:
ERROR C2309: deleteAllJetways is NOT a valid token!
ERROR C2028: Invalid attribute! (deleteAllJetways)
ERROR C2472: Invalid attribute!

ERROR: deleteAllJetways
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <DeleteAirport
ERROR: deleteAllApronLights = TRUE
ERROR: deleteAllAprons = TRUE
ERROR: deleteAllHelipads = TRUE
ERROR: deleteAllRunways = TRUE
ERROR: deleteAllStarts = TRUE
ERROR: deleteAllTaxiways = TRUE
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 316, 52, Element content is invalid according to the DTD/Schema.

Expecting: Tower, Services, Com, Runway, RunwayAlias, Aprons, ApronEdgeLights, TaxiwayPoint, TaxiwayParking, TaxiName, TaxiwayPath, Tax....

ERROR C2309: BoundaryFence is NOT a valid token!
ERROR C2016: Invalid element found <BoundaryFence>, skipping!
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 319, 29, The element 'Vertex' is used but not declared in the DTD/Schema.

ERROR C2320: VERTEX must be contained within an APRON, APRONLIGHT, TRIGGER, or GEOPOL
ERROR C2031: Failed element parse <Vertex>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <Vertex
ERROR: lat = 28.050685711205
ERROR: lon = -16.5495313704014
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 322, 28, The element 'Vertex' is used but not declared in the DTD/Schema.

ERROR C2320: VERTEX must be contained within an APRON, APRONLIGHT, TRIGGER, or GEOPOL
ERROR C2031: Failed element parse <Vertex>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <Vertex
ERROR: lat = 28.0349629372358
ERROR: lon = -16.594063192606
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 325, 29, The element 'Vertex' is used but not declared in the DTD/Schema.

ERROR C2320: VERTEX must be contained within an APRON, APRONLIGHT, TRIGGER, or GEOPOL
ERROR C2031: Failed element parse <Vertex>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <Vertex
ERROR: lat = 28.0397402867675
ERROR: lon = -16.5962174534798
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 328, 29, The element 'Vertex' is used but not declared in the DTD/Schema.

ERROR C2320: VERTEX must be contained within an APRON, APRONLIGHT, TRIGGER, or GEOPOL
ERROR C2031: Failed element parse <Vertex>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <Vertex
ERROR: lat = 28.045714572072
ERROR: lon = -16.5861368179321
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 331, 28, The element 'Vertex' is used but not declared in the DTD/Schema.

ERROR C2320: VERTEX must be contained within an APRON, APRONLIGHT, TRIGGER, or GEOPOL
ERROR C2031: Failed element parse <Vertex>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <Vertex
ERROR: lat = 28.0502877384424
ERROR: lon = -16.572550535202
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 334, 29, The element 'Vertex' is used but not declared in the DTD/Schema.

ERROR C2320: VERTEX must be contained within an APRON, APRONLIGHT, TRIGGER, or GEOPOL
ERROR C2031: Failed element parse <Vertex>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <Vertex
ERROR: lat = 28.0497278273106
ERROR: lon = -16.5685223042965
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 337, 29, The element 'Vertex' is used but not declared in the DTD/Schema.

ERROR C2320: VERTEX must be contained within an APRON, APRONLIGHT, TRIGGER, or GEOPOL
ERROR C2031: Failed element parse <Vertex>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <Vertex
ERROR: lat = 28.0553882941604
ERROR: lon = -16.5514871478081
ERROR: >
ERROR:
ERROR C2033: XML Parse Error (line, column, error)

ERROR: 340, 29, The element 'Vertex' is used but not declared in the DTD/Schema.

ERROR C2320: VERTEX must be contained within an APRON, APRONLIGHT, TRIGGER, or GEOPOL
ERROR C2031: Failed element parse <Vertex>
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.044475056231
ERROR: lon = -16.5724888443947
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: >
ERROR: <Vertex
ERROR: lat = 28.050685711205
ERROR: lon = -16.5495313704014
ERROR: >
ERROR:
ERROR C2309: BoundaryFence is NOT a valid token!
ERROR C2023: Improper ending element <BoundaryFence>. Stopping!
ERROR C2034: XML Parse Fatal Error (line, column, error)

ERROR: 341, 18, Unspecified error

ERROR C2470: Unrecoverable error parsing XML!
ERROR C2006: Parse failed (0x80004005)
ERROR C2003: Failed to process file: D:\Documents and Settings\Billy1\Desktop\My Tenerife.xml
 
It looks to me like you are using the BglComp for FS9 with XML intended for FSX. They are different. You haveto have the FSX Deluxe version to get the FSX BglComp and then it needs updating online to SP1a. What date is on the BglComp you are using?
 
No. BglComp for FS9 was available to all users but for FSX it comes as part of the deLuxe version. Therefore you need that version to create your own bgl files for FSX. Tool and utlity developers are not able to distribute it as that breaks the Microsoft License agreement.
 
Post the xml here as an attachment and maybe someone will take a look at it - you need a Compiled Bgl is that all?
 
The problem with Reina Sofia.xml is that the first taxiwaysign has a blank label=
 
Well I just Got Deluxe And Not Sure If Im Doing This Right But I Got This Error

Can Anyone Explain ??






Parsing document: Reina Sofia GCTS.xml

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

ERROR: 1808, 29, enumeration constraint failed.

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

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

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.0444750562
ERROR: lon = -16.5724888444
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 10000.0M
ERROR: >
ERROR: <TaxiwayPoint
ERROR: index = 146
ERROR: type = HOLD_SHORT
ERROR: orientation =
ERROR: lat = 28.03988233412726
ERROR: lon = -16.58841339540125
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 2085, 29, enumeration constraint failed.

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

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

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Tenerife-South
ERROR: name = Reina Sofia
ERROR: lat = 28.0444750562
ERROR: lon = -16.5724888444
ERROR: alt = 63.703M
ERROR: magvar = 7.0
ERROR: ident = GCTS
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 10000.0M
ERROR: >
ERROR: <TaxiwayPoint
ERROR: index = 393
ERROR: type = HOLD_SHORT
ERROR: orientation =
ERROR: lat = 28.04296239865159
ERROR: lon = -16.57968747386632
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2590: Did not find end point #393 needed for Taxi path #0 at Airport GCTS.
INTERNAL COMPILER ERROR: #C2590: Did not find end point #393 needed for Taxi path #13 at Airport GCTS.
INTERNAL COMPILER ERROR: #C2588: Did not find start point #393 needed for Taxi Path #215 at airport GCTS.
INTERNAL COMPILER ERROR: #C2588: Did not find start point #146 needed for Taxi Path #248 at airport GCTS.
INTERNAL COMPILER ERROR: #C2590: Did not find end point #146 needed for Taxi path #249 at Airport GCTS.
INTERNAL COMPILER ERROR: #C2599: Empty Apron discarded! Apron occurred on line 105, column 22.
INTERNAL COMPILER ERROR: #C2599: Empty Apron discarded! Apron occurred on line 136, column 22.
INTERNAL COMPILER ERROR: #C2599: Empty Apron discarded! Apron occurred on line 144, column 22.
INTERNAL COMPILER ERROR: #C2434: Could not find parking spot for jetway! <line=1427> <column=21>
INTERNAL COMPILER ERROR: #C2441: Failed to generate jetway binary!
INTERNAL COMPILER ERROR: #C2434: Could not find parking spot for jetway! <line=1444> <column=21>
INTERNAL COMPILER ERROR: #C2441: Failed to generate jetway binary!
INTERNAL COMPILER ERROR: #C2434: Could not find parking spot for jetway! <line=1461> <column=21>
INTERNAL COMPILER ERROR: #C2441: Failed to generate jetway binary!
INTERNAL COMPILER ERROR: #C2434: Could not find parking spot for jetway! <line=1478> <column=21>
INTERNAL COMPILER ERROR: #C2441: Failed to generate jetway binary!
INTERNAL COMPILER ERROR: #C2434: Could not find parking spot for jetway! <line=1495> <column=21>
INTERNAL COMPILER ERROR: #C2441: Failed to generate jetway binary!
INTERNAL COMPILER ERROR: #C2434: Could not find parking spot for jetway! <line=1512> <column=21>
INTERNAL COMPILER ERROR: #C2441: Failed to generate jetway binary!
INTERNAL COMPILER ERROR: #C2434: Could not find parking spot for jetway! <line=1529> <column=21>
INTERNAL COMPILER ERROR: #C2441: Failed to generate jetway binary!
INTERNAL COMPILER ERROR: #C2434: Could not find parking spot for jetway! <line=1546> <column=21>
INTERNAL COMPILER ERROR: #C2441: Failed to generate jetway binary!
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!

Can't copy BGL file into the destination folder:
C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\BGL Compiler SDK\Reina Sofia GCTS.BGL (The system cannot find the file specified)
 
Well I think you need to look at your Xml - where did it come from?


The errors are all listed there if you read them. The first one tells you that a taxiwaypoint has no orientation - it must have forward or reverse. You have others that says you have taxiways where one of the taxipoints is missing, some related to empty aprons and yet others related to jetways.


you need to work through each of these one at a time and eliminate them
 
Back
Top