• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!