Hi,
can you please open a new issue at Castor's Jira, and attach a working
test case that allows us to replay the problem at hand.
Kind Regards
Werner
On 03.11.2011 19:14, Pradeep_s83 wrote:
Hi,
I am using spring castor marshalling . In the generated xml , for enum types
xmlns attribute is not coming . Its coming for other primitive types
Please find the mapping snippet below. queryFilter is an enum type
<class
name="com.test.gen.common.SearchRequestType"
access="shared">
<map-to xml="SearchRequestType"
ns-uri="http://www.wsgc.com/schemas/WSI/DS/Common/v1.0"
element-definition="true" />
<field name="queryFilter"
type="com.test.gen.common.QueryFilterType"
required="true">
<bind-xml name="QueryFilter" node="element" />
</field>
<field name="conceptCode" type="java.lang.String"
required="true">
<bind-xml name="ConceptCode" node="element" />
</field>
</class>
<class
name="com.test.gen.common.QueryFilterType"
access="shared" verify-constructable="false">
<map-to xml="QueryFilterType"
ns-uri="http://www.wsgc.com/schemas/WSI/DS/Common/v1.0"
element-definition="false" />
</class>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email