This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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?
 
Have you checked out Aspose?
 
subject: XML Validation using castor
 
It's not a secret anymore!