Hi Patrick, let's have a look at the root element of your XML instance:
<content xmlns="http://www.eclipse.org/jubula/client/archive/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> ... </content> Clearly, you want the <content> element to be in the 'http://www.eclipse.org/jubula/client/archive/schema' XML name space. Now, in your mapping file, the class mapping for the corresponding Java class looks like this: <class name="testdesigner.persistence.Content"> <map-to xml="content"/> <field name="model" type="testdesigner.models.TestDesignerModel" direct="true"> <bind-xml name="project" node="element"/> </field> </class> Problem is that you have not told Castor about the name space being used here, 'http://www.eclipse.org/jubula/client/archive/schema' in your case. Please change your <map-to> element as follows: <class name="testdesigner.persistence.Content"> <map-to xml="content" ns-uri="http://www.eclipse.org/jubula/client/archive/schema"/> <field name="model" type="testdesigner.models.TestDesignerModel" direct="true"> <bind-xml name="project" node="element"/> </field> </class> and you should be fine. Regards Werner On 26.04.2011 10:18, Patrick Möller wrote: > Hi @ all. Sorry my provider always cuts off my email. I dont know why. I > attached my previous email to this mail in a *.txt file Greetings Patrick > Möller > ___________________________________________________________ > WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt mit > gratis Handy-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2 > > > > --------------------------------------------------------------------- > 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

