my dog learned polymorphism
The moose likes XML and Related Technologies and the fly likes Castor related question.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Castor related question.." Watch "Castor related question.." New topic

Castor related question..

Pad Ven
Ranch Hand

Joined: Apr 29, 2005
Posts: 38
Hi all,
I am using Castor 1.0. How to set XML validation in Castor 1.0 through program? Unmarshaller.setValidation does not work - probably because I did not give path to schema in program, but I have given it within the XML, how to specify in program> If "" needs to be created (it was not there already), where must it be created and how to refer to it?

I am using the following binding file:

and the following Jaava file:

but the array items are not set for some reason I am not able to figure out. Can someone help?

Thanks and regards,
I agree. Here's the link:
subject: Castor related question..
It's not a secret anymore!