Re: castor unmarshal without mapping file

2015-04-12 Thread alapaka
I decided to RTFM - looks like your answer is spot on: http://castor.codehaus.org/1.2/xml-mapping.html#2.2-Unmarshalling-Behavior > When Castor finds an element while unmarshalling a document, it will try > to use the mapping information to determine which object to instantiate. > If no mapping

Re: castor unmarshal without mapping file

2015-04-12 Thread alapaka
I *think* I understand what you are saying - however does that not equate to a mapping file? I was hoping that castor would function without a mapping file and create a default class structure, for example based on the element/attribute names in the XML document. I am a complete castor newb, so