users@jaxb.java.net

Re: AW: AW: Duplicated namespace declaration from output xml

From: Martin Grebac <Martin.Grebac_at_Sun.COM>
Date: Fri, 21 Nov 2008 13:58:54 +0100

Would you please file an issue against JAXB and attach the schema you're
using best with a simple testcase?
 Thanks,
  MartinG

Colin Fleming wrote:
> Hi all,
>
> The problem that we had with the prefix mapper was that it doesn't
> allow you to remove the namespaces that JAXB declares automatically
> (i.e. the ones statically known by the JAXBContext). For performance
> (and convenience) reasons we create a single JAXBContext that's aware
> of many different document types, and JAXB ends up adding about 60
> namespace declarations to each document. The prefix mapper doesn't
> help with that.
>
> Cheers,
> Colin
>

-- 
Martin Grebac, http://blogs.sun.com/mgrebac
Web Technologies & Standards
Sun Microsystems Czech
ICQ: 93478885