Jump to content
Sign in to follow this  
FreedFlyer97231

Error loading flight plan: There is an error in XML document

Recommended Posts

Hello,

When exporting a flight plan from LitteNavMap, and then "Load.."ing it in vPilot, I get:
Error loading flight plan: There is an error in XML document (2, 481)

Loading a flight plan that was saved in vPilot first works without issue.

The only difference I can see is the following at the very end of the xml file:

vPilot save: VoiceType="Full" />
LittleNavMap export: VoiceType="Full"/>

Notice that the space is missing.

Also, changing encoding="UTF-8"? to encoding="utf-8"? brings back the import functionality from an exported flightplan in LittleNavNap.

 

These are things that need to be changed with LittleNavMaps exporting feature...

Edited by FreedFlyer97231

Share this post


Link to post
Share on other sites

The space does not make any difference in XML files. Neither does the case in the encoding.

Theoretically.

Practically there are still developers ...

Anyway, thank you for reporting. I'll have a look at this. Probably have to apply a workaround.
Can you send me the vpilot file which loads successfully per email or upload it somewhere like https://wetransfer.com .

Alex

Edit: Does this one work? https://www.magentacloud.de/lnk/o1lR0pLc

Edited by albar965

Share this post


Link to post
Share on other sites
On 12/28/2020 at 2:17 PM, albar965 said:

The space does not make any difference in XML files. Neither does the case in the encoding.

Theoretically.

Practically there are still developers ...

Anyway, thank you for reporting. I'll have a look at this. Probably have to apply a workaround.
Can you send me the vpilot file which loads successfully per email or upload it somewhere like https://wetransfer.com .

Alex

Edit: Does this one work? https://www.magentacloud.de/lnk/o1lR0pLc

Hi, sorry for the delay...

Give me a bit, I'll email it off.

 

Edit: Perhaps another contributing factor is that VoiceType="" needs to be VoiceType="Full". In other words, it needs to be populated.
Edit 2: Yes, LOWSHEPS.vfp works.

Edit 3: Yes, it seems to hang on the VoiceType="". When I entered "Full" in LittleNavMap during export, it imports just fine in vPilot. Got it figured out now. The VoiceType value must be populated. By default, during export, the Voice Type is blank.
 

Edited by FreedFlyer97231

Share this post


Link to post
Share on other sites

Thanks got them. I already changed the code to output exaclty what you sent me. I'll check if I better force the voice type to "Full" instead of remembering the value. User can still change it in the dialog.

Alex

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...