The current beta release of XIFF has a problem in performing a valid disco#items node query as per XEP-0030 spec. When specfying a node using Browser.getNodeItems the node is not pended in the query tag as per spec. The problem is in DiscoExtension.serviceNode. To fix this do change that 1 liner from:
getNode().parentNode.attributes.node = val
to:
getNode().attributes.node = [...]
Archive for April, 2009
Bug in XIFF disco#items node queries
Posted in Uncategorized on April 10, 2009 | Leave a Comment »
The code behind factory pattern
Posted in Uncategorized, tagged actionscript 3, asMock, Code behind, Factory, flex, flexunit, unit testing on April 6, 2009 | Leave a Comment »
I have been using code behind in flex for a while now (weather using framework or not) and using Flex unit + asMock for as tools for unit testing. All works pretty well but I found at some point in my code I have a bunch of method postfixed with Set/GetForTest which makes it all [...]