Hi @all !
Since a few weeks I've a problem I could not solve on my own. I hope someone here can help me.
I haven't found something equal in the castor documentation.
I want to unmarshall a specific *.xml file with a mapping file in java with castor, but i get no correct unmarshalled object its always null. But I could isolate the problem. I think its a problem of xmlns and xmlns:xsi in the root element of the *.xml file.
XML file looks like this:
ISKV21c_Kern_Basics
1569b7bf3ee84fb4b60d43731bb0493a
false
true
de_DE
en_US
de_DE
My mapping file looks like this:
Guidancer V5.0.01007 Mapping File
The project object is always null when I don't change the XML file.
If I delete xmlns="http://www.eclipse.org/jubula/client/archive/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" then my project object is unmarshalled correctly.
Is there any way to map correct to my XML file without deleting the attributes of the root element? How can I change my mapping file to map correct?
Has anyone had the same problem?
My used Jars are:
castor-1.3.1-commons.jar
castor-1.3.1-core.jar
castor-1.3.1-xml.jar
castor-1.3.1-xml-schema.jar
Thanks in advance!
greetings
Patrick Möller