users@jaxb.java.net

Re: schema location or namespace of JAXB object

From: Kenny MacLeod <kennym_at_kizoom.com>
Date: Thu, 28 Jun 2007 09:52:30 +0100

> With JAXB 2.1, I see a package-info.java file generated with the schema
> location information in it. I guess the JAXBContext loads
> this information from it ?

Ah yes, there it is.

Without a package-info, you can add the namespace attribute to the
@XmlRootElement annotation instead.