Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dumb xmladapter or Dumb me
Message
From
25/06/2003 13:18:43
 
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00803232
Message ID:
00803886
Views:
25
>I am trying to do a set of file uploads to my web application and am using the VFP XMLAdapter to convert a set or cursors to XML for transport. My problem is that one of the tables which I am transporting has a Character Binary field like so:
>
>- <xsd:element name="salehstrnk">
>- <xsd:simpleType>
>- <xsd:restriction base="xsd:string">
>  <xsd:maxLength value="1" />
>  </xsd:restriction>
>  </xsd:simpleType>
>  </xsd:element>
>
>When converting back to cursors on the Web side the Parser pukes with :
>
>Error: XML Parse error: An invalid character was found in text content.
>
>Besides eliminating this field, what can I do to avoid this error?
>
>Thanks
>
>Glenn

Hi Glenn,

Can you post the code that creates XML?
I would try to map this field into one of binary types when XML document is created.

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform