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

failed to compile

Messages
14
Country
germany
Hi,

while trying to create a bgl-file i get the following messages:

INTERNAL COMPILER ERROR C1003: Failed to create MSXML object! (0x80040154)

Parsing document: D:\80_games\msfs\tools\samm_fs9\Models\Dornier Do17Z-10 Nightfighter\Dornier Do17Z-10 Nightfighter.xml

ERROR C2470: Unrecoverable error parsing XML!
ERROR C2006: Parse failed (0x80004005)
ERROR C2003: Failed to process file: D:\80_games\msfs\tools\samm_fs9\Models\Dornier Do17Z-10 Nightfighter\Dornier Do17Z-10 Nightfighter.xml


i run the latest samm 1.0.05, Net framework 3.5, the aircraft is an fs9 machine. what to do ?

sinzov:(
 
Thx,

i did as "advised", helas - no joy yet:

Parsing document: D:\80_games\msfs\tools\samm_fs9\Models\Dornier Do17Z-10 Nightfighter\Dornier Do17Z-10 Nightfighter.xml

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

ERROR: 13, 30, pattern-Einschränkungsfehler.

Das Attribut 'alt' hat gemäß seinem Datentyp einen ungültigen Wert.


ERROR: Schema errors detected, compilation failed!

Parse complete!

??? sinzov ???
 
That's an entirely different error. This time, the compiler appears to be telling you you've got some sort of format or syntax error in the XML file.

Please post the file or its contents.

DOn
 
that is fast, wow:

<FSData version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd">

<SceneryObject
lat = "50,0091666667"
lon = "8,504"
alt = "0,00M"
altitudeIsAgl = "TRUE"
pitch = "0"
bank = "0"
heading = "146"
imageComplexity = "NORMAL" >
<LibraryObject name="a96fd68540bc34066a21c6afface7e88"
scale="1.0" />
</SceneryObject>

<ModelData name="a96fd68540bc34066a21c6afface7e88" sourceFile="Dornier Do17Z-10 Nightfighter.mdl" />
</FSData>

regards
s
 
There's nothing obvious wrong with the XML - unless there's a control or other non-printing character near the end of that line. (It's complaining about the image complexity line.) However, I don't know if it the compiler "likes" languages other than English.

Please try the same thing with your language settings to English.

If that doesn't work, please e-mail the XML file to me aat the address in the documentation.

Don
 
Hi

problem solved: i changed the decimal separator from the german "comma" to the english point, and all works well.

a really fine tool :-)
thanks for the support.
sinzov
 
Failed to compile - same error

Hi everybody from Italy, this is my first time in the forum.
I'm writing because it seems that I've got the same error to compile the .bgl file. (sinzov)
The following is my report:
- <FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd">
- <SceneryObject lat="38.110833317" lon="13.313333094" alt="0,00M" altitudeIsAgl="TRUE" pitch="0" bank="0" heading="0" imageComplexity="NORMAL">
<LibraryObject name="0db524c54eef6b7774588a8901a64f29" scale="1.0" />
</SceneryObject>
<ModelData name="0db524c54eef6b7774588a8901a64f29" sourceFile="Italy SOREM.mdl" />
</FSData>
I am sorry but I did not understand how you did to solve your problem, please can you explain me?
I have got the FSX with Acceleration!
Thank you in advance
 
Last edited:
Sorry, folks. I thought I'd fixed this problem in version 1.06.

But, upon checking the code, I discovered a typo that resulted in me replacing apostrophies (') rather than commas (,) with a period (.). Of course, not many languages use an apostrophie as a decimal separator.

I'll get a fix out shortly.

Don
 
Try changing the 0,00M to 0.00M (Decimals need to be in the English period, not the European commas).
Thanks for your reply soon...
But I can modify the file .xml only with the notepad because doesn't work inside the programm (SAMM), it seems that I do not accept the point.
Any idea?
 
Sorry, folks. I thought I'd fixed this problem in version 1.06.

But, upon checking the code, I discovered a typo that resulted in me replacing apostrophies (') rather than commas (,) with a period (.). Of course, not many languages use an apostrophie as a decimal separator.

I'll get a fix out shortly.

Don

Thanks gadgets, now I am using your new version 1.06. The fix of which speak will be following?
 
I suggest using Windows English regional settings until I get the new release out.

Don
 
Back
Top