Hello friends,
I am a bit new to XSD and XML unmarshalling techniques. In past month I have learnt JAXB techniques of how to unmarshal an given XML into a
JAVA object.
I am using Java web services developer pack for that purpose.
Can someone tell if the order of tags matter while umarshalling an XML?
I have an XML of type
I created an XSD of kind..
I generated the java files using JWSDP. and written the code for unmarshalling.
It works if child 1 comes before child2. In case child2 comes before child1, then it gives me an unmarshalling exception as follows
Does the order of tags should matter??? How can I get rid of this problem?
Does anyone has any clue?