Re: [xml-dev] NVDL validator

From
Mukul Gandhi <>
To
Christophe Marchand <>
Date
2018-10-30T04:47:03Z
ID
<>
Thread
Re: [xml-dev] NVDL validator
On Mon, Oct 29, 2018 at 9:20 PM Christophe Marchand <[email protected]> wrote:

> xerces 12.0 supports it, but has lacks with big documents

The latest version of Xerces-J is 2.12.0. I agree, that while using XSD 1.1 <assert> (assuming you're referring to <assert>) it doesn't scale when using super huge input XML documents. I guess, <assert> would have similar problems with other XSD 1.1 processors. For large input documents, its best not to write <assert> near the root of the input document. Using <assert> for smaller 'sub documents' within large documents works well.

> support is not included in main distro, so you must re-compile it by yourself.
 
On the Xerces download page http://xerces.apache.org/mirrors.cgi, binary distributions of Xerces-J are available as well. There are two binary distributions available as following (Pls see section 'Binary Distributions'):

Xerces2 Java 2.12.0 : supports only XSD 1.0, and requires JDK 1.3 or above.
Xerces2 Java 2.12.0 (XML Schema 1.1) : supports XSD 1.0 & 1.1, and requires JDK 1.4 or above.

For a full list of features implemented by Xerces2, please see http://xerces.apache.org/#xerces2-j.



--
Regards,
Mukul Gandhi