Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLTOCURSOR() Stops working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00736644
Message ID:
00736663
Vues:
9
>>In VFP 8,
>>
>>
>>XMLTOCURSOR("<d><row><f>1.2.3</f></row></d>")
>>
>>
>>causes error.
>>
>>I need that this XMLTOCURSOR() call will not cause an error as in VFP 7.
>
>What is your expected result? When I run that in VFP7, I get "1.200". If it's being passed an invalid data field, do you really want it to make something up and hope it gets it right?

This is not invalid data, this is a legal character data!
I expect a character field to be created.
Doc says, that XMLTOCURSOR() uses two passes. So it MUST be able to
convert this to character field.

In real life, my XML string used in VFP 7 code contains a lot of fields.
I need the values of some fields only.
Since I do'nt use the tag value, XMLTOCURSOR() may take any conversions
in this case, but without error. I use some other fields from this conversion result which are converted properly.
Andrus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform