jing stable port information

Package: jing
Version: 20030619
Revision: 2
Description: RELAX NG validator in Java
License: OSI-Approved
Maintainer: Rohan Lloyd
Depends:
Source: http://www.thaiopensource.com/download/%n-%v.zip
SourceDirectory:
Source-MD5: f9b0775d8740f16ab3df82ad3707a093
PatchScript: <<
/usr/bin/sed 's|@PREFIX@|%p|g' <%a/%n.patch | /usr/bin/patch -p1
<<
CompileScript: echo "Nothing to do for Compile"
InstallScript:<<
/usr/bin/install -m 755 -d %i/bin
/usr/bin/install -m 755 bin/%n %i/bin

/usr/bin/install -m 755 -d %i/share/%n
/usr/bin/install -m 644 bin/*.jar %i/share/%n

/usr/bin/install -m 755 -d %i/share/man/man1
/usr/bin/install -m 644 man/%n.1 %i/share/man/man1

/usr/bin/install -m 755 -d %i/share/doc/%n
/bin/cp -rp doc %i/share/doc/%n
<<
DocFiles: readme.html
Homepage: http://www.thaiopensource.com/relaxng/jing.html
DescDetail: <<
This version of Jing implements

* RELAX NG 1.0 Specification,
* RELAX NG Compact Syntax, and
* parts of RELAX NG DTD Compatibility, specifically checking of
ID/IDREF/IDREFS.

Jing also has experimental support for schema languages other than RELAX NG;
specifically

* W3C XML Schema (based on Xerces-J);
* Schematron;
* Namespace Routing Language.
<<

jing stable port .patch

diff -Naur jing-20030619/bin/jing jing-20030619.fink/bin/jing
--- jing-20030619/bin/jing Thu Jan 1 10:00:00 1970
+++ jing-20030619.fink/bin/jing Wed Oct 22 22:45:01 2003
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec java -jar @PREFIX@/share/jing/jing.jar $*
+
diff -Naur jing-20030619/man/jing.1 jing-20030619.fink/man/jing.1
--- jing-20030619/man/jing.1 Thu Jan 1 10:00:00 1970
+++ jing-20030619.fink/man/jing.1 Wed Oct 22 23:33:45 2003
@@ -0,0 +1,53 @@
+.\" Man page for jing
+.Dd October 22, 2003
+.Dt JING 1
+.Os
+.Sh NAME
+.Nm jing
+.Nd A RELAX NG validator in Java
+.Sh SYNOPSIS
+.Nm
+.Op Fl cfit
+.Op Fl e Ar enc
+.Ar schema
+.Ar file ...
+.Sh DESCRIPTION
+.Nm Jing
+accepts the following command-line options, which must precede the
+arguments specifying the schema and files to be validated:
+.Bl -tag -width Fl
+.It Fl c
+The
+.Ar schema
+uses RELAX NG Compact Syntax.
+.It Fl e Ar enc
+Uses the encoding
+.Ar enc
+to read the
+.Ar schema .
+.It Fl f
+Checks that the document is feasibly valid. 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
+.Ar schema
+by wrapping every data, list, element and attribute element in an
+optional element and then validating against the transformed
+.Ar 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.
+.It Fl i
+Disables checking of ID/IDREF/IDREFS. By default,
+.Nm
+enforces the constraints imposed by RELAX NG DTD Compatibility with
+respect to ID/IDREF/IDREFS.
+.It Fl t
+Prints the time used by
+.Nm
+for loading the
+.Ar schema
+and for validation.
+.El
+.Sh SEE ALSO
+.Xr trang 1

jing _unstable_ port information

Package: jing
Version: 20030619
Revision: 4
Description: RELAX NG validator in Java
License: OSI-Approved
Maintainer: Rohan Lloyd
Type: java
Depends: system-java, saxon | saxon-b, xerces-j
JarFiles: bin/%n.jar bin/isorelax.jar
Source: http://www.thaiopensource.com/download/%n-%v.zip
SourceDirectory:
Source-MD5: f9b0775d8740f16ab3df82ad3707a093
PatchScript: <<
/usr/bin/sed 's|@PREFIX@|%p|g' <%a/%n.patch | /usr/bin/patch -p1
<<
CompileScript: echo "Nothing to do for Compile"
InstallScript:<<
/usr/bin/install -m 755 -d %i/bin
/usr/bin/install -m 755 bin/%n %i/bin

/usr/bin/install -m 755 -d %i/share/man/man1
/usr/bin/install -m 644 man/%n.1 %i/share/man/man1

/usr/bin/install -m 755 -d %i/share/doc/%n
/bin/cp -rp doc %i/share/doc/%n
<<
DocFiles: readme.html
Homepage: http://www.thaiopensource.com/relaxng/jing.html
DescDetail: <<
This version of Jing implements

* RELAX NG 1.0 Specification,
* RELAX NG Compact Syntax, and
* parts of RELAX NG DTD Compatibility, specifically checking of
ID/IDREF/IDREFS.

Jing also has experimental support for schema languages other than RELAX NG;
specifically

* W3C XML Schema (based on Xerces-J);
* Schematron;
* Namespace Routing Language.
<<

jing _unstable_ port .patch

diff -Naur jing-20030619/bin/jing jing-20030619.fink/bin/jing
--- jing-20030619/bin/jing Thu Jan 1 10:00:00 1970
+++ jing-20030619.fink/bin/jing Wed Oct 22 22:45:01 2003
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec java -jar @PREFIX@/share/java/jing/jing.jar $*
+
diff -Naur jing-20030619/man/jing.1 jing-20030619.fink/man/jing.1
--- jing-20030619/man/jing.1 Thu Jan 1 10:00:00 1970
+++ jing-20030619.fink/man/jing.1 Wed Oct 22 23:33:45 2003
@@ -0,0 +1,53 @@
+.\" Man page for jing
+.Dd October 22, 2003
+.Dt JING 1
+.Os
+.Sh NAME
+.Nm jing
+.Nd A RELAX NG validator in Java
+.Sh SYNOPSIS
+.Nm
+.Op Fl cfit
+.Op Fl e Ar enc
+.Ar schema
+.Ar file ...
+.Sh DESCRIPTION
+.Nm Jing
+accepts the following command-line options, which must precede the
+arguments specifying the schema and files to be validated:
+.Bl -tag -width Fl
+.It Fl c
+The
+.Ar schema
+uses RELAX NG Compact Syntax.
+.It Fl e Ar enc
+Uses the encoding
+.Ar enc
+to read the
+.Ar schema .
+.It Fl f
+Checks that the document is feasibly valid. 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
+.Ar schema
+by wrapping every data, list, element and attribute element in an
+optional element and then validating against the transformed
+.Ar 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.
+.It Fl i
+Disables checking of ID/IDREF/IDREFS. By default,
+.Nm
+enforces the constraints imposed by RELAX NG DTD Compatibility with
+respect to ID/IDREF/IDREFS.
+.It Fl t
+Prints the time used by
+.Nm
+for loading the
+.Ar schema
+and for validation.
+.El
+.Sh SEE ALSO
+.Xr trang 1