My favorites | Sign in
Project Logo
                
Search
for
Updated Jul 20, 2008 by anirudhsasikumar
Labels: Phase-Design, Featured
XMLSerializationLimits  
Limitations of XML Serialization of Java Objects

Introduction

There are some limitations when it comes to serializing to XML in fxstruts. AMF does not suffer from these limitations.

Details

<?xml version="1.0" encoding="utf-8"?>
<dumbData><yo>0</yo><dummy>Yo0</dummy></dumbData>
<dumbData><yo>1</yo><dummy>Yo1</dummy></dumbData>

Though this is traditionally considered invalid XML, Flex will parse this into an array dumbData where each element has fields yo and dummy which is exactly what we want.

This deviation from the norm is to keep SimpleXMLDecoder happy and more in line with the user's expectation.


Sign in to add a comment
Hosted by Google Code