I am new to Castor.
I've generated Java classes from a complex XML Schema.
I'm now doing some tests for marshalling.
Everything works very fine and exactly like I've been expecting.
There's only one thing I cannot understand.
I have not understood when The Marshaller writes the "xsi:type="..." definition into a tag.
An example:
<WorkspaceType>esriLocalDatabaseWorkspace</WorkspaceType>
<Version />
<Domains />
<CatalogPath>/FD=totoDS</CatalogPath>
<Name>totoDS</Name>
<CatalogPath>/FD=totoDS/FC=toto</CatalogPath>
<Name>toto</Name>
<DatasetType>esriDTFeatureClass</DatasetType>
<DSID>1</DSID>
<Versioned>false</Versioned>
<CanVersion>false</CanVersion>
<HasOID>true</HasOID>
<OIDFieldName>OBJECTID</OIDFieldName>
I do however need the xsi:types defined for every single complextype, and not only for the extended ones:
<WorkspaceType>esriLocalDatabaseWorkspace</WorkspaceType>
<Version />
<Domains xsi:type="esri:ArrayOfDomain" />
<CatalogPath>/FD=totoDS</CatalogPath>
<Name>totoDS</Name>
Is there a possibility to define this?
Do I have to write mapping files?
Should I change something in the Descriptors?
Or do I have to modify the sourcecode of the Marshaller?
Thanks in advance for your help!
Jeff

