|
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
|
|
| Bruce 2007-12-20, 10:33 am |
| 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?
"Line 37" is probably referring to a line in the schema.
"Ramon F Herrera" <ramon@conexus.net> wrote in message
news:8c2b2666-7519-4539-9d09- 6488064a30e2@i29g200
0prf.googlegroups.com...
>
> I was able to reduce the problem of the rejected XML file to its
> minimum expression.
>
> 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
>
> If anyone out there has Visual Studio, can you please check both
> files?
>
> How do I go about reporting this to Microsoft?
>
> This is my version info:
>
> http://patriot.net/~ramon/xml/VS-version.png
>
> TIA,
>
> -Ramon
| |
|
| I am inclinded to place the blame on ramon
"Ramon F Herrera" <ramon@conexus.net> wrote in message
news:e322aedf-64d2-4741-83b2- a16f0c169543@1g2000h
sl.googlegroups.com...
> On Dec 20, 10:11 am, "Bruce" <n...@null.com> wrote:
>
> 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
>
|
|
|
|
|