Maybe it is just the way you have cut and pasted but the new xml does
not have the closing </VEHICLE> and </VEHICLEPOSITIONS> tags.




On 1/26/06, Nancy Fisher <[EMAIL PROTECTED]> wrote:
> I've got a new URL to download some XML data and although the xml data is
> supposed to be nearly identical to what I was getting previously I am getting
> errorred out.
>
> This is what I get from the old URL:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <VEHICLEPOSITIONS ticket="aaaaa_xxxxx">
>     <VEHICLE ID="555">
>         <LON>-122.65788</LON>
>         <LAT>45.504333</LAT>
>         <DATE>2006-01-26 20:58:25.0</DATE>
>         <SPEED>0</SPEED>
>         <DIRECTION>1</DIRECTION>
>         <NAME>333</NAME>
>         <SPEEDLIMIT>99</SPEEDLIMIT>
>         <STREETNAME>SE 8th Ave</STREETNAME>
>         <STREETNUM>2575</STREETNUM>
>         <CITY>Portland</CITY>
>         <STATE>OR</STATE>
>         <SITENAME> PORTLAND DIRECT TILE &amp; MARBLE</SITENAME>
>         <REASON>i</REASON>
>         <ODOMETER>4113367</ODOMETER>
>         <TRAVELTIME>462849</TRAVELTIME>
>     </VEHICLE>
>
> This is what I get from the new URL:
> <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
> <VEHICLEPOSITIONS ticket="aaaaa_xxxxx">     <VEHICLE ID="222">
>     <LON>-122.70442</LON>         <LAT>45.545563</LAT>
>       <DATE>2006-01-26 15:34:59.0</DATE>         <SPEED>0</SPEED>
>     <DIRECTION>36</DIRECTION>         <NAME>1100</NAME>
>     <SPEEDLIMIT>99</SPEEDLIMIT>         <STREETNAME>NW 26th
>     Ave</STREETNAME>         <STREETNUM>3280</STREETNUM>
>     <CITY>Portland</CITY>         <STATE>OR</STATE>
>       <SITENAME>Portland Terminal</SITENAME>         <REASON>i</REASON>
>     <DRIVERSTATUS>Logout</DRIVERSTATUS>         <DRIVER>555 SMITH,
>       DAVID L.</DRIVER>         <ODOMETER>7997907</ODOMETER>
>     <TRAVELTIME>702207</TRAVELTIME>     </VEHICLE>     <VEHICLE
>     ID="42699">         <LON>-122.70442</LON>
>
> Error with XDOMOpen().
> ERR STATUS -1
>
> I was using the same mapping - just adding for the 2 new fields of info at the
> new url.
>
> I notice the 'encoding' is different (but I don't know what that means). I
> don't know if it's a problem at the vendors
> website or a problem with mapping...(this is new programming on their part).
>
> When I use the URL to access it directly (not through UniVerse) I can see it
> as a regular XML document
> so everything appears to be as it should on their end.
>
> We are using the latest version of UniVerse...
>
> Thanks,
> Nancy Fisher
> Peninsula Truck Lines, Inc
> Auburn, Washington
> 253/929-2040
> [EMAIL PROTECTED]
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to