Deserializing XmlArray

50 views
Skip to first unread message

mscharp

unread,
May 17, 2012, 3:13:32 PM5/17/12
to FxWorks
Using the latest version of FlexXB, I think I have found a bug when
deserializing an XmlArray. Here is the annotation I am using:
[XmlArray( alias = "*", getRuntimeType = "true" )]

If the alias equals "*", and no type is specified, I get this error
every time. If I remove the alias, everything is fine, or if I specify
a type it seems to be fine. However, when I specified a type as
String, i received this error as well.

TypeError: Error #1010: A term is undefined and has no properties.
at XML/http://adobe.com/AS3/2006/builtin::child()
at com.googlecode.flexxb.xml.serializer::XmlArraySerializer/
deserializeObject()[C:\Dev\xtrac\trunk_ws2\plm_designer\plm_modeler
\FlexXB\src\main\flex\com\googlecode\flexxb\xml\serializer
\XmlArraySerializer.as:194]
at XmlMemberSerializer/deserialize()[C:\Dev\xtrac
\trunk_ws2\plm_designer\plm_modeler\FlexXB\src\main\flex\com\googlecode
\flexxb\xml\serializer\XmlMemberSerializer.as:107]
at com.googlecode.flexxb.core::SerializationCore/deserialize()[C:\Dev
\xtrac\trunk_ws2\plm_designer\plm_modeler\FlexXB\src\main\flex\com
\googlecode\flexxb\core\SerializationCore.as:371]


Thanks
-Michael
Reply all
Reply to author
Forward
0 new messages