revXmlAttribute fails with "xmlns"
David Bovill
david at vaudevillecourt.tv
Wed Dec 31 13:43:36 EST 2008
The "revXmlAttribute" amd "revXmlAttributes" functions fail to recognise an
"xmlns" attribute. Try this script in the message box:
put "<message type='chat' xmlns='jabber:client' id='abb4a'/>" into testXML
> put revCreateXMLTree(testXML, true, true, false) into treeID
> put revXMLAttributes(treeID, "message", tab, CR)
>
> Anyone know why - or a way around this? For now I am replacing " xmlns='"
with " xxmlns='" in the XML before processing which is an ugly hack.
And if so compelled see bug report and
vote<http://quality.runrev.com/qacenter/show_bug.cgi?id=7586>if you
can confirm it on your platform?
More information about the use-livecode
mailing list