- Messages
- 203
- Country
Hi there, just looking for a bit of help and knowledge please?
I decompiled the default data bgl BNXWorld1.bgl using BGL2XML quite satisfactorily.
The aim was to delete the default UK danger, prohibited and restricted areas so that I could replace them with accurate information in a new bgl from the current UK AIP.
I deleted the necessary boundaries, and then tried to recompile my amended file using XML2BGL.
It refused to compile, giving the following error(s).
ScruffyDuck Scenery Design Engine Compiling
Using ANY BglComp....
Parsing document: C:\Users\Kevin Admin\Desktop\BNXWorld1_amended.xml
INTERNAL COMPILER ERROR: #C2383: Bad GeoPol Type 'COASTLINE', should be Boundary or Coastline!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Geopol>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Geopol
ERROR: type = COASTLINE
ERROR: >
ERROR:
The same error was also reported for all further instances of <Geopol type="COASTLINE"> in the xml file.
All my deletions were above this section in the xml file and no errors were reported where I had made deletions. I made no amendments to the part of the decompiled xml where errors were reported at all. As a test, I decompiled the same bgl again and immediately attempted to recompile the output (with no changes at all) through XML2BGL, with exactly the same result.
Does anyone have any ideas as to why XML2BGL refused to handle this please?
Thanks K
I decompiled the default data bgl BNXWorld1.bgl using BGL2XML quite satisfactorily.
The aim was to delete the default UK danger, prohibited and restricted areas so that I could replace them with accurate information in a new bgl from the current UK AIP.
I deleted the necessary boundaries, and then tried to recompile my amended file using XML2BGL.
It refused to compile, giving the following error(s).
ScruffyDuck Scenery Design Engine Compiling
Using ANY BglComp....
Parsing document: C:\Users\Kevin Admin\Desktop\BNXWorld1_amended.xml
INTERNAL COMPILER ERROR: #C2383: Bad GeoPol Type 'COASTLINE', should be Boundary or Coastline!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Geopol>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Geopol
ERROR: type = COASTLINE
ERROR: >
ERROR:
The same error was also reported for all further instances of <Geopol type="COASTLINE"> in the xml file.
All my deletions were above this section in the xml file and no errors were reported where I had made deletions. I made no amendments to the part of the decompiled xml where errors were reported at all. As a test, I decompiled the same bgl again and immediately attempted to recompile the output (with no changes at all) through XML2BGL, with exactly the same result.
Does anyone have any ideas as to why XML2BGL refused to handle this please?
Thanks K