com.componentcorp.xml.validation:test-helpers

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

test-helpers
Last Version

Last Version

0.9.4
Release Date

Release Date

Type

Type

jar
Description

Description

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.
Source Code Management

Source Code Management

https://github.com/rosslamont/jxvc/tree/master/test-helpers

Download test-helpers

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
junit : junit jar 4.12
com.componentcorp.xml.validation : base jar 0.9.4

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
0.2.1