[ http://jira.codehaus.org/browse/JIBX-59?page=history ]
     
Dennis Sosnoski resolved JIBX-59:
---------------------------------

    Fix Version: CVS
     Resolution: Fixed
      Assign To: Dennis Sosnoski

> "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: CVS

>
>
> 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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to