From ad477adf15b503dd2c8f8d2d8c06e4094f4ba332 Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Sat, 10 Nov 2007 16:50:17 +0000 Subject: [PATCH] Add instructions for using JNVDL --- docbook/relaxng/docbook/howto/howto.xml | 29 ++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/docbook/relaxng/docbook/howto/howto.xml b/docbook/relaxng/docbook/howto/howto.xml index 2300e74b7..1e9ed7aea 100644 --- a/docbook/relaxng/docbook/howto/howto.xml +++ b/docbook/relaxng/docbook/howto/howto.xml @@ -512,12 +512,14 @@ schema which defines that DocBook documents should be validated against both RELAX NG and Schematron schema. You can find a list of NVDL validators at . The following procedure shows how to +xl:href="http://nvdl.org/"/>. The following procedures show how to install and use oNVDL -validator. +xl:href="http://www.oxygenxml.com/onvdl.html">oNVDL and +JNVDL +validators. +oNVDL installation and usage Download onvdl-20070517.zip. @@ -531,6 +533,26 @@ xl:href="http://www.oxygenxml.com/InstData/onvdl/onvdl-20070517.zip">onvdl-20070 + +JNVDL installation and usage + +Download the latest release of JNVDL from . + + +Unpack the downloaded file into an arbitrary directory. + + +Modify file jnvdl.bat (or jnvdl.sh on Unix based systems) to include switch directly after java command. + + +On Windows systems validate your document using the following command: +/path/to/jnvdl/jnvdl -nt -s /path/to/docbook.nvdl document.xml +On Unix systems validate your document using the following command: +/path/to/jnvdl/jnvdl.sh -nt -s /path/to/docbook.nvdl document.xml + + + @@ -1826,6 +1848,7 @@ instance. This means that all XIncludes should be processed before validation takes place. The following command can be used to enable XInclude processing in oNVDL. java -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration -jar /path/to/oNVDL/bin/onvdl.jar /path/to/docbook.nvdl document.xml +For JNVDL you can use switch to enable XInclude processing. -- 2.40.0