This rule allows validation of XML files against XML Schema using Xerces parser.
The "schemas" parameter can be set to:
Default value: autodetect. In this case, the parser will try to load the schema based on the doctype or the namespace declaration in
the document.
Files to be validated by the schema can be specified through inclusion pattern using the "filePattern" parameter.
Built-in schemas:
| DESCRIPTION | NAMESPACE OR SHORT NAME | DOCTYPE |
|---|---|---|
| XML | http://www.w3.org/2001/xml.xsd | |
| XML | http://www.w3.org/XML/1998/namespace | |
| XHTML1.0 Strict | http://www.w3.org/1999/xhtml | |
| XHTML1.0 Strict | xhtml1-strict | -//W3C//DTD XHTML 1.0 Strict//EN |
| XHTML1.0 Transitional | xhtml1-transitional | -//W3C//DTD XHTML 1.0 Transitional//EN |
| XHTML1.0 Frameset | xhtml1-frameset | -//W3C//DTD XHTML 1.0 Frameset//EN |
| XHTML1.1 | -//W3C//DTD XHTML 1.1 Strict//EN | |
| JSF Core | http://java.sun.com/jsf/core | |
| JSF HTML Basic | http://java.sun.com/jsf/html | |
| JSF Facelets | http://java.sun.com/jsf/facelets | |
| Maven Project Model | http://maven.apache.org/POM/4.0.0 |