Hi, thanks for doing so. I have already created a comment, as I have got some questions, but I can easily repeat them here as well:
Here we go: It looks like you started with an XML schema, as one can see that some of your classes got generated through the XML source generator. b) If that's the case, how come you are supplying a mapping file at all? c) Where are the descriptor classes that got generated with your domain classes ? Regards Werner Arul Prabhu wrote: > 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 >> >> >> >> > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

