users@jaxb.java.net

Re: Telling JAXB a schema has already been generated

From: Peter Lynch <peterlynch_at_pub.missioncap.ca>
Date: Thu, 15 Mar 2007 16:28:15 -0300

Look at the version attribute of the {http://java.sun.com/xml/ns/jaxb}bindings
element. set it to 2.0 instead of 2.1

-Peter

Dan Diephouse wrote:
> Cool, thanks Kohsuke!
>
> One further question: Our users need to be able to use our jaxb files with
> jaxb 2.0 as well. Is there a switch to tell jaxb to generate 2.0 compatible
> artifacts instead of 2.1 artifacts? (I'm 99% sure there is, but not sure
> about how to do it)
>
> - Dan
>