Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Castor unmarshalling problem when ignoring elements

 
Sree Potluri
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have 2 XML files that have some attributes that are same.

First xml


second xml


When I am parsing the second xml, then I am getting error as org.exolab.castor.xml.MarshalException:Illegal text data found as child of:name

Java class



Can you please help me why the elements are not ignored?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic