This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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


Win a copy of Head First Android this week in the Android 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?
 
Don't get me started about those stupid light bulbs.
 
subject: XML Validation using castor
 
It's not a secret anymore!