Utility Classes for Schema Validation

Utility classes for JAXP XML Validation.

License

License

GroupId

GroupId

com.componentcorp.xml.validation
ArtifactId

ArtifactId

base
Last Version

Last Version

0.9.4
Release Date

Release Date

Type

Type

jar
Description

Description

Utility Classes for Schema Validation
Utility classes for JAXP XML Validation.
Source Code Management

Source Code Management

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

Download base

How to add to project

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

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

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