This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Castor related question.." Watch "Castor related question.." New topic
Author

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 "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?

Thanks and regards,
TVP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Castor related question..