<commit_before><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Jing</title>
</head>
<body>
<h1>Jing</h1>
<h2>A RELAX NG validator in Java</h2>

<p>Copyright &#169; 2001, 2002 Thai Open Source Software Center Ltd</p>

<p>See the file <a href="copying.txt">copying.txt</a> for copying
permission.</p>

<h3>Version @VERSION@</h3>

<p>This version of Jing implements</p>

<ul>

<li><a
href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html">RELAX
NG 1.0 Specification</a>,</li>

<li><a
href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html"
>RELAX NG Compact Syntax</a>, and</li>

<li>parts of <a
href="http://www.oasis-open.org/committees/relax-ng/compatibility-20011203.html"
>RELAX NG DTD Compatibility</a>, specifically checking of
ID/IDREF/IDREFS.</li>

</ul>

<p>The implementation is available for download as</p>

<ul>
<li>a <a href="jing-bin.zip">JAR</a> file</li>

<li>a <a href="jing-win32-bin.zip">Win32 executable</a> for use with
the Microsoft Java VM</li>

<li><a href="jing-src.zip">source code</a></li>

</ul>

<p>The main class is
<code>com.thaiopensource.relaxng.util.Driver</code>.  The first
argument expected by the main class is the name of the file containing
the RELAX NG schema.  The second and subsequent arguments are the
names of one or more files to be validated against this schema.</p>

<p>Jing accepts the following command-line options:</p>

<dl>

<dt><code>-c</code></dt>

<dd>Uses the compact syntax for the schema.</dd>

<dt><code>-e <var>enc</var></code></dt>

<dd>Uses the encoding <code><var>enc</var></code> to read the
schema.</dd>

<dt><code>-f</code></dt>

<dd>Checks that the document is <em>feasibly valid</em>.  A document
is <em>feasibly valid</em> if it could be transformed into a valid
document by inserting any number of attributes and child elements
anywhere in the tree.  This is equivalent to transforming the schema
by wrapping every <code>data</code>, <code>list</code>,
<code>element</code> and <code>attribute</code> element in an
<code>optional</code> element and then validating against the
transformed schema. This option may be useful while a document is
still under construction.  This option also disables checking that for
every IDREF there is a corresponding ID.</dd>

<dt><code>-i</code></dt>

<dd>Disables checking of ID/IDREF/IDREFS. By default,
Jing enforces the constraints imposed by RELAX NG DTD Compatibility
with respect to ID/IDREF/IDREFS.</dd>

<dt><code>-t</code></dt>

<dd>Prints the time used by Jing for loading the schema and
for validation.</dd>

</dl>

<p>Jing uses a vendor-independent Java interface for RELAX NG datatype
libraries, developed by <NAME> and <NAME> and hosted
at SourceForge in the <a
href="http://sourceforge.net/projects/relaxng">relaxng</a> project.
Jing can use any datatype library that implements this interface.  For
more information on creating your own datatype libraries, including a
sample, download <a
href="datatype-sample.zip">datatype-sample.zip</a>.</p>

<p>Jing also includes an implementation of a datatype library for the
W3C XML Schema Part 2 datatypes.  There is a separate <a
href="jing-datatypes.html">document</a> describing this implementation
and how to use it.</p>

<p>If you wish to use Jing in your programs, you have a choice.</p>

<ul>

<li>You can use Jing's
native API.  The documentation of Jing's API can
be <a href="api/jing/index.html">browsed</a> online, or can be <a
href="jing-api.zip">downloaded</a>.</li>

<li>You can use JARV (Java API for RELAX Verifiers).  JARV is part of
the <a href="http://iso-relax.sourceforge.net">ISO-RELAX</a>
SourceForge project.  Jing's implementation requires the dev snapshot
version of <a
href="http://iso-relax.sourceforge.net/devSnapShot/iso-relax.jar"
><code>iso-relax.jar</code></a>. Support for DTD Compatibility
validation of ID/IDREF is not currently available via this
interface.</li>

</ul>

<p>There is a <a href="jing-ant.html">Jing task</a> that allows Jing
to be invoked by the <a href="http://jakarta.apache.org/ant/">Ant</a>
build tool.</p>

<address><a href="mailto:<EMAIL>"><NAME></a></address>

</body>
</html><commit_msg>Mention MNS.<commit_after><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Jing</title>
</head>
<body>
<h1>Jing</h1>
<h2>A RELAX NG validator in Java</h2>

<p>Copyright &#169; 2001, 2002 Thai Open Source Software Center Ltd</p>

<p>See the file <a href="copying.txt">copying.txt</a> for copying
permission.</p>

<h3>Version @VERSION@</h3>

<p>This version of Jing implements</p>

<ul>

<li><a
href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html">RELAX
NG 1.0 Specification</a>,</li>

<li><a
href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html"
>RELAX NG Compact Syntax</a>, and</li>

<li>parts of <a
href="http://www.oasis-open.org/committees/relax-ng/compatibility-20011203.html"
>RELAX NG DTD Compatibility</a>, specifically checking of
ID/IDREF/IDREFS.</li>

</ul>

<p>The implementation is available for download as</p>

<ul>
<li>a <a href="jing-bin.zip">JAR</a> file</li>

<li>a <a href="jing-win32-bin.zip">Win32 executable</a> for use with
the Microsoft Java VM</li>

<li><a href="jing-src.zip">source code</a></li>

</ul>

<p>The main class is
<code>com.thaiopensource.relaxng.util.Driver</code>.  The first
argument expected by the main class is the name of the file containing
the RELAX NG schema.  The second and subsequent arguments are the
names of one or more files to be validated against this schema.</p>

<p>Jing accepts the following command-line options:</p>

<dl>

<dt><code>-c</code></dt>

<dd>Uses the compact syntax for the schema.</dd>

<dt><code>-e <var>enc</var></code></dt>

<dd>Uses the encoding <code><var>enc</var></code> to read the
schema.</dd>

<dt><code>-f</code></dt>

<dd>Checks that the document is <em>feasibly valid</em>.  A document
is <em>feasibly valid</em> if it could be transformed into a valid
document by inserting any number of attributes and child elements
anywhere in the tree.  This is equivalent to transforming the schema
by wrapping every <code>data</code>, <code>list</code>,
<code>element</code> and <code>attribute</code> element in an
<code>optional</code> element and then validating against the
transformed schema. This option may be useful while a document is
still under construction.  This option also disables checking that for
every IDREF there is a corresponding ID.</dd>

<dt><code>-i</code></dt>

<dd>Disables checking of ID/IDREF/IDREFS. By default,
Jing enforces the constraints imposed by RELAX NG DTD Compatibility
with respect to ID/IDREF/IDREFS.</dd>

<dt><code>-t</code></dt>

<dd>Prints the time used by Jing for loading the schema and
for validation.</dd>

</dl>

<p>Jing uses a vendor-independent Java interface for RELAX NG datatype
libraries, developed by <NAME> and <NAME> and hosted
at SourceForge in the <a
href="http://sourceforge.net/projects/relaxng">relaxng</a> project.
Jing can use any datatype library that implements this interface.  For
more information on creating your own datatype libraries, including a
sample, download <a
href="datatype-sample.zip">datatype-sample.zip</a>.</p>

<p>Jing also includes an implementation of a datatype library for the
W3C XML Schema Part 2 datatypes.  There is a separate <a
href="jing-datatypes.html">document</a> describing this implementation
and how to use it.</p>

<p>Jing also supports <a
href="http://www.thaiopensource.com/relaxng/mns.html">Modular
Namespaces (MNS)</a>.  No special options are needed for this.
Provided that you do not use the <code>-c</code> option, Jing will
detect that the schema is an MNS schema rather than a RELAX NG schema.
Jing allows MNS schemas to reference schemas in RELAX NG, RELAX NG
Compact Syntax and MNS.  Note that the design of MNS is not final and
is subject to (possibly radical) change.  ID/IDREF checking does not
work with MNS in the way that it probably should: each
<code>validate</code> and <code>validateAttributes</code> element
performs ID/IDREF checking completely independently; they probably
should share a common table of ID/IDREFs.  This behavior may change in
a future release.</p>

<p>If you wish to use Jing in your programs, you have a choice.</p>

<ul>

<li>You can use Jing's
native API.  The documentation of Jing's API can
be <a href="api/jing/index.html">browsed</a> online, or can be <a
href="jing-api.zip">downloaded</a>.</li>

<li>You can use JARV (Java API for RELAX Verifiers).  JARV is part of
the <a href="http://iso-relax.sourceforge.net">ISO-RELAX</a>
SourceForge project.  Jing's implementation requires the dev snapshot
version of <a
href="http://iso-relax.sourceforge.net/devSnapShot/iso-relax.jar"
><code>iso-relax.jar</code></a>. Support for DTD Compatibility
validation of ID/IDREF is not currently available via this
interface.</li>

</ul>

<p>There is a <a href="jing-ant.html">Jing task</a> that allows Jing
to be invoked by the <a href="http://jakarta.apache.org/ant/">Ant</a>
build tool.</p>

<address><a href="mailto:<EMAIL>"><NAME></a></address>

</body>
</html>
{'fraction_non_alphanumeric': 0.13881861181388186, 'fraction_numerical': 0.011879881201187988, 'mean_word_length': 4.729048519218652, 'pattern_counts': {'":': 0, '<': 317, '<?xml version=': 0, '>': 317, 'https://': 0, 'lorem ipsum': 0, 'www.': 9, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1298815', 'n_tokens_mistral': 3238, 'n_tokens_neox': 3064, 'n_words': 1042}