This might be not related, but I'm wondering, is it because you have multiple "//"s in a single expression that affects it ? It seems a perfectly valid expression, but I recall myself seeing "//" only at the start of the expression
cheers, Sergey On Fri, Dec 3, 2010 at 7:31 AM, Bruno Dusausoy <[email protected]>wrote: > On Thu, 2 Dec 2010 17:10:44 -0500, Daniel Kulp <[email protected]> > wrote: > > It sounds like the schemaLocation attribute on the jaxb:bindings > > nodes aren't > > pointing to the correct schema if you are dealing with an imported > > schema. I > > would double check those. > > > > It definitely should work if you get all the schemaLocations and xpaths > > working properly. > > > [...] > > Indeed, it should work but it doesn't, so I guess it's my binding file > that's wrong. > Can you please tell me if it's the right way to do the bindings ? > > It's here : http://debian.pastebin.com/VWbtSUqY > The XSD is here : > > http://www.rsvz-inasti.fgov.be/schemas/WS/schema/Loopbaan/B2BExchanges_V1.xsd > > I've double-checked the schemaLocation and it seems to be ok because if > I change it I get errors telling the file is not a part of the > compilation. > Same for the XPath expression : it correctly identifies the node in the > schema file. > > One interesting thing, though is that if I change localScoping to > "nested", I get this error : > java.lang.IllegalArgumentException: > Illegal class inheritance loop. > Outer class RequestActivity may not subclass from inner class: > RequestActivity > > I have to say I don't know where to look. > > -- > Bruno Dusausoy > YP5 Software > -- > Pensez environnement : limitez l'impression de ce mail. > Please don't print this e-mail unless you really need to. >
