• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Validation using castor

 
Madhumitha Baskaran
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic