users@jaxb.java.net

Re: Binding file with no schema location

From: Rama Pulavarthi <Rama.Pulavarthi_at_Sun.COM>
Date: Thu, 26 Mar 2009 21:27:50 -0700

Benson Margulies wrote:
> Consider a binding file with no schemaLocation attribute.
>
> com.sun.tools.xjc.reader.internalizer.Internalizer.buildTargetNodeMap(Element,
> Node, Target, Map<Element, Node>, SCDBasedBindingSet)
>
> will apply the xpath to the binding file itself (the 'inherited
> target'). Should it not apply it to each of the schemas known to the
> compilation, instead?
>
>
AFAIK, you can only specify <jaxb:globalBindings> without schemaLocation.

thanks,
Rama Pulavarthi