Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmltocursor giving error
Message
 
 
To
11/06/2009 11:48:18
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01405227
Message ID:
01405233
Views:
102
This message has been marked as the solution to the initial question of the thread.
Can you post XMLTOCURSOR() line of code?
Most likely you did not specify flag 512 for XML file.

>Starting to step off into XML data exchanges and I'm getting an error when trying to use the XMLtoCursor function.
>The error I'm getting is "XML Parse Error: Invalid at the top level of the document. Line 1 Position 1"
>
>Here is the top portion of the XML file I'm trying to import:
>
>
><?xml version="1.0" encoding="utf-8"?>
><xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" 
>           xmlns:xs="http://www.w3.org/2001/XMLSchema">
>  <xs:annotation>
>    <xs:appinfo />
>  </xs:annotation>
> 
>  <xs:simpleType name="OperationActionCode">
>    <xs:restriction base="xs:string">
>      <!-- none -->
>      <xs:enumeration value="NONE"/>
>      <!-- insert -->
>      <xs:enumeration value="INS"/>
>      <!-- update -->
>      <xs:enumeration value="UPD"/>
>      <!-- delete -->
>      <xs:enumeration value="DEL"/>
>    </xs:restriction>
>  </xs:simpleType>
>
>
>Hummina??
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform