OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: Is there a Maven plugin for XML Schema validation?

Hi Roger, 

You can use xml-maven-plugin which can perform XSLT transformations but also schema validation : 

You can specify the schema to apply in the pom.xml as in this example but you can also let the plugin check for xml-model PI in your XML as explain in https://github.com/mojohaus/xml-maven-plugin/issues/21 

We also use this plugin for other validation models : Relax NG, NVDL and Schematron, but we had to adapt a few dependencies : 
            <!-- xml-model PI handling-->
            <!-- Jing Wrapper : SchemaFactories for RNG, RNC, Schematron (1.5 and ISO), NVDL-->
            <!-- Recent Jing for ISO schematron -->
            <!-- Needed by ELS's Jing -->
            <!-- for ISO schematron -->



Matthieu Ricaud-Dussarget

-----Message d'origine-----
De : Roger L Costello <costello@mitre.org> 
Envoyé : vendredi 20 novembre 2020 15:42
À : xml-dev@lists.xml.org
Objet : [xml-dev] Is there a Maven plugin for XML Schema validation?

Hi Folks,

I want to use Maven to automate the validation of XML instances against an XML Schema.

Is there a Maven plugin for XML Schema validation?



XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS