users@jaxb.java.net

Re: Again: Problem with namespaces in jaxb generated files

From: Zoltan Sebestyen <szoli2_at_FREEMAIL.HU>
Date: Wed, 06 Nov 2002 08:49:24 -0700

On Wed, 6 Nov 2002 10:42:32 -0500, Ryan Shoemaker - JavaSoft East <Ryan.Shoemaker_at_Sun.COM> wrote:

>Hi Zoltan,
>
>You're right - we aren't maintaining the namespace prefix across unmarshal/marshal
>operations yet. There currently isn't anyway to change this behavior.
>
>Thanks for the feedback...
>
>--Ryan
>

Ryan,

 Thanks for the reply, but may be there's a little misunderstanding: It's not a problem for me that not the very same XML file generated via the composition of unmarshal and marshal operations, that was just to show how differs the marshalled XML file from the expected one.

 What I like to have is to make JAXB not to put an 'ns1' prefix in, when I'm only trying to redefine the default namespace.

Regards,

Zoltan