macOS
brew install jing-tranglocal Homebrew formula metadata
brew
Schema validation and conversion based on RELAX NG. Version 20241231 via Homebrew; verified from local package data.
install
brew install jing-tranglocal Homebrew formula metadata
sudo apt install dtdinstDebian stable package indexes · dtdinst · source: deb.debian.org
nix profile install nixpkgs#jing-trangnixpkgs package indexes · pkgs/by-name/ji/jing-trang/package.nix · source: api.github.com
sudo zypper install dtdinstopenSUSE Tumbleweed package metadata · dtdinst · source: download.opensuse.org
overview
Schema validation and conversion based on RELAX NG
history
Jing-Trang packages two long-lived Java tools from the RELAX NG ecosystem: Jing, a RELAX NG validator, and Trang, a multi-format XML schema converter. Together they cover validation, conversion between RELAX NG XML syntax, RELAX NG compact syntax, XML DTDs, and W3C XML Schema output, and schema inference from example XML documents.
Jing and Trang grew out of James Clark's RELAX NG work. The RELAX NG home page identifies Jing as a Java validator written by James Clark and Trang as a Java schema converter written by James Clark that uses Jing. RELAX NG itself was standardized through OASIS in 2001, gained compact syntax in 2002, and became part of ISO/IEC 19757.
The project history spans early 2000s RELAX NG tooling, a Google Code era, and the GitHub-hosted `relaxng/jing-trang` repository. The preserved Jing and Trang pages state that development of both tools took place together in the jing-trang project, while the GitHub repository preserves the combined build and produces `jing.jar` and `trang.jar`.
Jing became one of the canonical open-source RELAX NG validators listed by relaxng.org, with support for both XML and compact syntaxes and library use with SAX2 parsers. Trang earned a similar role for schema conversion, especially for teams maintaining DTD, RELAX NG compact syntax, and W3C XML Schema artifacts across XML publishing and standards workflows.
Package-manager users mainly install Jing-Trang to get the `jing` and `trang` commands. `jing` validates XML documents against RELAX NG schemas, while `trang` converts schemas among supported formats and can infer a schema from example XML. The repository README documents building the Java jars with the included Ant wrapper.
Jing-Trang matters because it is the kind of old, stable XML infrastructure package that quietly supports documentation toolchains, standards validation, editors, and build systems. Its version tags and release names preserve the older date-stamped style common in Java XML tools, and its presence in Homebrew, Debian-family packages, Nix, and Maven metadata reflects a tool that survived long after XML schema debates cooled.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jing | cli | global executable | |
trang | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/relaxng/jing-trang
install metadata
| Package key | brew:jing-trang |
|---|---|
| Version | 20241231 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jing-trang |
| Homepage | http://www.thaiopensource.com/relaxng/ |
| Repository | https://github.com/relaxng/jing-trang |
| Upstream docs | http://www.thaiopensource.com/relaxng |
| License | BSD-3-Clause |
| Source archive | https://github.com/relaxng/jing-trang.git |
| Dependencies | openjdk |
| Build dependencies | ant |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jing-trang |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
dtdinst 20241231+repack-1~deb13u1
XML DTD to XML instance format converter
https://github.com/relaxng/jing-trang
sudo apt install dtdinstjing 20241231+repack-1~deb13u1
RELAX NG validator
https://github.com/relaxng/jing-trang
sudo apt install jingjing-trang-doc 20241231+repack-1~deb13u1
Jing Trang and dtdinst documentation
https://github.com/relaxng/jing-trang
sudo apt install jing-trang-doclibdtdinst-java 20241231+repack-1~deb13u1
XML DTD to XML instance format converter - Java library
https://github.com/relaxng/jing-trang
sudo apt install libdtdinst-javalibjing-java 20241231+repack-1~deb13u1
RELAX NG validator - library
https://github.com/relaxng/jing-trang
sudo apt install libjing-javalibtrang-java 20241231+repack-1~deb13u1
XML schema converter - Java library
https://github.com/relaxng/jing-trang
sudo apt install libtrang-javatrang 20241231+repack-1~deb13u1
XML schema converter
https://github.com/relaxng/jing-trang
sudo apt install trangxhtml-relaxng 20241231+repack-1~deb13u1
Implementation in RELAX NG of the modularization of XHTML
https://github.com/relaxng/jing-trang
sudo apt install xhtml-relaxngjing-trang
nix profile install nixpkgs#jing-trangdtdinst 20220510-3
XML DTD to XML instance format converter
https://github.com/relaxng/jing-trang
sudo apt install dtdinstjing 20220510-3
RELAX NG validator
https://github.com/relaxng/jing-trang
sudo apt install jingjing-trang-doc 20220510-3
Jing Trang and dtdinst documentation
https://github.com/relaxng/jing-trang
sudo apt install jing-trang-doclibdtdinst-java 20220510-3
XML DTD to XML instance format converter - Java library
https://github.com/relaxng/jing-trang
sudo apt install libdtdinst-javalibjing-java 20220510-3
RELAX NG validator - library
https://github.com/relaxng/jing-trang
sudo apt install libjing-javalibtrang-java 20220510-3
XML schema converter - Java library
https://github.com/relaxng/jing-trang
sudo apt install libtrang-javatrang 20220510-3
XML schema converter
https://github.com/relaxng/jing-trang
sudo apt install trangsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.