[dsdl-comment] Re: validate options in NVRL

From: Jirka Kosek <jirka@kosek.cz>
Date: Wed May 28 2008 - 07:13:12 UTC

MURATA Makoto wrote:

> For the last question, SnRNV uses JAXP (javax.xml.validation) as an
> interface for invoking validators. In other words, it is easy to
> plug in a new validator as long as it supports javax.xml.validation. I
> do not know if other validators support such pluggability.

JNVDL is similar -- it can use any validator that implements
corresponding Java API. In theory, it would be possible to write wrapper
for calling external command line validators.

If you want to use specific validator with JNVDL, it is enough to
specify it using Java property. For example, if you want to use Xerces
for WXS validation, specify:

-Djavax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema=org.apache.xerces.jaxp.validation.XMLSchemaFactory

HTH,

                        Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
        Professional XML consulting and training services
   DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
  OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Wed May 28 09:13:18 2008

This archive was generated by hypermail 2.1.8 : Wed May 28 2008 - 08:03:04 UTC