File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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..
 
Similar Threads
Mapping Java fields to attribute and element
Castor: How to map list items within a "parent" list element?
problem with loading mapping.xml
Castor unable to Map - please help
[Castor] "unmarshalling exception: unable to find FieldDescriptor for"