users@jaxb.java.net

RE: XML namespace to Java package name

From: Gary Gregory <ggregory_at_seagullsw.com>
Date: Wed, 8 Oct 2003 18:12:17 -0400

Good suggestion, we'll toss it around.

In the meantime, I've reproduced a conversion util that seems to work for
now.

Thanks,
Gary

> -----Original Message-----
> From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
> Sent: Wednesday, October 08, 2003 13:35
> To: users_at_jaxb.dev.java.net
> Subject: Re: XML namespace to Java package name
>
>
> The process of converting a namespace to a package name is explained in
> detail in the spec, so it won't be hard to re-create that code.
> Unfortunately, that part is available only as a part of XJC, so you
> cannot really reuse it from your code.
>
> One problem that I see with your approach is that the customization
> could change the package name.
>
> I think more robust solution is to use something like META-INF/services
> and have them point to the package name or something.
>
>
>
> regards,
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net