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:

DescriptionNamespace or Short nameDoctype
XMLhttp://www.w3.org/2001/xml.xsd 
XMLhttp://www.w3.org/XML/1998/namespace 
XHTML1.0 Stricthttp://www.w3.org/1999/xhtml 
XHTML1.0 Strictxhtml1-strict-//W3C//DTD XHTML 1.0 Strict//EN
XHTML1.0 Transitionalxhtml1-transitional-//W3C//DTD XHTML 1.0 Transitional//EN
XHTML1.0 Framesetxhtml1-frameset-//W3C//DTD XHTML 1.0 Frameset//EN
XHTML1.1 -//W3C//DTD XHTML 1.1 Strict//EN
JSF Corehttp://java.sun.com/jsf/core 
JSF HTML Basichttp://java.sun.com/jsf/html 
JSF Faceletshttp://java.sun.com/jsf/facelets 
Maven Project Modelhttp://maven.apache.org/POM/4.0.0