• Post Reply Bookmark Topic Watch Topic
  • New Topic

Castor fail to marshal/un-marshal valid instance of sequence-of-choice schema.  RSS feed

getkavya maheshwari
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the castor v 0.96 to generate the castor from my XSD, XSD having the following type of contants having choice inside sequence and sequence inside some complex tag.

duing converting xml string to java business object (unmarshall). it is failing because of this structure.

After that we have gone thru below link


Which is suggesting to use the 1.2 version (castor-1.2-xml.jar) for fixing problem (sequence-of-choice structure in schema) but it is also not worked.

Suggest needful.

(Edit: code put into "Code" tags -- Paul C)

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!