Cellular forums Home > Archive > Garmin GPS > December 2007 > Re: Multiple Root Elements in Garmin POIs - is it legal XML? It is a









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Multiple Root Elements in Garmin POIs - is it legal XML? It is a
Ramon F Herrera

2007-12-20, 12:33 pm

On Dec 20, 10:11 am, "Bruce" <n...@null.com> wrote:
> I'm not very expert at XML schema but I think the schema is saying that the
> extensions element cannot be inside the waypoint element. I don't know how
> the extensions is then linked with a waypoint, via the name mabye?
>


There is definitely something wrong with the 'extensions' element. In
my simplified example, all I had to do was to remove the one and only
'extensions' element, and VS processed the XML file properly.

As a further test I took my whole list of waypoints (actually, POIs)
and removed every single 'extensions' element. Again, the file was
processed without any problems.

It remains to be determined whether this problem is a Garmin screwup,
or a Microsoft screwup. Since Sun (via NetBeans' "Check XML" and
"Validate XML") says the file is fine, and IBM (via Eclipse) concurs,
I am inclined to place the blame on Microsoft.

-Ramon

LinkBot





Other Archives: Real Estate forum archive | Web Design archive | Software support archive | PC Hardware reviews archive | Medical topics archive

Copyright 2004 - 2008 cellphonetopics.com