XML bug, Revolution simply stops executing...

Andre Garzia soapdog at mac.com
Sat Jul 10 11:30:20 EDT 2004


Hi Folks,

I've got a XML Tree made of a XML-RPC call, the tree works and I am 
able to extract the contents of the elements. When trying to count the 
children of a given node, Revolution simply stops executing the handler 
without giving any info. I've got this lines

put "counting children... " into field "log"
get revXMLNumberOfChildren(tTreeID, "/methodCall/params")
put "result:" & it && the result after field log

the Tree is alive for just before this I extract the 
/methodCall/methodName with success. When executing this code, the 
field log goes "counting children..." then nothing. no "Result:", no 
error on Rev IDE, nothing inside it or the result, everything empty.... 
the handler simply stops. Any clue?

PS: in this test /methodCall/params got 2 children. The XML is glued 
below:

<?xml version="1.0" encoding="UTF-8"?>
   <methodCall>
     <methodName>sandbox.echoRequest</methodName>
     <params>
       <param>
           <value>
             <string>joca</string>
           </value>
       </param>
       <param>
           <value>
             <string>caozinho</string>
           </value>
       </param>
     </params>
   </methodCall>


thanks in advance.

-- 
Andre Alves Garzia ð 2004 ð BRAZIL
http://studio.soapdog.org



More information about the use-livecode mailing list