users@jaxb.java.net

Re: XML Schema Versioning?

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Thu, 27 May 2010 09:56:50 +0200

This is used when calling schemagen to create a schema from Java sources,
Obviously, it can't be derived from Java code. There might be a schemagen
option to set this xsd:token value, but since version="1.0" is easy to
locate
in the xsd file, you can easily use some tool to change the '1.0'.

-W


On 26 May 2010 22:52, Alex Sherwin <alex.sherwin_at_acadiasoft.com> wrote:

> I see this:
>
> schema.version("1.0");
>
> in com.sun.xml.bind.v2.schemagen.XmlSchemaGenerator$Namespace.writeTo
>
> I don't see any way it can be configured either during writing or parsing
> of schema's... Is XSD versioning just not supported?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>