eXist-db / documentation

Documentation of eXist
13 stars 44 forks source link

maven xml plugin stuck with xsd, but docbook moved to relax #169

Closed duncdrum closed 6 years ago

duncdrum commented 6 years ago

Where is the problem

xml-maven-plugin doesn't support relaxNG validation.

What is the problem

Sticking with XSD is suboptimal since relax is the normative format for docbook 5.0 an up. So lets find a way to use relaxNG schema validation.

see #151

On a side note: build failures because of validation errors seem pretty drastic

adamretter commented 6 years ago

It would be fairly trivial to add RelaxNG support to the xml-maven-plugin: https://github.com/mojohaus/xml-maven-plugin/tree/master/src/main/java/org/codehaus/mojo/xml

However, I don't really see an immediate use-case for this.

duncdrum commented 6 years ago

Our prayers have been heard 🎉 relaxng support