Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
loHTTP.ResponseXML change behavior in SP1
Message
From
18/02/2002 00:55:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
loHTTP.ResponseXML change behavior in SP1
Miscellaneous
Thread ID:
00621438
Message ID:
00621438
Views:
90
Since SP1, I just discovered that loHTTP.ResponseXML has changed behavior in regards to the following.
loHTTP=CREATEOBJECT('Microsoft.XMLHTTP')
loHTTP.Open('GET',lcUrl,.F.)
loHTTP.Send()
loXML=loHTTP.ResponseXML
IF EMPTY(loXML.XML)
   MESSAGEBOX('No XML')
   RETURN .F.
ENDIF
XMLTOCURSOR(loXML.XML,'Temp')
In VFP 7, that was working ok. Now, with SP1, when there is no XML, it does not go in the condition as loXML.XML contains the HTML code.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Reply
Map
View

Click here to load this message in the networking platform