Hi Yann,

I had to do some digging to find the original message you were referring 
to, but will reply to that one as well. I think Stefano's issue is 
different from yours.

You're correct that reusing the same element name on a <mapping> should 
work fine as long as the namespaces are different. But looking at the 
code, I don't think it's making that distinction right now.

The only thing I can suggest as an immediate solution is that you try to 
change one of the conflicting <mapping>s into an embedded structure. You 
can do this, even inside collections, so long as you know the place(s) 
where the element can validly appear.

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



[EMAIL PROTECTED] wrote:
>
> Hi Stefano,
>  
> I don't have any answer to give to you, I just wanted to mention that 
> I got the same problem since yesterday. I upgrated my JiBX and the 
> binding compiler is not working anymore:
>  
>
> [_bind_] Error: Duplicate mapping name not allowed for unmarshalling; 
> on mapping element at (line 113, col 112, in 
> TestDataBinding/../TestDataBinding/src/binding.xml)
>
> In my binding.xml I have the same structure that is duplicated 
> but under different namespaces, that shouldn't be a problem (in my 
> understanding from XML). Can anybody help us?
>
> Thanks
>
> Mit freundlichen Grüßen / With best regards
>
> Yann Lostanlen*
> *
> --
> IMPORTANT NOTICE:
> This email is confidential, may be legally privileged, and is for the
> intended recipient only. Access, disclosure, copying, distribution, or
> reliance on any of it by anyone else is prohibited and may be a criminal
> offence. Please delete if obtained in error and email confirmation to 
> the sender.
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to