[ http://jira.codehaus.org/browse/JIBX-59?page=all ] Dennis Sosnoski closed JIBX-59: -------------------------------
> "Error: No compatible mapping defined" when compatible binding is in included > file > ---------------------------------------------------------------------------------- > > Key: JIBX-59 > URL: http://jira.codehaus.org/browse/JIBX-59 > Project: JiBX > Type: Bug > Components: core > Versions: 1.0-RC0 > Reporter: Arnaud Lenfant > Assignee: Dennis Sosnoski > Fix For: 1.0-RC1 > > > The following binding: > <?xml version='1.0' encoding='UTF-8'?> > <binding> > <include path="contact/Contact.jibx.xml"/> > > <mapping name="customer" class="Customer"> > <structure field="contact"/> > </mapping> > </binding> > produces the following error: > Using bindings: > config/Customer.jibx.xml > Running binding compiler version jibx-rc0 > Error: No compatible mapping defined for type contact.Contact for structure > elem > ent at (line 7, col 33, in config/Customer.jibx.xml) > Error running binding compiler > org.jibx.runtime.JiBXException: Binding config/Customer.jibx.xml is unusable > bec > ause of validation errors > at org.jibx.binding.Utility.loadBinding(Utility.java:361) > at org.jibx.binding.Utility.loadFileBinding(Utility.java:389) > at org.jibx.binding.Compile.compile(Compile.java:294) > at org.jibx.binding.Compile.main(Compile.java:382) > Even if there is a compatible binding in the included file. > This is a regression from beta3c. -- 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
