aspose file tools*
The moose likes XML and Related Technologies and the fly likes ==> DOM3 API again: validating xml file against schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "==> DOM3 API again: validating xml file against schema" Watch "==> DOM3 API again: validating xml file against schema" New topic
Author

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

Aimee Best
Greenhorn

Joined: Feb 27, 2010
Posts: 4
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.
 
subject: ==> DOM3 API again: validating xml file against schema