I read a post written by you about:
Marshaller marshaller = new Marshaller(w);
marshaller.setSuppressXSIType(true);
The problem is that I'm using that method but the result didn't changed.
My code is :
Marshaller m = new Marshaller();
m.setSuppressXSIType(true);
m.setSuppressNamespaces(true);
m.setSupressXMLDeclaration(true);
m.setMarshalExtendedType(false);
m.marshal(obj, file);
But what I obtained is still the xmlns:xsi=..
and the xsi:type=..
inside the xml tag.
Am I doing something wrong? I'm using castor xml 1.3.2.
if you create the marshaller with the string writer then the problem goes away.
However, if you do the below it wont work.