Try Marshaller.setSuppressXSIType(boolean suppressXSIType) for the xsi:type attribute. Not sure about the other one.


-- Martin

On Jun 8, 2004, at 12:35 PM, Grzemowski, Michal wrote:

Hi,

I wanted to say that I really appreciate your patience, I have yet another newbe question I guess.

How can I prevent CASTOR from adding the following attributes:
xsi:type="java:java.lang.String"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
when using custom handler for a field? It does not do so for other fields - only those with custom handlers.


Thanks again,

Michal Grzemowski

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to