mojohaus / xml-maven-plugin

XML Maven Plugin
https://www.mojohaus.org/xml-maven-plugin/
Apache License 2.0
23 stars 21 forks source link

Fixed #21 (support for ISO/IEC 19757-11:2011 xml-model processing instruction) #27

Closed rosslamont closed 7 years ago

rosslamont commented 7 years ago

Motivation: support the validation approaches specified in ISO/IEC 19757-11:2011 - which in turn provides immediate standardised support for RelaxNG (XML and compact) and in theory support for Schematron and NVDL

Solution: the jxvc project provides an implementation of ISO/IEC 19757-11:2011 as well as wrappers for RelaxNG validators. This solution implements the special zero argument Validator constructor (via Schema.newValidator()) which xml-maven-plugin does not currently support. The fix has been to special case the schemaLanguage used by jxvc so that the zero arg constructor (factory method) can be invoked.

rosslamont commented 7 years ago

You need to pull in PR #29 to get this to build.