Java XML Validation Collection

A collection of JAXP Validators and utility classes, including an uber validator which detects most types of validation and performs ISO/IEC 19757-11:2011 compliant xml-model validation. Especially note IntrinsicSchemaFactory which can be used to auto detect other SchemaFactories whilst validating a document. IntrinsicSchemaFactory supports xml-model schema association.

License

License

GroupId

GroupId

com.componentcorp.xml.validation
ArtifactId

ArtifactId

jxvc-master
Last Version

Last Version

0.9.4
Release Date

Release Date

Type

Type

pom
Description

Description

Java XML Validation Collection
A collection of JAXP Validators and utility classes, including an uber validator which detects most types of validation and performs ISO/IEC 19757-11:2011 compliant xml-model validation. Especially note IntrinsicSchemaFactory which can be used to auto detect other SchemaFactories whilst validating a document. IntrinsicSchemaFactory supports xml-model schema association.
Project URL

Project URL

https://github.com/rosslamont/jxvc
Source Code Management

Source Code Management

https://github.com/rosslamont/jxvc/tree/master

Download jxvc-master

Filename Size
jxvc-master-0.9.4.pom 7 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.componentcorp.xml.validation/jxvc-master/ -->
<dependency>
    <groupId>com.componentcorp.xml.validation</groupId>
    <artifactId>jxvc-master</artifactId>
    <version>0.9.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.componentcorp.xml.validation/jxvc-master/
implementation 'com.componentcorp.xml.validation:jxvc-master:0.9.4'
// https://jarcasting.com/artifacts/com.componentcorp.xml.validation/jxvc-master/
implementation ("com.componentcorp.xml.validation:jxvc-master:0.9.4")
'com.componentcorp.xml.validation:jxvc-master:pom:0.9.4'
<dependency org="com.componentcorp.xml.validation" name="jxvc-master" rev="0.9.4">
  <artifact name="jxvc-master" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.componentcorp.xml.validation', module='jxvc-master', version='0.9.4')
)
libraryDependencies += "com.componentcorp.xml.validation" % "jxvc-master" % "0.9.4"
[com.componentcorp.xml.validation/jxvc-master "0.9.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • jxvc
  • jxvc-tests
  • relaxng
  • relaxng-compact
  • test-helpers
  • base

jxvc

Maven Central Build Status

A collection of JAXP compliant validators for different XML Validation languages. The following validation situations are supported:

  • Uber validator (IntrinsicSchemaFactory) - automatically detects the following situations:
    • xml-model processing instruction (compliant with ISO/IEC 19757-11:2011)
    • xsi annotated XML Schema
    • DTD (coming soon)
  • Relax NG XML Syntax (jing wrapper)
  • Relax NG Compact Syntax
  • (To be implemented) Schematron
  • (To be implemented) NVDL

In addition, a small library of functionality is provided to support other validation implementations.

Installing

All artifacts are available in the maven central repository. Each validator is independent of any other validator, providing a developer with flexibility and the ability to substitue there own implementations of particular validation languages if desired. See the Usage examples for a more information.

The artifacts provided are as follows:

IntrinsicSchemaFactory uber validator

<dependency>
    <groupId>com.componentcorp.xml.validation</groupId>
    <artifactId>jxvc</artifactId>
    <version>0.9.0</version>
</dependency>

RelaxNG XML Syntax validator

<dependency>
    <groupId>com.componentcorp.xml.validation</groupId>
    <artifactId>relaxng</artifactId>
    <version>0.9.0</version>
</dependency>

RelaxNG Compact Syntax validator

<dependency>
    <groupId>com.componentcorp.xml.validation</groupId>
    <artifactId>relaxng-compact</artifactId>
    <version>0.9.0</version>
</dependency>

Utility Classes

<dependency>
    <groupId>com.componentcorp.xml.validation</groupId>
    <artifactId>base</artifactId>
    <version>0.9.0</version>
</dependency>

Usage

Various usage examples

Javadoc

Javadoc for each project is available at:

Built With

  • Maven - Dependency Management

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Ross Lamont - Initial work

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache 2.0 License with some variations - see the LICENSE file for details

Versions

Version
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.2.3
0.2.1