Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's in CURSORTOXML()?
Message
 
To
22/08/2002 00:05:37
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00692321
Message ID:
00692334
Views:
30
Hi Michel,

>So, my question is, what does CURSORTOXML() in the background does that would make it bullet proof against the STRCONV() command as oppose to building the XML string manually.

Two things come to my mind:

1) CURSORTOXML() returns a much shorter string than the Web Service and only passes for this reason.

2) CURSORTOXML() creates the XML string in one pass internally, while your code is assembling it in VFP. This might have caused memory allocation issues. In this case, SYS(1104) before calling STRCONV() should fix it.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform