users@jaxb.java.net

Re: Appinfo annotations

From: Jeff Lowery <Jeff.Lowery_at_creo.com>
Date: Tue, 21 Jan 2003 14:45:10 -0800

Moderator,

Is there some reason why this didn't get posted?

> -----Original Message-----
> From: Jeff Lowery
> Sent: Monday, January 13, 2003 5:42 PM
> To: 'Discussion list for the Java Architecture for XML Binding'
> Subject: Appinfo annotations
>
>
> The following annotation caused JAXB beta to throw an error:
>
> <xs:annotation>
> <xs:appinfo>
> <Version Path="@Attribute" First="1.1"/>
> </xs:appinfo>
> </xs:annotation>
>
> It doesn't like the Version element. I would expect JAXB to
> only look for appinfo elements within a particular source
> namespace, either by checking the source attribute of the
> annotation element (if there is one), or the namespace of the
> child elements of appinfo. Since neither are specified here,
> Version should be ignored.
>