Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chr(13) / chr(10) in memo fields
Message
De
17/04/2004 20:22:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00895846
Message ID:
00895866
Vues:
14
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform