/woodstox

The gold standard Stax XML API implementation. Now at Github. (for JDK1.6), keep bugfix with FasterXML

Primary LanguageJavaApache License 2.0Apache-2.0

Overview

The gold standard Stax XML API implementation. Now at Github. (JDK 1.6) 兼容JDK1.6

Status

Build Status Maven Central Javadoc Coverage Status Tidelift

Get it!

Maven

The most common way is to use Maven (or Ivy) to access it from Maven Central repository. Coordinates for this are:

  • Group id: net.i-moss.woodstox
  • Artifact id: woodstox-core-jdk16 (changed)
  • Latest published version: 6.0.2 (2019-09-21)

Requirements

Woodstox 5 and above require Java 6 (JDK 1.6); as well as Stax API that is included in JDK. The only other mandatory dependency is Stax2 API, extended API implemented by Woodstox and some other Stax implementations (like Aalto.

Optional dependency is Multi-Schema Validator (MSV) that is needed if using XML Schema or RelaxNG validation functionality

License

Woodstox 5.x is licensed under Apache 2 license.

Documentation etc

Configuration

Most configuration is handled using standard Stax mechanism, property access via

  • XMLInputFactory.setProperty(propertyName, value) for configuring XML reading aspects
  • XMLOutputFactory.setProperty(propertyName, value) for configuring XML writing aspects

Names of properties available, including standard Stax 1.x ones, are documented in a series of blog posts:

Support

There are 2 types of support available:

Contributing

For simple bug reports and fixes, and feature requests, please simply use projects Issue Tracker, with exception of security-related issues for which we recommend filing a Tidelift security contact (NOTE: you do NOT have to be a subscriber to do this).

Other