« Return to Thread: Duplicated namespace declaration from output xml

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

by Martin Grebac :: Rate this Message:

| View in Thread

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Duplicated namespace declaration from output xml