Re: [jibx-users] How to solve org.jibx.runtime.JiBXException: No unmarshaller for element error

2015-12-01 Thread PS Govind
ibx-users@lists.sourceforge.net > > Hello, > > You seem to have only changed it in the mapping element; the same > change needs to happen on all other name fields (structure, value > elements). > > Please go through the documentation if this is not clear. > > Rega

[jibx-users] org.jibx.runtime.JiBXException: Duplicate element error

2015-12-01 Thread PS Govind
I am getting org.jibx.runtime.JiBXException: Duplicate element "{http://www.pcats.org/schema/naxml/loyalty/v01}TransactionLine; when trying to load this xml into java. I see the set-method="addTransactionLine" method being called for the first TransactionLine element. How can I resolve this

Re: [jibx-users] org.jibx.runtime.JiBXException: Duplicate element error

2015-12-03 Thread PS Govind
The original schema is very complex (include many other schemas) and I only need to process a few elements from it. That is why I tried the structure approach. Why was I getting the Duplicate element error in my original approach? What does the "No way to load prior value - new instance will

[jibx-users] Not to include namespace prefix for few fields

2016-01-06 Thread PS Govind
How can I change the binding definition so that it doesn't add name space prefix for a few fields? XML http://www.pcats.org/schema/naxml/loyalty/v01; xmlns:ns2="http://www.naxml.org/POSBO/Vocabulary/2003-10-16; xmlns:ns4="http://www.pcats.org/schema/core/v01; >

[jibx-users] How to solve org.jibx.runtime.JiBXException: No unmarshaller for element error

2015-11-24 Thread PS Govind
Hi, I am getting "org.jibx.runtime.JiBXException: No unmarshaller for element" error when trying unmarshel the xml file given below. The input xml file, binding definition, Java source and unmarshelling code are given below. Any help will be truly appreciated... org.jibx.runtime.JiBXException:

[jibx-users] org.jibx.runtime.JiBXException: Duplicate element "{http://www.pcats.org/schema/naxml/loyalty/v01}Promotion"(line 1, col 1059)

2016-02-09 Thread PS Govind
Could anyone please assist me in resolving the Duplicate element error? Any help would be greatly appreciated... XMLhttp://www.naxml.org/POSBO/Vocabulary/2003-10-16; xmlns:ns4="http://www.pcats.org/schema/core/v01; xmlns:ns3="http://www.pcats.org/schema/naxml/loyalty/v01;>