I am working on a small personal project at the moment that uses open source libraries: RobotLegs, AS3Signals and ASAXB.
Two of these libraries use metadata in the code in order for them to function. As far as I am aware Flex Builder, Flash Builder and FDT do not check metadata syntax out of the box. However there is a Flash Builder extension called SourceMate that does. It will tell you if the metadata is in the right place, the required parameters and whether or not all the parameters you provide are correct.
It is possible to import metadata syntax definitions into SourceMate and several open source projects have already done this. In order to continue this trend I am providing the definitions for ASAXB metadata syntax.
In order to use it you must have Flashbuilder 4 with SourceMate installed. When you run Flashbuilder click Windows>Preferences and choose SourceMate>Metadata on the left. This will show you a list of all the currently understood metadata. Click the import button and select the ASAXB xml file that you downloaded. Once imported SourceMate will check the syntax of ASAXB metadata for you.
You can download the file here.
***Updated to 1.1 26/03/2010 – Added XmlASTypeAdapter metadata definition and CDATA attritribute for XmlElement *** Made me realise that I need to do a little work on ASAXB.
[filebase:file:file=1]
Please let me know if I have made any mistakes in the metadata defnitions.





thanks for this
if you know of any other link for more metadata additions for sourcemate could you post them here or email them to me.
thanks loads
glenn
tinylion uk
Google is your friend
http://www.webappsolution.com/wordpress/2010/04/22/swiz-sourcemate-metadata-preferences-ftw/
http://www.springactionscript.org/
http://www.numbknuckle.com/2010/03/23/sourcemate-as3signals-template/
And probably many more