January 18, 200422 yr Hi,I need help because my source .xml file doesn't generate the relative .bgl file.What's wrong with this file?Thanks G.Franco
January 18, 200422 yr There are numerous problems with the file. Here's a start:1. There is a space between "http://" and "www" in the first line that needs to be removed.2. XML attributes need to be *inside* the brackets for an element. For example:name="foo"should be:Both the AIRPORT and APPROACH elements in your file exhibit this problem.3. Airports do not have a "long" attribute. It should be "lon".4. Attribute names are case sensitive, so "Type", "gpsoverlay" and "Heading" should be "type", "gpsOverlay" and "heading".5. Enumerations are also case sensitive so "None" and "Terminal_NDB" should be "NONE" and "TERMINAL_NDB".Making these changes will get the file to compile, though the approach still has no legs defined so it will not be very useful.I'd suggest getting a good reference on XML and/or using an XML editor such as XMLSpy that can enforce a schema as you create an XML file since all of the errors above would have been avoided.
Create an account or sign in to comment