Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLTOCURSOR pathing bug
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
XMLTOCURSOR pathing bug
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01309728
Message ID:
01309728
Views:
77
I think I've isolated a bug in VFP 9, using XMLTOCURSOR(), that's related to paths with long file names and trying to pass it a file name to convert. It only fails when it's running under an EXE (not development VFP).

The bug is that XMLTOCURSOR fails with a 1435 - XML Parse Error "The system cannot find the path specified."

I've tried entering the path every different way that I can think of and no joy.

The funny thing is, if I pass it a string, using STRTOFILE(myXmlFile) with the same exact path, it works fine. It seems to me though that letting the XML parser do the string conversion itself should be a little faster than using StrToFile().

Would anyone be willing to help me in confirming my suspicions on this? I can send a zip file with a small XML file and some very simple test code.

Thanks very much!

-matt
Next
Reply
Map
View

Click here to load this message in the networking platform