Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML Parse Error: Invalid Character
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00881046
Message ID:
00881063
Views:
35
Ronald,

Use nFlags = 8 to wrap the memo fields with a CDATA marker in the XML. This also needs to be done if the data contains special characters like <.

>Working with XMLtoCursor and CursorToXML I have found the following error occurs for us. Investigating discovered that we have memo fields in our tables with unrecognizable characters. For example, the user was attempting to enter a capital 'L' and mistakenly hit the Control-L instead. The memo field stored the ascii 12 character rather than the 'L'. When using the CursorToXML function all works okay, however when using XMLtoCursor the error occurs.
>
>How does one trap for this for all instances where the control key would be used by error rather than the Shift key in data entry on an editbox?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform