permaculture playing cards*
The moose likes XML and Related Technologies and the fly likes XML Validation using castor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML Validation using castor" Watch "XML Validation using castor" New topic
Author

XML Validation using castor

Madhumitha Baskaran
Ranch Hand

Joined: Feb 27, 2010
Posts: 66
Hi,
I am validating my xml using castor.
I have set the property
org.exolab.castor.sax.features=http://xml.org/sax/features/validation,\
http://apache.org/xml/features/validation/schema,\
http://apache.org/xml/features/validation/schema-full-checking

But I am finding that my xml is not validated.
Is this property applicable for castor 0.9.7 version?
I have included the namespace details and added prefix to nodes using mapping.xml
Can anyone suggest what has to be done for the validation?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML Validation using castor