I am using xstream to marshal an XML view and it works differently depending on the ClassName of the object I'm trying to marshal.
On one output I have a simple output
On another Class Name with similar properties I get:Code:<?xml version="1.0"?> <store hash="FJSF"> <name>The Video Store</name> <phone>(323) 999-3322</phone> <defaultMedia type="PICTURE"> <url>http://images.google.com/images/3/215.jpg</url> </defaultMedia> </store>
Has anyone seen something like that, this problem has been most confusing.Code:<?xml version="1.0"?> <org.springframework.validation.BeanPropertyBindingResult> <nestedPath/> <nestedPathStack serialization="custom"> <unserializable-parents/> <vector> <default> <capacityIncrement>0</capacityIncrement> <elementCount>0</elementCount> <elementData> <null/> <null/> <null/> <null/> <null/> <null/> <null/> <null/> <null/> <null/> </elementData> </default> </vector> </nestedPathStack> <objectName>VenueModel</objectName> <messageCodesResolver class="org.springframework.validation.DefaultMessageCodesResolver"> <prefix/> </messageCodesResolver> <errors class="linked-list"/> <suppressedFields/> <target class="venue" hash="sdfklj"> <name>The Venue</name> <phone>(805)555-1212</phone> <defaultMedia type="PICTURE"> <url>http://images.google.com/images/4/222.jpg</url> </defaultMedia> </target> </org.springframework.validation.BeanPropertyBindingResult>


Reply With Quote
