Jump to content
Sign in to follow this  
Farlis

Trying to figure out that xml thing...

Recommended Posts

Greetings Oliver,

The Addon Organizer is complaining about errors in my dll.xml at 14,5

If I open Notepad ++ I see the numbers of the lines but how to I figure out the column? I don't get it.

Maybe you could take a look at it?

 

<?xml version="1.0" encoding="utf-8"?>
<SimBase.Document Type="AceXML" version="3,0" id="dll">
  <Descr>AceXML Document</Descr>
  <Filename>dll.xml</Filename>
  <Launch.Addon>
    <Name>PMDG Interface</Name>
    <Path>PMDG\DLLs\PMDG_Interface.dll</Path>
    <DLLStartName>module_init</DLLStartName>
    <DLLStopName>module_deinit</DLLStopName>
  </Launch.Addon>
    <Path>PMDG\DLLs\PMDG_HUD_interface.dll</Path>
    <DLLStartName>module_init</DLLStartName>
    <DLLStopName>module_deinit</DLLStopName>
  </Launch.Addon>
  <Launch.Addon>
    <Name>CMeteoXml</Name>
    <Disabled>False</Disabled>
    <Path>.\CMeteoXml.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>Carenavigraph</Name>
    <Disabled>False</Disabled>
    <Path>.\Carenavigraph.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>WebSimXML</Name>
    <Disabled>False</Disabled>
    <Path>.\WebSimBrowser\2.1\64\WebSimXML.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>RAASPRO</Name>
    <Disabled>False</Disabled>
    <ManualLoad>False</ManualLoad>
    <Path>.\RAASPRO\RAASPRO.dll</Path>
    <DllStartName>module_init</DllStartName>
    <DllStopName>module_deinit</DllStopName>
  </Launch.Addon>
</SimBase.Document>
 

and here is the other one:

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="Launch" version="1,0">
  <Descr>Launch</Descr>
  <Filename>dll.xml</Filename>
  <Disabled>False</Disabled>
  <Launch.ManualLoad>False</Launch.ManualLoad>
  <Launch.Addon>
    <Name>CMeteoXml</Name>
    <Disabled>False</Disabled>
    <Path>.\CMeteoXml.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>Carenavigraph</Name>
    <Disabled>False</Disabled>
    <Path>.\Carenavigraph.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>WebSimXML</Name>
    <Disabled>False</Disabled>
    <Path>.\WebSimBrowser\2.1\64\WebSimXML.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>PMDG HUD interface</Name>
    <Disabled>False</Disabled>
    <Path>PMDG\DLLs\PMDG_HUD_interface.dll</Path>
    <DllStartName>module_init</DllStartName>
    <DllStopName>module_deinit</DllStopName>
  </Launch.Addon>
  <Launch.Addon>
    <Name>PMDG_Interface</Name>
    <Disabled>False</Disabled>
    <Path>PMDG\DLLs\PMDG_Interface.dll</Path>
    <DllStartName>module_init</DllStartName>
    <DllStopName>module_deinit</DllStopName>
  </Launch.Addon>
  <Launch.Addon>
    <Name>RAASPRO</Name>
    <Disabled>False</Disabled>
    <ManualLoad>False</ManualLoad>
    <Path>.\RAASPRO\RAASPRO.dll</Path>
    <DllStartName>module_init</DllStartName>
    <DllStopName>module_deinit</DllStopName>
  </Launch.Addon>
  <Launch.Addon>
    <Name>XMLTools64</Name>
    <Disabled>False</Disabled>
    <ManualLoad>False</ManualLoad>
    <Path>XMLTools64.dll</Path>
    <DllStartName>module_init</DllStartName>
    <DllStopName>module_deinit</DllStopName>
  </Launch.Addon>
  <Launch.Addon>
    <Name>as_connect</Name>
    <Disabled>False</Disabled>
    <Path>as_srv\as_connect_64.dll</Path>
  </Launch.Addon>
</SimBase.Document>

 

Share this post


Link to post
Share on other sites

Hi,

it is the first one. "PMDG\DLLs\PMDG_HUD_interface.dll" is missing the opening <Launch.Addon> tag.

XML is defined as a "tree" of opening and closing tags <xyz><abc>...</abc><def>...</def></xyz>. If tags don't match or overlap, the XML is invalid.

<?xml version="1.0" encoding="utf-8"?>
<SimBase.Document Type="AceXML" version="3,0" id="dll">
  <Descr>AceXML Document</Descr>
  <Filename>dll.xml</Filename>
  <Launch.Addon>
    <Name>PMDG Interface</Name>
    <Path>PMDG\DLLs\PMDG_Interface.dll</Path>
    <DLLStartName>module_init</DLLStartName>
    <DLLStopName>module_deinit</DLLStopName>
  </Launch.Addon>
  <Launch.Addon>
    <Path>PMDG\DLLs\PMDG_HUD_interface.dll</Path>
    <DLLStartName>module_init</DLLStartName>
    <DLLStopName>module_deinit</DLLStopName>
  </Launch.Addon>
  <Launch.Addon>
    <Name>CMeteoXml</Name>
    <Disabled>False</Disabled>
    <Path>.\CMeteoXml.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>Carenavigraph</Name>
    <Disabled>False</Disabled>
    <Path>.\Carenavigraph.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>WebSimXML</Name>
    <Disabled>False</Disabled>
    <Path>.\WebSimBrowser\2.1\64\WebSimXML.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>RAASPRO</Name>
    <Disabled>False</Disabled>
    <ManualLoad>False</ManualLoad>
    <Path>.\RAASPRO\RAASPRO.dll</Path>
    <DllStartName>module_init</DllStartName>
    <DllStopName>module_deinit</DllStopName>
  </Launch.Addon>
</SimBase.Document>

Best regards


LORBY-SI

Share this post


Link to post
Share on other sites

Den Wald vor lauter Bäumen nicht sehen...

Thanks, that was it.

Share this post


Link to post
Share on other sites
1 hour ago, Farlis said:

Den Wald vor lauter Bäumen nicht sehen...

Thanks, that was it.

When you use the "<>" button (next to the smiling icon), you can copy&paste the XML code into your post. When you select "XML" as the format at the bottom right of that dialog, syntax highlighting will show you issues in the XML too.

Best regards

Edited by Lorby_SI

LORBY-SI

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