Hi, I have created a jira issue with key - CASTOR-2430. Meantime can anyone help me find a workaround for this problem or give me a pointer towards the right direction..
Regards, Arul Prabhu. Werner Guttmann wrote: > > Hi Arul, > > can you please create a new Jira issue at > > http://jira.codehaus.org/browse/CASTOR > > and attach everything there? And please try to keep whatever you attach > as *minimal* as possible. > > Regards > Werner > > Arul Prabhu wrote: >> Hi, >> Sorry for the subject line.. to explain further the xml seems to be >> well-formed though on marshalling, an attribute node is wrongly written >> as a >> text node. Here is a snippet of the wrong output: >> <ui >> operator="System_Operators" >> administrator="System_Administrators" >> pkiProfile="Cert" >> context="Comp" >> environment="dev" >> environmentGroup=""> >> <serverList currentServer="high"> >> ........ >> ........ >> </serverList> >> </ui> >> >> After unmarshalling and marshalling becomes as: >> >> <?xml version="1.0" encoding="UTF-8"?> >> <ui operator="System_Operators" administrator="System_Administrators" >> pkiProfile="Cert" context="Comp" environment="dev" >> environmentGroup=""> >> <serverList> >> currentServer="high"> >> ....... >> ....... >> </serverList> >> > >> </ui> >> >> Please help me find a solution for this. This is a big xml file and post >> processing will not be optimal. I think this is a serious >> well-formedness >> bug. I have attached the input file, mapping file and test class. >> I am using castor 1.2 >> >> http://www.nabble.com/file/p18098103/Castor%2BQuestion.zip >> Castor+Question.zip >> >> Regards, >> Arul Prabhu. >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://www.nabble.com/Marshalled-xml-not-well-formed---Help-Please-tp18098103p18107468.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

