Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CURSORTOXML() and C Binary
Message
De
22/11/2005 13:54:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01071246
Message ID:
01071262
Vues:
20
Hi,

So the documentation (as per the "XML Functions" link from CURSORTOXML()) IS incorrect ?

I can think of a few things to try to work around this - but any suggestions as to the simplest working solution ?

Regards,
Viv

>AFAIK, only memo/binary is converted "properly" (encoded) by CURSORTOXML().
>
>>I have a cursor with a character binary field. AFAICS the docs state that field of this type are rendered as
<xsd:encoding value="base64"/>
however the relevant XSD generated by CURSORTOXML() is:
>>
>><xsd:element name="layout1">
>>  <xsd:simpleType>
>>    <xsd:restriction base="xsd:string">
>>      <xsd:maxLength value="5"/>
>>    </xsd:restriction>
>>  </xsd:simpleType>
>></xsd:element>
>>
>>
>>Needless to say a subsequent XMLTOCURSOR() chokes on this. Am I mis-reading - or, more importantly, what's the simplest way of fixing this?
>>
>>Regards,
>>Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform