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.
> 
Well, you were right, kinda ;).
My XPath expression was ok, but I had to add a child condition to it,
like this :

    <jaxb:bindings
schemaLocation="xml/schema/Loopbaan/B2BExchanges_V1.xsd"
                  
node="//xs:complexty...@name='Response74LSignalStruct']//xs:eleme...@name='Activities']/xs:complexType">
            <jaxb:class name="ResponseActivities"/>
    </jaxb:bindings>

The "/xs:complexType" at the end is what was missing.

Everything's ok now. 

Thanks.
-- 
Bruno Dusausoy
YP5 Software
--
Pensez environnement : limitez l'impression de ce mail.
Please don't print this e-mail unless you really need to.

Reply via email to