Ernst, Matthias wrote:
> Johnny,
>
> You can implement a NamespacePrefixMapper and set it as a property
> (I think the key is com.sun.xml.bind.namespacePrefixMapper) on the Marshaller.
Yes. And you can look at namespace-prefix example in the RI.
> Kohsuke, can you make those constants public? I understand they're not part
> of the JAXB API, but of the RI, but I hate copying those strings out of the
> RI impl classes.
Indeed. I added NamespacePrefixMapper.PROPERTY.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com