Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XmlToCursor() problem
Message
From
16/01/2015 13:22:42
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01613703
Message ID:
01613755
Views:
80
Likes (1)
>Now - honestly - none of these would account for the bad character error you're seeing unless you are dealing with binary data in a memo field. That'll fail as soon as CHR(0) is encountered I think. I believe XmlAdapter deals with binary data a little more gracefully.

If the memo (or char field) is marked with NOCPTRANS in fox, even the 2.0 engine works fine, as it then treats the string as binary, and packs it in base64 format inside CDATA delimiters. Worked like that since VFP7 (that's about what, 12-13 years now), no problem.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform