Hi, In the XML file my JAXB client generates, I need to create atttribute xsi:type="myType" (using extension Prime type) for an element. How can I do that? File is being generated properly. Without this attribute, file is not valid.Thanks,--- On Mon 08/11, Kohsuke Kawaguchi < Kohsuke.Kawaguchi_at_Sun.COM > wrote:From: Kohsuke Kawaguchi [mailto: Kohsuke.Kawaguchi_at_Sun.COM]To: users_at_jaxb.dev.java.netDate: Mon, 11 Aug 2003 10:07:30 -0700Subject: Re: Specified conversion customization is not used.> Now, I want to do different code transformations based on whether the> request is being handled or the response.OK, in that case you should write something like:parseMethod="ROOTDatatypeConverter.parseRequestCode"printMethod="ROOTDatatypeConverter.printRequestCode"/>The idea is to customize the binding of Code_Type where it's referenced.Your binding was trying to customize it where it's declared. Only onejavaType is allowed at the declaration.regards,--Kohsuke Kawaguchi 408-276-7063 (x17063)Sun Microsyste
ms kohsuke.kawaguchi_at_sun.com---------------------------------------------------------------------To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.netFor additional commands, e-mail: users-help_at_jaxb.dev.java.net
_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way -
http://www.myway.com