Hello community,
here is the log from the commit of package jing for openSUSE:Factory checked in at 2011-12-12 16:56:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jing (Old)
and /work/SRC/openSUSE:Factory/.jing.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jing", Maintainer is "PRusnak@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/jing/jing.changes 2011-09-23 02:04:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.jing.new/jing.changes 2011-12-12 17:01:31.000000000 +0100
@@ -1,0 +2,10 @@
+Sun Nov 13 19:36:49 UTC 2011 - toms@opensuse.org
+
+- Improved jing script: use now jpackage-utils, added
+ xml-commons-resolver to better support catalogs
+- Adapted requires and buildrequires in spec file
+- Updated documentation
+ * explained -C and -s options, removed obsolete -f
+ * updated version
+
+-------------------------------------------------------------------
Old:
----
jing
New:
----
jing.script
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jing.spec ++++++
--- /var/tmp/diff_new_pack.RdF7rn/_old 2011-12-12 17:01:43.000000000 +0100
+++ /var/tmp/diff_new_pack.RdF7rn/_new 2011-12-12 17:01:43.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package jing (Version 20091111)
+# spec file for package jing
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,17 +19,31 @@
Name: jing
-BuildRequires: unzip
Summary: Validator for RELAX NG in Java
Version: 20091111
Release: 1
Url: http://code.google.com/p/jing-trang/
Source: http://jing-trang.googlecode.com/files/%{name}-%{version}.zip
-Source1: jing
+Source1: %{name}.script
Source2: %{name}-doc.tar.bz2
License: BSD-3-Clause
Group: Productivity/Publishing/XML
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#
+BuildRequires: unzip
+BuildRequires: saxon
+BuildRequires: jpackage-utils
+BuildRequires: xerces-j2
+BuildRequires: xml-commons-resolver
+BuildRequires: xml-commons-apis
+#
+Requires: jre
+Requires: saxon
+Requires: jpackage-utils
+Requires: xml-commons-resolver
+Requires: xml-commons-apis
+Requires: jaxp_parser_impl
+#
Requires: jre
BuildArch: noarch
@@ -54,6 +68,7 @@
tar xfj %{SOURCE2}
%build
+# -- nothing to do --
%install
install -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/jing
++++++ jing-doc.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doc/jing.1 new/doc/jing.1
--- old/doc/jing.1 2009-03-18 15:13:49.000000000 +0100
+++ new/doc/jing.1 2011-11-13 21:09:06.000000000 +0100
@@ -1,161 +1,22 @@
+'\" t
.\" Title: jing
-.\" Author: James Thai Open Source Software Center Ltd Clark
-.\" Generator: DocBook XSL Stylesheets v1.74.0 http://docbook.sf.net/
-.\" Date: 03/18/2009
+.\" Author: James Clark
+.\" Generator: DocBook XSL Stylesheets v1.76.1 http://docbook.sf.net/
+.\" Date: 11/13/2011
.\" Manual: http://www.thaiopensource.com/relaxng/jing.html
-.\" Source: http://code.google.com/p/jing-trang/ 20081028
+.\" Source: http://code.google.com/p/jing-trang/ 20091111
.\" Language: English
.\"
-.TH "JING" "1" "03/18/2009" "http://code\&.google\&.com/p/j" "http://www\&.thaiopensource\&."
+.TH "JING" "1" "11/13/2011" "http://code\&.google\&.com/p/j" "http://www\&.thaiopensource\&."
.\" -----------------------------------------------------------------
-.\" * (re)Define some macros
+.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" toupper - uppercase a string (locale-aware)
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.de toupper
-.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
-\\$*
-.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
-..
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" SH-xref - format a cross-reference to an SH section
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.de SH-xref
-.ie n \{\
-.\}
-.toupper \\$*
-.el \{\
-\\$*
-.\}
-..
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" SH - level-one heading that works better for non-TTY output
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.de1 SH
-.\" put an extra blank line of space above the head in non-TTY output
-.if t \{\
-.sp 1
-.\}
-.sp \\n[PD]u
-.nr an-level 1
-.set-an-margin
-.nr an-prevailing-indent \\n[IN]
-.fi
-.in \\n[an-margin]u
-.ti 0
-.HTML-TAG ".NH \\n[an-level]"
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-\." make the size of the head bigger
-.ps +3
-.ft B
-.ne (2v + 1u)
-.ie n \{\
-.\" if n (TTY output), use uppercase
-.toupper \\$*
-.\}
-.el \{\
-.nr an-break-flag 0
-.\" if not n (not TTY), use normal case (not uppercase)
-\\$1
-.in \\n[an-margin]u
-.ti 0
-.\" if not n (not TTY), put a border/line under subheading
-.sp -.6
-\l'\n(.lu'
-.\}
-..
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" SS - level-two heading that works better for non-TTY output
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.de1 SS
-.sp \\n[PD]u
-.nr an-level 1
-.set-an-margin
-.nr an-prevailing-indent \\n[IN]
-.fi
-.in \\n[IN]u
-.ti \\n[SN]u
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.ps \\n[PS-SS]u
-\." make the size of the head bigger
-.ps +2
-.ft B
-.ne (2v + 1u)
-.if \\n[.$] \&\\$*
-..
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" BB/BE - put background/screen (filled box) around block of text
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.de BB
-.if t \{\
-.sp -.5
-.br
-.in +2n
-.ll -2n
-.gcolor red
-.di BX
-.\}
-..
-.de EB
-.if t \{\
-.if "\\$2"adjust-for-leading-newline" \{\
-.sp -1
-.\}
-.br
-.di
-.in
-.ll
-.gcolor
-.nr BW \\n(.lu-\\n(.i
-.nr BH \\n(dn+.5v
-.ne \\n(BHu+.5v
-.ie "\\$2"adjust-for-leading-newline" \{\
-\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
-.\}
-.el \{\
-\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
-.\}
-.in 0
-.sp -.5v
-.nf
-.BX
-.in
-.sp .5v
-.fi
-.\}
-..
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" BM/EM - put colored marker in margin next to block of text
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.de BM
-.if t \{\
-.br
-.ll -2n
-.gcolor red
-.di BX
-.\}
-..
-.de EM
-.if t \{\
-.br
-.di
-.ll
-.gcolor
-.nr BH \\n(dn
-.ne \\n(BHu
-\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
-.in 0
-.nf
-.BX
-.in
-.fi
-.\}
-..
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
@@ -166,14 +27,12 @@
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
-.SH "Name"
+.SH "NAME"
jing \- Validator for RELAX NG in Java
-.SH "Synopsis"
-.fam C
+.SH "SYNOPSIS"
.HP \w'\fBjing\fR\ 'u
-\fBjing\fR [\-i] [\-c] [\-t] [\-f] [\-e\ \fIencoding\fR] {RNGFile} {XMLFile...}
-.fam
-.SH "Options"
+\fBjing\fR [\-i] [\-c] [\-s] [\-t] [\-C\ \fIcatalogFile\fR] [\-e\ \fIencoding\fR] {RNGFile} {XMLFile...}
+.SH "OPTIONS"
.PP
The following options are available:
.PP
@@ -182,6 +41,12 @@
The schema uses RELAX NG Compact Syntax\&.
.RE
.PP
+\fB\-C \fR\fB\fIcatalogFile\fR\fR
+.RS 4
+Defines a XML catalog file according to the
+\m[blue]\fBXML Catalogs Committee Specification 06 Aug 2001\fR\m[]\&\s-2\u[1]\d\s+2\&. Generally, this is needed to resolve URIs into local paths\&.
+.RE
+.PP
\fB\-e \fR\fB\fIencoding\fR\fR
.RS 4
Uses the
@@ -189,23 +54,6 @@
to read the schema\&.
.RE
.PP
-\fB\-f\fR
-.RS 4
-Checks that the document is
-\fIfeasibly valid\fR\&. A document is feasibly valid 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
-data,
-list,
-element
-and
-attribute
-element in an
-optional
-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\&.
-.RE
-.PP
\fB\-i\fR
.RS 4
Disables checking of
@@ -213,19 +61,24 @@
ID/IDREF/IDREFS\&.
.RE
.PP
+\fB\-s\fR
+.RS 4
+Outputs the RELAX NG grammar after validation\&. Useful when validation with the compact syntax\&.
+.RE
+.PP
\fB\-t\fR
.RS 4
Prints the time used by Jing for loading the schema and for validation\&.
.RE
.PP
Jing uses a vendor\-independent
-\m[blue]\fBpluggable datatypes API\fR\m[]\&\s-2\u[1]\d\s+2
+\m[blue]\fBpluggable datatypes API\fR\m[]\&\s-2\u[2]\d\s+2
that allows datatype libraries to be added at runtime and be interoperable with Java\-based RELAX NG implementation that supports the API\&.
.PP
Jing also includes an implementation of a datatype library for the W3C XML Schema Part 2 datatypes\&. There is a separate document about
-\m[blue]\fBJing\'s datatype\fR\m[]\&\s-2\u[2]\d\s+2
+\m[blue]\fBJing\*(Aqs datatype\fR\m[]\&\s-2\u[3]\d\s+2
describing this implementation and how to use it\&.
-.SH "Other Schema Languages"
+.SH "OTHER SCHEMA LANGUAGES"
.PP
In addition to RELAX NG (both XML and compact syntax), Jing has support for some other schema languages\&. This support is less mature than the RELAX NG support\&. These schema languages all use XML and Jing can autodetect using the namespace URI of the document element\&. However, if you use the
\fB\-c\fR
@@ -233,36 +86,36 @@
.PP
Jing has support for the following schema languages:
.PP
-\m[blue]\fBSchematron 1\&.5\fR\m[]\&\s-2\u[3]\d\s+2
+\m[blue]\fBSchematron 1\&.5\fR\m[]\&\s-2\u[4]\d\s+2
.RS 4
-Jing\'s implementation is not based on the reference Schematron 1\&.5 implementation\&. It is implemented partly in XSLT and partly in Java\&. This implementation requires that the Schematron elements be properly namespaced using the namespace URI
-\FChttp://www\&.ascc\&.net/xml/schematron\F[]\&. Jing can report correct line numbers both for errors in the instance and errors in the schema (including XPath errors)\&. It can use either Saxon or Xalan as its XSLT engine\&. Jing is distributed with Saxon, because JDK 1\&.4 includes an old version of Xalan, which does not work properly for this application, and it is tricky to prevent the JRE using this version\&. A command\-line option of
+Jing\*(Aqs implementation is not based on the reference Schematron 1\&.5 implementation\&. It is implemented partly in XSLT and partly in Java\&. This implementation requires that the Schematron elements be properly namespaced using the namespace URI
+http://www\&.ascc\&.net/xml/schematron\&. Jing can report correct line numbers both for errors in the instance and errors in the schema (including XPath errors)\&. It can use either Saxon or Xalan as its XSLT engine\&. Jing is distributed with Saxon, because JDK 1\&.4 includes an old version of Xalan, which does not work properly for this application, and it is tricky to prevent the JRE using this version\&. A command\-line option of
\fB\-d\fR
enables diagnostics\&. A command\-line option of
\fB\-p \fR\fB\fIphase\fR\fR
specifies the phase to use\&. Both reports and failed assertions are considered errors\&. The Schematron schema is subject to rather more rigorous checking (using a RELAX NG schema) than with the reference Schematron implementation\&.
.RE
.PP
-\m[blue]\fBW3C XML Schema\fR\m[]\&\s-2\u[4]\d\s+2
+\m[blue]\fBW3C XML Schema\fR\m[]\&\s-2\u[5]\d\s+2
.RS 4
Jing provides support for W3C XML Schema using a wrapper around
-\m[blue]\fBXerces2\-J\fR\m[]\&\s-2\u[5]\d\s+2\&. Any
+\m[blue]\fBXerces2\-J\fR\m[]\&\s-2\u[6]\d\s+2\&. Any
xsi:schemaLocation
and
xsi:noNamespaceSchemaLocation
hints in the instance are ignored\&.
.RE
.PP
-\m[blue]\fBNamespace Routing Language (NRL)\fR\m[]\&\s-2\u[6]\d\s+2
+\m[blue]\fBNamespace Routing Language (NRL)\fR\m[]\&\s-2\u[7]\d\s+2
.RS 4
The XML Namespaces Recommendation allows an XML document to be composed of elements and attributes from multiple independent namespaces\&. Each of these namespaces may have its own schema; the schemas for different namespaces may be in different schema languages\&. NRL is an experimental language for specifying how the schemas for the different namespaces are to be composed in order to allow validation of the complete document\&. The implementation in Jing fully supports the language described in the specification\&. Subschemas can be in any of the languages supported by Jing (including, recursively, NRL)\&. Jing does not yet support the schema option for W3C XML Schema subschemas, which would allow more than one schema URI to be specified\&.
.RE
.PP
-\m[blue]\fBModular Namespaces (MNS)\fR\m[]\&\s-2\u[7]\d\s+2
+\m[blue]\fBModular Namespaces (MNS)\fR\m[]\&\s-2\u[8]\d\s+2
.RS 4
MNS is the predecessor to NRL, and should be considered obsolescent\&. MNS support will disappear in a future release\&.
.RE
-.SH "See Also"
+.SH "SEE ALSO"
.PP
\m[blue]\fB\%http://code.google.com/p/jing-trang/\fR\m[]
.RS 4
@@ -273,22 +126,22 @@
.RS 4
This manual in HTML format
.RE
-.SH "Authors"
+.SH "AUTHORS"
.PP
-\fBJames Thai Open Source Software Center Ltd Clark\fR <\&jj@thaiopensource\&.com\&>
+\fBJames Clark\fR <\&jj@thaiopensource\&.com\&>
.br
Thai Open Source Software Center Ltd
.RS 4
Developer
.RE
.PP
-\fBThomas Schraitle\fR <\&toms@suse\&.de\&>
+\fBThomas Schraitle\fR <\&toms@opensuse\&.org\&>
.RS 4
Created manpage
.RE
-.SH "Copyright"
+.SH "COPYRIGHT"
.br
-Copyright \(co 2001, 2002, 2003, 2008 Thai Open Source Software Center Ltd
+Copyright \(co 2001, 2002, 2003, 2008, 2009, 2010, 2011 Thai Open Source Software Center Ltd
.br
.PP
See the file
@@ -298,38 +151,43 @@
This document was compiled from
\m[blue]\fB\%http://www.thaiopensource.com/relaxng/jing-manual.html\fR\m[]\&.
.sp
-.SH "Notes"
+.SH "NOTES"
.IP " 1." 4
+XML Catalogs Committee Specification 06 Aug 2001
+.RS 4
+\%http://www.oasis-open.org/committees/entity/spec-2001-08-06.html
+.RE
+.IP " 2." 4
pluggable datatypes API
.RS 4
\%http://www.thaiopensource.com/relaxng/pluggable-datatypes.html
.RE
-.IP " 2." 4
+.IP " 3." 4
Jing's datatype
.RS 4
\%http://www.thaiopensource.com/relaxng/jing-datatypes.html
.RE
-.IP " 3." 4
+.IP " 4." 4
Schematron 1.5
.RS 4
\%http://xml.ascc.net/schematron
.RE
-.IP " 4." 4
+.IP " 5." 4
W3C XML Schema
.RS 4
\%http://www.w3.org/TR/xmlschema-1/
.RE
-.IP " 5." 4
+.IP " 6." 4
Xerces2-J
.RS 4
\%http://xerces.apache.org/xerces2-j/
.RE
-.IP " 6." 4
+.IP " 7." 4
Namespace Routing Language (NRL)
.RS 4
\%http://www.thaiopensource.com/relaxng/nrl.html
.RE
-.IP " 7." 4
+.IP " 8." 4
Modular Namespaces (MNS)
.RS 4
\%http://www.thaiopensource.com/relaxng/mns.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doc/jing.html new/doc/jing.html
--- old/doc/jing.html 2009-03-18 15:13:50.000000000 +0100
+++ new/doc/jing.html 2011-11-13 21:09:06.000000000 +0100
@@ -1,25 +1,15 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>jing</title><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="jing"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>jing — Validator for RELAX NG in Java</p></div><div class="refsynopsisdiv"><a name="jing.synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">jing</code> [-i] [-c] [-t] [-f] [-e <em class="replaceable"><code>encoding</code></em>] {RNGFile} {XMLFile...}</p></div></div><div class="refsect1" lang="en"><a name="jing.options"></a><h2>Options</h2><p>The following options are available:</p><div class="variablelist"><dl><dt><span class="term"><code class="option">-c</code></span></dt><dd><p>The schema uses RELAX NG Compact Syntax.</p></dd><dt><span class="term"><code class="option">-e <em class="replaceable"><code>encoding</code></em></code></span></dt><dd><p>Uses the <em class="replaceable"><code>encoding</code></em> to read the schema.</p></dd><dt><span class="term"><code class="option">-f</code></span></dt><dd><p>Checks that the document is <span class="emphasis"><em>feasibly
- valid</em></span>. A document is feasibly valid 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 class="sgmltag-element">data</code>, <code class="sgmltag-element">list</code>,
- <code class="sgmltag-element">element</code> and
- <code class="sgmltag-element">attribute</code> element in an
- <code class="sgmltag-element">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 <span class="token">IDREF</span>
- there is a corresponding <span class="token">ID</span>.</p></dd><dt><span class="term"><code class="option">-i</code></span></dt><dd><p>Disables checking of
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>jing</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div lang="en" class="refentry" title="jing"><a name="jing"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>jing — Validator for RELAX NG in Java</p></div><div class="refsynopsisdiv" title="Synopsis"><a name="jing.synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">jing</code> [-i] [-c] [-s] [-t] [-C <em class="replaceable"><code>catalogFile</code></em>] [-e <em class="replaceable"><code>encoding</code></em>] {RNGFile} {XMLFile...}</p></div></div><div class="refsect1" title="Options"><a name="jing.options"></a><h2>Options</h2><p>The following options are available:</p><div class="variablelist"><dl><dt><span class="term"><code class="option">-c</code></span></dt><dd><p>The schema uses RELAX NG Compact Syntax.</p></dd><dt><span class="term"><code class="option">-C <em class="replaceable"><code>catalogFile</code></em></code></span></dt><dd><p>Defines a XML catalog file according to the <a class="ulink" href="http://www.oasis-open.org/committees/entity/spec-2001-08-06.html" target="_top">XML Catalogs Committee Specification 06 Aug 2001</a>.
+ Generally, this is needed to resolve URIs into local paths.</p></dd><dt><span class="term"><code class="option">-e <em class="replaceable"><code>encoding</code></em></code></span></dt><dd><p>Uses the <em class="replaceable"><code>encoding</code></em> to read the schema.</p></dd><dt><span class="term"><code class="option">-i</code></span></dt><dd><p>Disables checking of
<span class="token">ID</span>/<span class="token">IDREF</span>/<span class="token">IDREFS</span>.
By default, Jing enforces the constraints imposed by RELAX
NG DTD Compatibility with respect to
- <span class="token">ID</span>/<span class="token">IDREF</span>/<span class="token">IDREFS</span>.</p></dd><dt><span class="term"><code class="option">-t</code></span></dt><dd><p>Prints the time used by Jing for loading the schema and for validation.</p></dd></dl></div><p>Jing uses a vendor-independent <a class="ulink" href="http://www.thaiopensource.com/relaxng/pluggable-datatypes.html" target="_top">pluggable datatypes API</a> that allows datatype libraries
+ <span class="token">ID</span>/<span class="token">IDREF</span>/<span class="token">IDREFS</span>.</p></dd><dt><span class="term"><code class="option">-s</code></span></dt><dd><p>Outputs the RELAX NG grammar after validation. Useful
+ when validation with the compact syntax.</p></dd><dt><span class="term"><code class="option">-t</code></span></dt><dd><p>Prints the time used by Jing for loading the schema and for validation.</p></dd></dl></div><p>Jing uses a vendor-independent <a class="ulink" href="http://www.thaiopensource.com/relaxng/pluggable-datatypes.html" target="_top">pluggable datatypes API</a> that allows datatype libraries
to be added at runtime and be interoperable with Java-based RELAX
NG implementation that supports the API.</p><p>Jing also includes an implementation of a datatype library for
the W3C XML Schema Part 2 datatypes. There is a separate document
about <a class="ulink" href="http://www.thaiopensource.com/relaxng/jing-datatypes.html" target="_top">Jing's datatype</a> describing this implementation and how to use
- it.</p></div><div class="refsect1" lang="en"><a name="jing.otherschemalanguages"></a><h2>Other Schema Languages</h2><p>In addition to RELAX NG (both XML and compact syntax), Jing
+ it.</p></div><div class="refsect1" title="Other Schema Languages"><a name="jing.otherschemalanguages"></a><h2>Other Schema Languages</h2><p>In addition to RELAX NG (both XML and compact syntax), Jing
has support for some other schema languages. This support is less
mature than the RELAX NG support. These schema languages all use
XML and Jing can autodetect using the namespace URI of the
@@ -60,4 +50,4 @@
schema option for W3C XML Schema subschemas, which would
allow more than one schema URI to be specified.</p></dd><dt><span class="term"><a class="ulink" href="http://www.thaiopensource.com/relaxng/mns.html" target="_top">Modular Namespaces (MNS)</a></span></dt><dd><p>MNS is the predecessor to NRL, and should be considered
obsolescent. MNS support will disappear in a future
- release.</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="jing.seealso"></a><h2>See Also</h2><div class="variablelist"><dl><dt><span class="term"><a class="ulink" href="http://code.google.com/p/jing-trang/" target="_top">http://code.google.com/p/jing-trang/</a></span></dt><dd><p>Project homepage and source code</p></dd><dt><span class="term"><a class="ulink" href="http://www.thaiopensource.com/relaxng/jing-manual.html" target="_top">http://www.thaiopensource.com/relaxng/jing-manual.html</a></span></dt><dd><p>This manual in HTML format</p></dd></dl></div></div></div></body></html>
+ release.</p></dd></dl></div></div><div class="refsect1" title="See Also"><a name="jing.seealso"></a><h2>See Also</h2><div class="variablelist"><dl><dt><span class="term"><a class="ulink" href="http://code.google.com/p/jing-trang/" target="_top">http://code.google.com/p/jing-trang/</a></span></dt><dd><p>Project homepage and source code</p></dd><dt><span class="term"><a class="ulink" href="http://www.thaiopensource.com/relaxng/jing-manual.html" target="_top">http://www.thaiopensource.com/relaxng/jing-manual.html</a></span></dt><dd><p>This manual in HTML format</p></dd></dl></div></div></div></body></html>
Files old/doc/jing.pdf and new/doc/jing.pdf differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doc/jing.xml.in new/doc/jing.xml.in
--- old/doc/jing.xml.in 2009-03-18 15:13:47.000000000 +0100
+++ new/doc/jing.xml.in 2011-11-13 21:08:27.000000000 +0100
@@ -15,6 +15,9 @@
<year>2002</year>
<year>2003</year>
<year>2008</year>
+ <year>2009</year>
+ <year>2010</year>
+ <year>2011</year>
<holder>Thai Open Source Software Center Ltd</holder>
</copyright>
<legalnotice>
@@ -37,7 +40,7 @@
<contrib>Created manpage</contrib>
<firstname>Thomas</firstname>
<surname>Schraitle</surname>
- <email>toms@suse.de</email>
+ <email>toms@opensuse.org</email>
</othercredit>
</authorgroup>
</refentryinfo>
@@ -59,8 +62,9 @@
<cmdsynopsis><command>jing</command>
<arg choice="opt">-i</arg>
<arg choice="opt">-c</arg>
+ <arg choice="opt">-s</arg>
<arg choice="opt">-t</arg>
- <arg choice="opt">-f</arg>
+ <arg choice="opt">-C <replaceable>catalogFile</replaceable></arg>
<arg choice="opt">-e <replaceable>encoding</replaceable></arg>
<arg choice="req">RNGFile</arg>
<arg choice="req" rep="repeat">XMLFile</arg>
@@ -78,12 +82,21 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>-C <replaceable>catalogFile</replaceable></option></term>
+ <listitem>
+ <para>Defines a XML catalog file according to the http://www.oasis-open.org/committees/entity/spec-2001-08-06.html"
+ >XML Catalogs Committee Specification 06 Aug 2001</ulink>.
+ Generally, this is needed to resolve URIs into local paths.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>-e <replaceable>encoding</replaceable></option></term>
<listitem>
<para>Uses the <replaceable>encoding</replaceable> to read the schema.</para>
</listitem>
</varlistentry>
- <varlistentry>
+ <!--<varlistentry>
<term><option>-f</option></term>
<listitem>
<para>Checks that the document is <emphasis>feasibly
@@ -100,7 +113,7 @@
also disables checking that for every <token>IDREF</token>
there is a corresponding <token>ID</token>.</para>
</listitem>
- </varlistentry>
+ </varlistentry>-->
<varlistentry>
<term><option>-i</option></term>
<listitem>
@@ -112,6 +125,13 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>-s</option></term>
+ <listitem>
+ <para>Outputs the RELAX NG grammar after validation. Useful
+ when validation with the compact syntax.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>-t</option></term>
<listitem>
<para>Prints the time used by Jing for loading the schema and for validation.</para>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doc/rebuild-doc new/doc/rebuild-doc
--- old/doc/rebuild-doc 2009-03-16 10:49:16.000000000 +0100
+++ new/doc/rebuild-doc 2011-11-13 21:01:38.000000000 +0100
@@ -1,9 +1,10 @@
#!/bin/sh
# requirements: docbook_4 docbook-xsl-stylesheets fop libxslt
-VERSION='20081028'
+VERSION='20091111'
-DB='http://docbook.sourceforge.net/release/xsl/current/'
+#DB='http://docbook.sourceforge.net/release/xsl/current/'
+DB="/usr/share/xml/docbook/stylesheet/nwalsh/current/"
# Usage: rebuild name
function rebuild {
++++++ jing.script ++++++
#!/bin/sh
#
# Jing script
# JPackage Project http://www.jpackage.org/
. /usr/share/java-utils/java-functions
MAIN_CLASS=com.thaiopensource.relaxng.util.Driver
BASE_JARS="jing xerces-j2 xml-commons-apis saxon xml-commons-resolver"
args=
BASE_FLAGS=
BASE_OPTIONS=
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run $args "$@"--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org