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.
--
View this message in context:
http://www.nabble.com/Marshalled-xml-not-well-formed---Help-Please-tp18098103p18098103.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