XIFF 3 Beta in Subversion, Official Release Coming Soon

For all you Flex developers and Flash fans looking to create XMPP-enabled applications with Actionscript 3, an updated (and clean) version of the XIFF 3 Beta code can now be found in the XIFF Subversion repository. Once we finish testing, working on the documentation, and cleaning up a few odds and ends, we plan to have an official public beta release. Currently, the new code has been tested on both jabberd and Openfire and works great.

Due to the sheer magnitude of the refactoring involved in converting all the code to use E4X, we are keeping the existing XML parsing architecture. This is good news for any developers familiar with XIFF’s extension support, because it essentially works the same as before and parsing is still plenty fast. Plus, the great thing about Actionscript 3 and AVM2 is the new binary socket, which means no more clunky server workarounds to support socket connections from Flash.

Nick, Greg and the rest of the team at Lymabean have been working hard on this port to Actionscript 3 over the last few months. A big thanks to them for making a Flex-compatible version of XIFF a reality.

Still getting:

TypeError: Error #1083: The prefix “stream” for element “stream:features” is not bound.

and

TypeError: Error #1085: The element type “stream” must be terminated by the matching end-tag “”.

at MethodInfo-564()

at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFuncti on()

at flash.events::EventDispatcher/dispatchEvent()

at org.igniterealtime.xiff.core::XMPPConnection/org.igniterealtime.xiff.core:XMPPC onnection::sendXML()

at org.igniterealtime.xiff.core::XMPPConnection/org.igniterealtime.xiff.core:XMPPC onnection::socketConnected()

Define ‘soon’

Around the middle of this month

Does “in subversion” that I can check it out? What is the license?

Hi

I have some questions:

1 Which license will xiff3 choice?

2 How I can get the source from subversion server?

Thanks

Will Xiff 3 require you to use FLEX?

The reason I ask this is because the Roster class extends ArrayCollection which as far as I can tell is only available with FLEX and is not part of the standard Flash libraries.

Some clarification on this would be greatly appreciated

I, too, am interested in why the Roster class and Room classes extend mx.collections.ArrayCollection. Also, I tried to download the Flex lib and run everything, but I get errors relating to ArrayCollection. Is there a version of the Flex lib that is compat with AS3? It’s just causin’ problems.

I’ve gotten rid of the need for a flex library. See the forum below:

http://www.igniterealtime.org/forum/thread.jspa?messageID=148834&#148834

-Aaron

That’s a great fix Aaron. I’m sure the guys were just writing their code within Flex Builder and that sneaky little collection snuck in. Let’s get that change put into the mainline.

Cheers,

Derek

Just wondering if the AS3 library is available. If so, where can it be checked out from? Thanks!

Just check it out the same as the other projects, except replace the word ‘openfire’ with ‘xiff’