Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

==> DOM3 API again: validating xml file against schema

 
Aimee Best
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello again,

I have the following code that loads an xml file. I want to validate it against a schema. But it appears setParameter("validate", ... ) etc doesn't have any effect. I tested it with an xml file with invented elements, the program loads the xml file withoutu complaint.

Any ideas?

Thanks in advance.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic