# jing-trang を Homebrew, Nix, apt, zypper でインストール

jing-trang のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:jing-trang
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install jing-trang
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jing-trang
```

  証拠: nixpkgs package indexes: pkgs/by-name/ji/jing-trang/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install dtdinst
```

  証拠: Debian stable package indexes: dtdinst from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install dtdinst
```

  証拠: openSUSE Tumbleweed package metadata: dtdinst from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:jing-trang
- **パッケージマネージャ:** Homebrew
- **バージョン:** 20241231
- **ソース概要:** Schema validation and conversion based on RELAX NG
- **ホームページ:** <http://www.thaiopensource.com/relaxng/>
- **リポジトリ:** <https://github.com/relaxng/jing-trang>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- jing (エイリアス)
- trang (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 20241231
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2001: RELAX NG became an OASIS Committee Specification, and early jing-trang tags include the RELAX NG tooling era.
- 2002: RELAX NG Compact Syntax reached OASIS Committee Specification status; Trang's page documents compact-syntax conversion support.
- 2003: RELAX NG became ISO/IEC 19757-2, making Jing useful for validating an international-standard schema language.
- 2009: The V20091111 tag and Maven metadata show the Google Code-era combined Jing/Trang artifact.
- 2015: V20151127 appeared in the GitHub repository's release history.
- 2024: V20241231 continued the combined GitHub-hosted release series.

### Related projects

- Jing-Trang is tied to RELAX NG, TREX, RELAX Core, DTDinst, SAX2, W3C XML Schema, and XML editor integrations. The RELAX NG software list places it beside validators such as RNV, libxml2, MSV, and schema-related tools such as rnc2rng and RNGOM.

### ソース

- <https://api.github.com/repos/relaxng/jing-trang/releases?per_page=100>
- <https://api.github.com/repos/relaxng/jing-trang/tags?per_page=100>
- <https://central.sonatype.com/artifact/com.thaiopensource/jing>
- <https://github.com/relaxng/jing-trang>
- <https://relaxng.org/>
- <https://relaxng.org/jclark/jing.html>
- <https://relaxng.org/jclark/trang.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - dtdinst - 20241231+repack-1~deb13u1: normalized package name match | Debian stable package indexes: dtdinst from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML DTD to XML instance format converter | https://github.com/relaxng/jing-trang
- Debian apt - jing - 20241231+repack-1~deb13u1: normalized package name match | Debian stable package indexes: jing from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | RELAX NG validator | https://github.com/relaxng/jing-trang
- Debian apt - jing-trang-doc - 20241231+repack-1~deb13u1: normalized package name match | Debian stable package indexes: jing-trang-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Jing Trang and dtdinst documentation | https://github.com/relaxng/jing-trang
- Debian apt - libdtdinst-java - 20241231+repack-1~deb13u1: normalized package name match | Debian stable package indexes: libdtdinst-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML DTD to XML instance format converter - Java library | https://github.com/relaxng/jing-trang
- Debian apt - libjing-java - 20241231+repack-1~deb13u1: normalized package name match | Debian stable package indexes: libjing-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | RELAX NG validator - library | https://github.com/relaxng/jing-trang
- Debian apt - libtrang-java - 20241231+repack-1~deb13u1: normalized package name match | Debian stable package indexes: libtrang-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML schema converter - Java library | https://github.com/relaxng/jing-trang
- Debian apt - trang - 20241231+repack-1~deb13u1: normalized package name match | Debian stable package indexes: trang from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML schema converter | https://github.com/relaxng/jing-trang
- Debian apt - xhtml-relaxng - 20241231+repack-1~deb13u1: normalized package name match | Debian stable package indexes: xhtml-relaxng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Implementation in RELAX NG of the modularization of XHTML | https://github.com/relaxng/jing-trang
- Nix - jing-trang: normalized package name match | nixpkgs package indexes: pkgs/by-name/ji/jing-trang/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dtdinst - 20220510-3: normalized package name match | Ubuntu 24.04 LTS package indexes: dtdinst from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | XML DTD to XML instance format converter | https://github.com/relaxng/jing-trang
- Ubuntu apt - jing - 20220510-3: normalized package name match | Ubuntu 24.04 LTS package indexes: jing from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | RELAX NG validator | https://github.com/relaxng/jing-trang
- Ubuntu apt - jing-trang-doc - 20220510-3: normalized package name match | Ubuntu 24.04 LTS package indexes: jing-trang-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Jing Trang and dtdinst documentation | https://github.com/relaxng/jing-trang
- Ubuntu apt - libdtdinst-java - 20220510-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libdtdinst-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | XML DTD to XML instance format converter - Java library | https://github.com/relaxng/jing-trang
- Ubuntu apt - libjing-java - 20220510-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libjing-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | RELAX NG validator - library | https://github.com/relaxng/jing-trang
- Ubuntu apt - libtrang-java - 20220510-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libtrang-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | XML schema converter - Java library | https://github.com/relaxng/jing-trang
- Ubuntu apt - trang - 20220510-3: normalized package name match | Ubuntu 24.04 LTS package indexes: trang from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | XML schema converter | https://github.com/relaxng/jing-trang


## Combined YAML source

View the package source record on GitHub. [combined/jing-trang.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jing-trang.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
