Hi,
i solved my problem!
I take the NamespacePrefixMapperImpl from the 'namespace-prefix' example
instead of the DataWriter from David Megginson.
regards
Christoph Brunner
On Wed, 11 Jun 2003 08:37:56 -0600, Christoph Brunner <news_chbr0001_at_YAHOO.DE> wrote:
>Hi,
>
>i export xml data with german umlauts (?,?, etc.)
>The standard marshaller convert for example ? to ö
>But i want to export ? instead of ö
>The JAXB example character-escape shows how to write your own characterEscapeHandler.
>I do so and it works.
>But i want to rename the namespaces too!
>To renaming the namespaces i use the DataWriter from David Megginson.
>
>If i execute marshaller.marshal(rootElement,dataWriter) then the namespaces are renamed but not the umlauts.
>If i execute marshaller.marshal(rootElement,System.out) then the umlauts are converted correctly.
>
>Any idea?
>
>Thanks