Markus Meyer wrote:
> Hi,
>
> I'm not really a Jibx user but a user of Funambol. I already asked
> Funambol developers about this issue but they claim it is fixed already
> but in reality it doesn't seem so. So I tried to debug the issue myself
> but stumbled upon a Jibx error message which I do not understand
> (although I really read through the Jibx documentation on the web page).
>
> I have the binding which can be found here:
> http://www.mesw.de/opensource/binding.xml
>
> I try to interpret this XML message using the binding above:
> http://www.mesw.de/opensource/message.xml
>
> And I get this errror:
>
> org.jibx.runtime.JiBXException: Duplicate element "(unknown name,
> position 0 in binding structure)"(line 212, col 75)
> at
> org.jibx.runtime.impl.UnmarshallingContext.throwNameException(UnmarshallingContext.java:322)
>
> Why do I get this error? How can I modify the binding that the error
> disappears?
>
> Thanks in advance for any pointers!
>
>
According to the error, it doesn't like the <Cred> tag. In reviewing
the binding, I find there is nothing that links the <mapping
name="Cred"> to either the <mapping name="Alert"> or the <mapping
class="AbstractCommnd">.
In the <mapping class="AbstractCommand"> there is a <structure
field="credential">, you need to add either a name or a map-as to this
this tag.
--
Thomas Jones-Low Softstart Services Inc.
[EMAIL PROTECTED] JobScheduler for Oracle
Ph: 802-398-1012 http://www.softstart.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users