Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chr(13) / chr(10) in memo fields
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00895846
Message ID:
00895866
Views:
13
Thank you Martin,

I understand what you said about the bug in xmldom.
My memos are not binary.
What exactly do you mean with «you can generate XML programmaticaly» ?



>Hi Francisco,
>
>It's bug in XMLDOM on reading XML.
>XML DOM convert CHR(13) to CHR(10) and CHR(13)+CHR(10) to CHR(10).
>If memo is binnary, you can convert it to BASE64.
>If you have not binnary memos, you can generate XML programmaticaly.
>
>MartinJ
>
>>I'm having this problem:
>>
>>I have a cursor with a Memofield
>>In this cursor the lines are separated only by the character 13.
>>
>>Then I use
>>
>>XmlAdpater.addtableschema
>>
>>and
>>
>>xmladapter.toxml
>>
>>To serialize the cursor. The XML comes Ok.
>>
>>Later I use
>>
>>xmladapter.loadxml
>>xmladapter.tables(1).tocursor
>>
>>to get the cursor back.
>>
>>In this moment the Memo field, has its lines separated by the character 10
>>instead of the character 13 that is in the original cursor.
>>
>>How can I solve this ?
>>
>>Thank you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform