textproc/trang - The NetBSD Packages Collection

Multi-format schema converter based on RELAX NG

Trang converts between different schema languages for XML. It
supports the following languages:

    * RELAX NG (XML syntax)
    * RELAX NG compact syntax
    * XML 1.0 DTDs
    * W3C XML Schema

A schema written in any of the supported schema languages can be
converted into any of the other supported schema languages, except
that W3C XML Schema is supported for output only, not for input.
Trang can also infer a schema from one or more example XML documents.

Trang is constructed around an RELAX NG object model designed to
support schema conversion. For each schema language supported for
input, there is an input module that can convert from the schema
language into this internal object model. Similarly, for each schema
language supported for output, there is an output module that can
convert from the internal object model in the schema language.

Trang aims to produce human-understandable schemas; it tries for
a translation that preserves all aspects of the input schema that
may be significant to a human reader, including the definitions,
the way the schema is divided into files, annotations and comments.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

textproc/jing lang/openjdk17 lang/openjdk17

Binary packages

OSArchitectureVersion
NetBSD 10.0earmv6hftrang-20090818.tgz
NetBSD 10.0earmv6hftrang-20090818.tgz
NetBSD 10.0earmv6hftrang-20090818.tgz
NetBSD 10.0earmv7hftrang-20090818.tgz
NetBSD 10.0earmv7hftrang-20090818.tgz
NetBSD 10.0earmv7hftrang-20090818.tgz
NetBSD 10.0i386trang-20090818.tgz
NetBSD 10.0i386trang-20090818.tgz
NetBSD 10.0x86_64trang-20090818.tgz
NetBSD 10.0_BETAx86_64trang-20090818.tgz
NetBSD 8.0x86_64trang-20090818.tgz
NetBSD 9.0aarch64trang-20090818.tgz
NetBSD 9.0aarch64trang-20090818.tgz
NetBSD 9.0aarch64trang-20090818.tgz
NetBSD 9.0earmv6hftrang-20090818.tgz
NetBSD 9.0earmv6hftrang-20090818.tgz
NetBSD 9.0earmv6hftrang-20090818.tgz
NetBSD 9.0earmv7hftrang-20090818.tgz
NetBSD 9.0earmv7hftrang-20090818.tgz
NetBSD 9.0earmv7hftrang-20090818.tgz
NetBSD 9.0i386trang-20090818.tgz
NetBSD 9.0i386trang-20090818.tgz
NetBSD 9.0sparc64trang-20090818.tgz
NetBSD 9.0x86_64trang-20090818.tgz
NetBSD 9.0x86_64trang-20090818.tgz
NetBSD 9.3x86_64trang-20090818.tgz
NetBSD 9.3x86_64trang-20090818.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.