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









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 Microsoft BUG
Simon Slavin

2007-12-22, 10:33 pm

On 19/12/2007, Ramon F Herrera wrote in message <8c2b2666-7519-4539-9d09-
6488064a30e2@i29g200
0prf.googlegroups.com>:

> This file: good, proper and valid, is rejected by Visual Studio:
>
> http://patriot.net/~ramon/xml/with-extensions.xml
>
> I get the following error message when I try to convert the file above
> using <right-click> "View Data Grid":
>
> http://patriot.net/~ramon/xml/ErrorMess.png
>
> Notice that the error says "Line 37" but the file in question only has
> 27 lines.
>
> When I remove the "extensions" element, the file is processed and
> properly converted.
>
> http://patriot.net/~ramon/xml/no-extensions.xml


Here are three possibilities: (A) VS can't handle the 'extensions' part of
the original XML file, (B) it can't access the schema file used to define
the extensions, (C) it can't handle the contents of the schema file.

Here's the schema file:

<http://www.topografix.com/GPX/1/1/gpx.xsd>

I have some experience with this set of extensions and as far as I can see
the syntax in all cases is fine. I have no Windows system to experiment
with.

Simon.
--
http://www.hearsay.demon.co.uk
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