[ http://jira.codehaus.org/browse/JIBX-58?page=all ]

Dennis Sosnoski updated JIBX-58:
--------------------------------

    Fix Version:     (was: CVS)
                 1.0-RC1

> Wrong base dir when using several levels of <include>
> -----------------------------------------------------
>
>          Key: JIBX-58
>          URL: http://jira.codehaus.org/browse/JIBX-58
>      Project: JiBX
>         Type: Bug
>   Components: core
>     Versions: 1.0-RC0
>     Reporter: Arnaud Lenfant
>     Assignee: Dennis Sosnoski
>      Fix For: 1.0-RC1
>  Attachments: jibxInclude.zip
>
>
> I have a Customer class, including a Contact class ( in a contact package ), 
> itself including an address class ( in the contact package ). My bindings 
> files mimic the same hierarchy.
> Customer.jibx.xml:
> <?xml version='1.0' encoding='UTF-8'?>
> <binding>
>   <include path="contact/Contact.jibx.xml"/>
>   ...
> </binding>
> contact/Contact.jibx.xml:
> <?xml version='1.0' encoding='UTF-8'?>
> <binding>
>   <include path="Address.jibx.xml"/>
>   ...
> </binding>
> Upon include resolution:
> - The binding for Customer includes the binding at 
> {baseDir}/contact.Contact.jibx.xml, which is fine ( baseDir being the 
> location of the Customer binding ).
> - The binding for Address tries to include {baseDir}/Address.jibx.xml, which 
> fails because baseDir is still the location of the Customer binding.
> Complete example attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to