Richard, given that you are using Castor's Marshaller through the Spring classes, there's non easy solution. Looks like I need to enrich the CastorMarshaller class to expose all setters from the original Marshaller class.
Can you please raise a new Jira issue at http://jira.codehaus.org/browse/CASTOR and I will commit the changes as soon as possible. Regards Werner Gundersen, Richard wrote: > Hi > > I desperately need to stop Castor from outputting xmlns and xsi:type > attributes in my XML (the software reading the XML doesn't support it > hmmm...) > > Does anyone know how to do this? I've been looking in the source to find > which properties I can use. The best I came up with was > "org.exolab.castor.parser.namespaces=false" in castor.properties which I > thought might get rid of the first attribute, but it didn't make a > difference. > > I'm using this Springified marshaller if that's inmportant: > org.springframework.oxm.castor.CastorMarshaller > > Please help! > > Regards > > Richard Gundersen > Java Developer > > Email: [EMAIL PROTECTED] > Phone: 01618302398 > Fax: 01618342536 > London Scottish Bank plc > 24 Mount Street > Manchester > M2 3LS > > > *** Disclaimer *** > > This electronic communication is confidential and for the exclusive use of > the addressee. It may contain private and confidential information. The > information, attachments and opinions contained in this E-mail are those of > its author only and do not necessarily represent those of London Scottish > Bank PLC or any other members of the London Scottish Group. > > If you are not the intended addressee, you are prohibited from any > disclosure, distribution or further copying or use of this communication or > the information in it or taking any action in reliance on it. If you have > received this communication in error please notify the Information Security > Manager at [EMAIL PROTECTED] as soon as possible and delete the message from > all places in your computer where it is stored. > > We utilise virus scanning software but we cannot guarantee the security of > electronic communications and you are advised to check any attachments for > viruses. We do not accept liability for any loss resulting from any > corruption or alteration of data or importation of any virus as a result of > receiving this electronic communication. > > Replies to this E-mail may be monitored for operational or business reasons. > London Scottish Bank PLC is regulated by the Financial Services Authority. > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > > --------------------------------------------------------------------- > 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

