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 "castor.properties" 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?