Java tools and libraries providing a Metaschema toolchain
OTHER License
Bot releases are visible (Hide)
This pre-release represents a major refactoring of this library, with a focus on stabalizing APIs and laying the groundwork for ongoing maintenance and extension.
As part of this release, a number of existing modules have been retired, with the code migrated and merged into two new modules.
metaschema-model-common
to metaschema-core
in folder core
.metaschema-model
to metaschema-core
in folder core
.metaschema-java-binding
to metaschema-databind
in folder databind
.metaschema-java-codegen
to metaschema-databind
in folder databind
.metaschema-schema-generator
from the folder metaschema-schema-generator
to schemagen
.metaschema-core
, metaschema-databind
, and metaschema-schema-generator
modules. This provides a means to isolate APIs from implementation.The APIs have also migrated to different package names. The primary packages are now:
While imports have changed, most class names have remained stable. Some exceptions are:
gov.nist.secauto.metaschema.model.common.IMetaschema
to gov.nist.secauto.metaschema.core.model.IModule
to be more consistent with terminology.gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValue*
interfaces. Use the gov.nist.secauto.metaschema.core.metapath.item.node.I*
interfaces instead.Overall code and repo improvements:
The following changes were made to the metaschema-core
module:
true()
and false()
Metapath functions./
) must be executed against an IDocumentNodeItem or an error should be raised.The following changes were made to the metaschema-databind
module:
The following changes were made to the metaschema-schema-generator
module:
The following changes were made to the metaschema-maven-plugin
module:
Changes to the Website:
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.12.2...v1.0.0-M1
This release is on Maven Central.
Published by david-waltermire-nist about 1 year ago
This is a patch release to fix a defect causing data type references to be omitted for attributes in XML Schema generated using the schema generation function of this library.
The core repository documentation has been updated, which includes information on the testing approach used by this project.
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.12.1...v0.12.2
This release is on Maven Central.
Published by david-waltermire-nist about 1 year ago
This patch release was made to fix a build pipeline problem. It is functionally the same as the v0.12.0 release.
This patch release changed no Java code.
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.12.0...v0.12.1
This release is on Maven Central.
Published by david-waltermire-nist over 1 year ago
validate-content command
. This command requires a -m
argument pointing to the Metaschema to use. It automatically compiles the binding classes and generates the appropriate XML or JSON schema for content validation.Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.11.0...v0.12.0
This release is on Maven Central.
Published by david-waltermire-nist over 1 year ago
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.10.0...v0.11.0
This release is on Maven Central.
Published by david-waltermire-nist almost 2 years ago
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.9.0...v0.10.0
This release is on Maven Central.
Published by david-waltermire-nist about 2 years ago
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.8.1...v0.9.0
This release is on Maven Central.
Published by david-waltermire-nist over 2 years ago
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.8.0...v0.8.1
This release is on Maven Central.
Published by david-waltermire-nist over 2 years ago
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.7.0...v0.8.0
This release is on Maven Central.
Published by david-waltermire-nist over 2 years ago
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.6.0...v0.7.0
This release is on Maven Central.
Published by david-waltermire-nist over 2 years ago
Fix for BooleanAdapter JSON Parsing by @rgauss in https://github.com/usnistgov/metaschema-java/pull/13
Bump log4j-core from 2.14.0 to 2.17.1 by @dependabot in https://github.com/usnistgov/metaschema-java/pull/21
Bump log4j-api from 2.14.0 to 2.17.1 by @dependabot in https://github.com/usnistgov/metaschema-java/pull/20
change html to markdown where appropriate by @bradh in https://github.com/usnistgov/metaschema-java/pull/11
Support for Metapath resolution by @david-waltermire-nist in https://github.com/usnistgov/metaschema-java/pull/22
Added experimental support for Metaschema constraints based on an expression language called Metapath.
Provides support for executing a Metapath against a bound object. Metapath is an XPath 3.0 like path language which works based on Metaschema constructs. In Metapath, Metaschema flags use the XPath attribute syntax @flag-name
, while fields and assemblies use the element style syntax field-name
or assembly-name
.
See the code in metaschema-model-common\src\main\java\gov\nist\secauto\metaschema\model\common\metapath.
This feature is the basis for Metaschema constraint validation which is also included.
See the code in metaschema-model-common\src\main\java\gov\nist\secauto\metaschema\model\common\constraint.
Full Changelog: https://github.com/usnistgov/metaschema-java/compare/v0.5.0...v0.6.0
This release is on Maven Central.
Published by david-waltermire-nist over 3 years ago
This release of the Metaschema Java utilities is based on the Milestone 4 (M4) version of the NIST Metaschema project. Java artifacts have been released to Maven Central.