Skip to content

rosslamont/jxvc

Repository files navigation

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

About

Java XML Validation Collection

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages