Accepting request 657075 from Java:packages

new bootstrap package providers

OBS-URL: https://build.opensuse.org/request/show/657075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xml-commons-apis-bootstrap?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2018-12-14 19:44:36 +00:00 committed by Git OBS Bridge
parent fa3ad60517
commit 0e13b67fde
34 changed files with 20 additions and 1015 deletions

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><project>
<parent>
<artifactId>apache</artifactId>
<groupId>org.apache</groupId>
<version>3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<name>XML Commons External Components XML APIs</name>
<version>1.3.04</version>
<description>xml-commons provides an Apache-hosted set of DOM, SAX, and
JAXP interfaces for use in other xml-based projects. Our hope is that we
can standardize on both a common version and packaging scheme for these
critical XML standards interfaces to make the lives of both our developers
and users easier. The External Components portion of xml-commons contains
interfaces that are defined by external standards organizations. For DOM,
that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
JAXP it's Sun.</description>
<url>http://xml.apache.org/commons/components/external/</url>
<issueManagement>
<system>bugzilla</system>
<url>http://issues.apache.org/bugzilla/</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>XML Commons Developer's List</name>
<subscribe>commons-dev-subscribe@xml.apache.org</subscribe>
<unsubscribe>commons-dev-unsubscribe@xml.apache.org</unsubscribe>
<post>commons-dev@xml.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/xml-commons-dev/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/</connection>
<url>http://svn.apache.org/viewvc/xml/commons/tags/xml-commons-external-1_3_04/</url>
</scm>
<distributionManagement>
<status>deployed</status>
</distributionManagement>
</project>

View File

@ -1,60 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<name>XML Commons External Components XML APIs</name>
<version>1.4.01</version>
<description>xml-commons provides an Apache-hosted set of DOM, SAX, and
JAXP interfaces for use in other xml-based projects. Our hope is that we
can standardize on both a common version and packaging scheme for these
critical XML standards interfaces to make the lives of both our developers
and users easier. The External Components portion of xml-commons contains
interfaces that are defined by external standards organizations. For DOM,
that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
JAXP it's Sun.</description>
<url>http://xml.apache.org/commons/components/external/</url>
<issueManagement>
<system>bugzilla</system>
<url>http://issues.apache.org/bugzilla/</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>XML Commons Developer's List</name>
<subscribe>commons-dev-subscribe@xml.apache.org</subscribe>
<unsubscribe>commons-dev-unsubscribe@xml.apache.org</unsubscribe>
<post>commons-dev@xml.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/xml-commons-dev/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_4_01/</connection>
<url>https://svn.apache.org/viewvc/xml/commons/tags/xml-commons-external-1_4_01/</url>
</scm>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
<license>
<name>The SAX License</name>
<url>http://www.saxproject.org/copying.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>The W3C License</name>
<url>http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/java-binding.zip</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>xml-apis</id>
<name>Apache Software Foundation</name>
<email>commons-dev@xml.apache.org</email>
<url>http://xml.apache.org/commons/</url>
<organization>Apache Software Foundation</organization>
<organizationUrl>http://www.apache.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><project>
<parent>
<artifactId>apache</artifactId>
<groupId>org.apache</groupId>
<version>3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis-ext</artifactId>
<name>XML Commons External Components XML APIs Extensions</name>
<version>1.3.04</version>
<description>xml-commons provides an Apache-hosted set of DOM, SAX, and
JAXP interfaces for use in other xml-based projects. Our hope is that we
can standardize on both a common version and packaging scheme for these
critical XML standards interfaces to make the lives of both our developers
and users easier. The External Components portion of xml-commons contains
interfaces that are defined by external standards organizations. For DOM,
that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
JAXP it's Sun.</description>
<url>http://xml.apache.org/commons/components/external/</url>
<issueManagement>
<system>bugzilla</system>
<url>http://issues.apache.org/bugzilla/</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>XML Commons Developer's List</name>
<subscribe>commons-dev-subscribe@xml.apache.org</subscribe>
<unsubscribe>commons-dev-unsubscribe@xml.apache.org</unsubscribe>
<post>commons-dev@xml.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/xml-commons-dev/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/</connection>
<url>http://svn.apache.org/viewvc/xml/commons/tags/xml-commons-external-1_3_04/</url>
</scm>
<distributionManagement>
<status>deployed</status>
</distributionManagement>
</project>

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Dec 7 07:33:59 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- Provide xml-resolver by package xml-commons-resolver-bootstrap
- Provide compatibility symlinks xml-apis.jar and xml-resolver.jar
- Removed patches:
* xml-commons-encoding.patch
* xml-commons-no-javadoc.patch
+ not needed any more
-------------------------------------------------------------------
Wed Oct 4 19:43:23 UTC 2017 - fstrba@suse.com

View File

@ -39,7 +39,7 @@ Patch3: %{real_name}-enum.patch
BuildRequires: antlr-bootstrap
BuildRequires: java-devel >= 1.6
# Needed for maven conversions
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
#!BuildIgnore: antlr
#!BuildIgnore: antlr-java
Provides: xml-apis
@ -62,6 +62,7 @@ INSTALL ... THIS IS JUST FOR PACKAGING & BOOTSTRAPPING JAVA PURPOSES!!
Summary: Resolver subproject of xml-commons
Group: Development/Libraries/Java
URL: http://xml.apache.org/commons/
Provides: xml-resolver
%description -n xml-commons-resolver-bootstrap
This is xml-resolver from the java-bootrapping-tools package. DO NOT
@ -183,15 +184,18 @@ popd
%install
#>>> % install
mkdir -p %{buildroot}/%{_javadir}
cp %{apis_jar}.jar %{buildroot}/%{_javadir}
cp %{which_jar}.jar %{buildroot}/%{_javadir}
cp %{resolver_jar}.jar %{buildroot}/%{_javadir}
mkdir -p %{buildroot}%{_javadir}
cp %{apis_jar}.jar %{buildroot}%{_javadir}
ln -sf %{apis_jar}.jar %{buildroot}%{_javadir}/xml-apis.jar
cp %{which_jar}.jar %{buildroot}%{_javadir}
cp %{resolver_jar}.jar %{buildroot}%{_javadir}
ln -sf %{resolver_jar}.jar %{buildroot}%{_javadir}/xml-resolver.jar
#<<< install end
%files
%license xml-commons-1_0_b2/LICENSE.txt
%{_javadir}/%{apis_jar}.jar
%{_javadir}/xml-apis.jar
%files -n xml-commons-which-bootstrap
%license xml-commons-1_0_b2/LICENSE.txt
@ -200,6 +204,7 @@ cp %{resolver_jar}.jar %{buildroot}/%{_javadir}
%files -n xml-commons-resolver-bootstrap
%license xml-commons-1_0_b2/LICENSE.txt
%{_javadir}/%{resolver_jar}.jar
%{_javadir}/xml-resolver.jar
#<<<
%changelog

View File

@ -1,24 +0,0 @@
<project name="apache-xerces-component-info">
<!-- ============================================================ -->
<!-- Apache Xerces -->
<!-- ============================================================ -->
<component id="apache-xml-commons"
licenseType="apache-2.0"
version="@VERSION@"
projectHome="http://xml.apache.org/commons/"
description="Common code for XML projects"
scm=":ext:cvs.devel.redhat.com:/cvs/dist/xml-commons"
tag="@TAG@">
<!-- Build using JDK 1.4 -->
<artifact id="resolver.jar"/>
<artifact id="xml-apis.jar"/>
<export>
<include input="resolver.jar"/>
<include input="xml-apis.jar"/>
</export>
</component>
</project>

View File

@ -1,22 +0,0 @@
--- xml-commons-1.4.01/xml-commons-external-1_3_05/java/external/build.xml 2017-10-04 21:48:12.614748719 +0200
+++ xml-commons-1.4.01/xml-commons-external-1_3_05/java/external/build.xml 2017-10-04 21:49:20.994748978 +0200
@@ -103,7 +103,7 @@
<target name="compile" depends="prepare"
description="Compile all classes">
<javac srcdir="${src.dir}" destdir="${build.classes.dir}"
- debug="${debug}" />
+ debug="${debug}" encoding="UTF-8" />
</target>
<target name="jar" depends="compile"
--- xml-commons-1.4.01/xml-commons-external-1_4_01/java/external/build.xml 2017-10-04 21:48:12.666748720 +0200
+++ xml-commons-1.4.01/xml-commons-external-1_4_01/java/external/build.xml 2017-10-04 21:52:22.566291530 +0200
@@ -103,7 +103,7 @@
<target name="compile" depends="prepare"
description="Compile all classes">
<javac srcdir="${src.dir}" destdir="${build.classes.dir}"
- debug="${debug}" />
+ debug="${debug}" encoding="UTF-8" />
</target>
<target name="jar" depends="compile"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe241b66bcb19a3b68b965df6b116247985c226e23126706cebacd9dce568d2b
size 415313

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26a5abac9a89f2b2ce5d5bc7cecfeb8956cb8d0b55176f37b65fafa89d3504d5
size 682172

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:688a5cd37da176eb585836714157d7462dab95c4bcdc07bb87017130fee13561
size 6532480

View File

@ -1,45 +0,0 @@
---
xml-commons-1_0_b2/build.xml | 8 +++++---
xml-commons-external-1_3_04/build.xml | 6 ++++--
xml-commons-resolver-1_1_b1/build.xml | 2 --
3 files changed, 9 insertions(+), 7 deletions(-)
Index: xml-commons-1.3.04/xml-commons-1_0_b2/build.xml
===================================================================
--- xml-commons-1.3.04.orig/xml-commons-1_0_b2/build.xml
+++ xml-commons-1.3.04/xml-commons-1_0_b2/build.xml
@@ -44,16 +44,18 @@ just creates a distribution out of all o
<target name="external"
description="Calls just java/external/build.xml only.">
- <ant dir="java/external" antfile="build.xml" target="all" >
+ <ant dir="java/external" antfile="build.xml" target="jar" >
+ </ant>
+ <ant dir="java/external" antfile="build.xml" target="exportsrc" >
</ant>
</target>
<target name="jars"
depends="external"
description="Calls all other java build files.">
- <ant dir="java" antfile="which.xml" target="all" >
+ <ant dir="java" antfile="which.xml" target="jar" >
</ant>
- <ant dir="java" antfile="resolver.xml" target="all" >
+ <ant dir="java" antfile="resolver.xml" target="jar" >
</ant>
</target>
Index: xml-commons-1.3.04/xml-commons-resolver-1_1_b1/build.xml
===================================================================
--- xml-commons-1.3.04.orig/xml-commons-resolver-1_1_b1/build.xml
+++ xml-commons-1.3.04/xml-commons-resolver-1_1_b1/build.xml
@@ -65,8 +65,6 @@ just creates a distribution out of all o
description="Calls all other java build files.">
<ant dir="java" antfile="resolver.xml" target="jar" >
</ant>
- <ant dir="java" antfile="resolver.xml" target="javadocs" >
- </ant>
</target>
<target name="dist"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc2407267cb8ba8c58e8bbfc4ac2c3cd55d3eb06d4cca6e3cc970ef32d44349f
size 6514000

View File

@ -1,64 +0,0 @@
# Central CatalogManager.properties for xml-commons-resolver
# JPackage Project <http://www.jpackage.org/>
########################################################################
# CatalogManager provides an interface to the catalog properties.
# Properties can come from two places: from system properties or
# from a CatalogManager.properties file. This class provides a
# transparent interface to both, with system properties preferred
# over property file values.
#######################################################################
# Catalog Files:
# The semicolon-delimited list of catalog files.
# Example: catalogs=./xcatalog;/share/doctypes/catalog
catalogs=/etc/xml/catalog;/etc/sgml/catalog
#######################################################################
# Relative Catalogs:
# If false, relative catalog URIs are made absolute with respect to the
# base URI of the CatalogManager.properties file. This setting only
# applies to catalog URIs obtained from the catalogs property in the
# CatalogManager.properties file
# Example: relative-catalogs = [yes|no]
relative-catalogs=no
#######################################################################
# Verbosity:
# If non-zero, the Catalog classes will print informative and debugging
# messages. The higher the number, the more messages.
# Example: verbosity = [0..99]
verbosity=0
#######################################################################
# Prefer:
# Which identifier is preferred, "public" or "system"?
# Example: xml.catalog.prefer = [public|system]
prefer=public
#######################################################################
# Static-catalog:
# Should a single catalog be constructed for all parsing, or should a
# different catalog be created for each parser?
# Example: static-catalog = [yes|no]
static-catalog=yes
#######################################################################
# Allow-oasis-xml-catalog-pi
# If the source document contains "oasis-xml-catalog" processing
# instructions, should they be used?
# Example: allow-oasis-xml-catalog-pi = [yes|no]
allow-oasis-xml-catalog-pi=yes
#######################################################################
# catalog-class-name
# If you're using the convenience classes
# org.apache.xml.resolver.tools.*, this setting allows you to specify
# an alternate class name to use for the underlying catalog.
# Example: catalog-class-name=org.apache.xml.resolver.Resolver

View File

@ -1,48 +0,0 @@
.TH XML-RESOLVER "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-resolver \- Resolve XML entities and URIs
.SH SYNOPSIS
.B xml-resolver
\fR[\fIoptions\fR] \fIkeyword\fR
.SH DESCRIPTION
xml-resolver is a simple command line XML entity and URI resolver.
It takes a number of parameters and passes them through the actual
resolver class, and prints out the result.
.PP
The keyword argument identifies the type of resolution to perform,
it must be one of "doctype", "document", "entity", "notation",
"public", "system", or "uri".
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-n\fR \fIname\fR
Set the name.
.TP
\fB\-p\fR \fIpublicid\fR
Set the public identifier.
.TP
\fB\-s\fR \fIsystemid\fR
Set the system identifier.
.TP
\fB\-a\fR
Make the system URI absolute before resolution.
.TP
\fB\-u\fR \fIuri\fR
Set the URI.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). The default is 0.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-resolver\fR.
.SH "SEE ALSO"
.BR xml-xread (1),
.BR xml-xparse (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver resolver script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.resolver
BASE_JARS="xml-commons-resolver10.jar xml-commons-jaxp-1.1-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,46 +0,0 @@
.TH XML-XPARSE "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-xparse \- Parse XML documents with entity and URI resolution
.SH SYNOPSIS
.B xml-xparse
\fR[\fIoptions\fR] \fIxmlfile\fR
.SH DESCRIPTION
xml-xparse is a simple command line tool for parsing and validating
XML documents. It is not an actual XML parser, it just wraps around
a JAXP Parser, adding support for catalog-based entity and URI
resolution.
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-v\fR
Perform a validating parse. This is the default.
.TP
\fB\-w\fR
Perform a well-formed parse, not a validating parse.
.TP
\fB\-N\fR
Perform a namespace-aware parse. This is the default.
.TP
\fB\-n\fR
Perform a namespace-ignorant parse.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). Warnings are shown if the debug
level is set to greater than 2.
.TP
\fB\-E\fR \fImaxerrors\fR
Set the maximum number of errors to display. The default is 10.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-xparse\fR.
.SH "SEE ALSO"
.BR xml-xread (1),
.BR xml-resolver (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver xparse script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.xparse
BASE_JARS="xml-commons-resolver10.jar xml-commons-jaxp-1.1-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,46 +0,0 @@
.TH XML-XREAD "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-xread \- Parse XML documents with entity and URI resolution
.SH SYNOPSIS
.B xml-xread
\fR[\fIoptions\fR] \fIxmlfile\fR
.SH DESCRIPTION
xml-xread is a simple command line tool for parsing and validating
XML documents. It is not an actual XML parser, it just wraps around
a JAXP XMLReader, adding support for catalog-based entity and URI
resolution.
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-v\fR
Perform a validating parse. This is the default.
.TP
\fB\-w\fR
Perform a well-formed parse, not a validating parse.
.TP
\fB\-N\fR
Perform a namespace-aware parse. This is the default.
.TP
\fB\-n\fR
Perform a namespace-ignorant parse.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). Warnings are shown if the debug
level is set to greater than 2.
.TP
\fB\-E\fR \fImaxerrors\fR
Set the maximum number of errors to display. The default is 10.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-xread\fR.
.SH "SEE ALSO"
.BR xml-parse (1),
.BR xml-resolver (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver xread script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.xread
BASE_JARS="xml-commons-resolver10.jar xml-commons-jaxp-1.1-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,48 +0,0 @@
.TH XML-RESOLVER "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-resolver \- Resolve XML entities and URIs
.SH SYNOPSIS
.B xml-resolver
\fR[\fIoptions\fR] \fIkeyword\fR
.SH DESCRIPTION
xml-resolver is a simple command line XML entity and URI resolver.
It takes a number of parameters and passes them through the actual
resolver class, and prints out the result.
.PP
The keyword argument identifies the type of resolution to perform,
it must be one of "doctype", "document", "entity", "notation",
"public", "system", or "uri".
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-n\fR \fIname\fR
Set the name.
.TP
\fB\-p\fR \fIpublicid\fR
Set the public identifier.
.TP
\fB\-s\fR \fIsystemid\fR
Set the system identifier.
.TP
\fB\-a\fR
Make the system URI absolute before resolution.
.TP
\fB\-u\fR \fIuri\fR
Set the URI.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). The default is 0.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-resolver\fR.
.SH "SEE ALSO"
.BR xml-xread (1),
.BR xml-xparse (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver resolver script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.resolver
BASE_JARS="xml-commons-resolver11.jar xml-commons-jaxp-1.2-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,46 +0,0 @@
.TH XML-XPARSE "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-xparse \- Parse XML documents with entity and URI resolution
.SH SYNOPSIS
.B xml-xparse
\fR[\fIoptions\fR] \fIxmlfile\fR
.SH DESCRIPTION
xml-xparse is a simple command line tool for parsing and validating
XML documents. It is not an actual XML parser, it just wraps around
a JAXP Parser, adding support for catalog-based entity and URI
resolution.
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-v\fR
Perform a validating parse. This is the default.
.TP
\fB\-w\fR
Perform a well-formed parse, not a validating parse.
.TP
\fB\-N\fR
Perform a namespace-aware parse. This is the default.
.TP
\fB\-n\fR
Perform a namespace-ignorant parse.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). Warnings are shown if the debug
level is set to greater than 2.
.TP
\fB\-E\fR \fImaxerrors\fR
Set the maximum number of errors to display. The default is 10.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-xparse\fR.
.SH "SEE ALSO"
.BR xml-xread (1),
.BR xml-resolver (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver xparse script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.xparse
BASE_JARS="xml-commons-resolver11.jar xml-commons-jaxp-1.2-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,46 +0,0 @@
.TH XML-XREAD "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-xread \- Parse XML documents with entity and URI resolution
.SH SYNOPSIS
.B xml-xread
\fR[\fIoptions\fR] \fIxmlfile\fR
.SH DESCRIPTION
xml-xread is a simple command line tool for parsing and validating
XML documents. It is not an actual XML parser, it just wraps around
a JAXP XMLReader, adding support for catalog-based entity and URI
resolution.
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-v\fR
Perform a validating parse. This is the default.
.TP
\fB\-w\fR
Perform a well-formed parse, not a validating parse.
.TP
\fB\-N\fR
Perform a namespace-aware parse. This is the default.
.TP
\fB\-n\fR
Perform a namespace-ignorant parse.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). Warnings are shown if the debug
level is set to greater than 2.
.TP
\fB\-E\fR \fImaxerrors\fR
Set the maximum number of errors to display. The default is 10.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-xread\fR.
.SH "SEE ALSO"
.BR xml-parse (1),
.BR xml-resolver (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver xread script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.xread
BASE_JARS="xml-commons-resolver11.jar xml-commons-jaxp-1.2-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,48 +0,0 @@
.TH XML-RESOLVER "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-resolver \- Resolve XML entities and URIs
.SH SYNOPSIS
.B xml-resolver
\fR[\fIoptions\fR] \fIkeyword\fR
.SH DESCRIPTION
xml-resolver is a simple command line XML entity and URI resolver.
It takes a number of parameters and passes them through the actual
resolver class, and prints out the result.
.PP
The keyword argument identifies the type of resolution to perform,
it must be one of "doctype", "document", "entity", "notation",
"public", "system", or "uri".
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-n\fR \fIname\fR
Set the name.
.TP
\fB\-p\fR \fIpublicid\fR
Set the public identifier.
.TP
\fB\-s\fR \fIsystemid\fR
Set the system identifier.
.TP
\fB\-a\fR
Make the system URI absolute before resolution.
.TP
\fB\-u\fR \fIuri\fR
Set the URI.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). The default is 0.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-resolver\fR.
.SH "SEE ALSO"
.BR xml-xread (1),
.BR xml-xparse (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver resolver script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.resolver
BASE_JARS="xml-commons-resolver12.jar xml-commons-jaxp-1.3-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,46 +0,0 @@
.TH XML-XPARSE "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-xparse \- Parse XML documents with entity and URI resolution
.SH SYNOPSIS
.B xml-xparse
\fR[\fIoptions\fR] \fIxmlfile\fR
.SH DESCRIPTION
xml-xparse is a simple command line tool for parsing and validating
XML documents. It is not an actual XML parser, it just wraps around
a JAXP Parser, adding support for catalog-based entity and URI
resolution.
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-v\fR
Perform a validating parse. This is the default.
.TP
\fB\-w\fR
Perform a well-formed parse, not a validating parse.
.TP
\fB\-N\fR
Perform a namespace-aware parse. This is the default.
.TP
\fB\-n\fR
Perform a namespace-ignorant parse.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). Warnings are shown if the debug
level is set to greater than 2.
.TP
\fB\-E\fR \fImaxerrors\fR
Set the maximum number of errors to display. The default is 10.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-xparse\fR.
.SH "SEE ALSO"
.BR xml-xread (1),
.BR xml-resolver (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver xparse script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.xparse
BASE_JARS="xml-commons-resolver12.jar xml-commons-jaxp-1.3-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,46 +0,0 @@
.TH XML-XREAD "1" "July 2004" "1.1" "User Commands"
.SH NAME
xml-xread \- Parse XML documents with entity and URI resolution
.SH SYNOPSIS
.B xml-xread
\fR[\fIoptions\fR] \fIxmlfile\fR
.SH DESCRIPTION
xml-xread is a simple command line tool for parsing and validating
XML documents. It is not an actual XML parser, it just wraps around
a JAXP XMLReader, adding support for catalog-based entity and URI
resolution.
.SH OPTIONS
.TP
\fB\-c\fR \fIcatalogfile\fR
Load a particular catalog file. May be specified multiple times.
.TP
\fB\-v\fR
Perform a validating parse. This is the default.
.TP
\fB\-w\fR
Perform a well-formed parse, not a validating parse.
.TP
\fB\-N\fR
Perform a namespace-aware parse. This is the default.
.TP
\fB\-n\fR
Perform a namespace-ignorant parse.
.TP
\fB\-d\fR \fIdebuglevel\fR
Set the debug level (an integer). Warnings are shown if the debug
level is set to greater than 2.
.TP
\fB\-E\fR \fImaxerrors\fR
Set the maximum number of errors to display. The default is 10.
.SH FILES
.B __RESOLVERDIR__/CatalogManager.properties
.RS
The central catalog manager configuration file used by \fBxml-xread\fR.
.SH "SEE ALSO"
.BR xml-parse (1),
.BR xml-resolver (1),
.BR java (1),
the OASIS entity resolution technical committee home page at
<http://www.oasis-open.org/committees/entity/>.
.SH AUTHOR
Norman Walsh <Norman.Walsh@Sun.COM>

View File

@ -1,21 +0,0 @@
#!/bin/sh
#
# xml-commons-resolver xread script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
. /usr/share/java-utils/java-functions
# Configuration
MAIN_CLASS=org.apache.xml.resolver.apps.xread
BASE_JARS="xml-commons-resolver12.jar xml-commons-jaxp-1.3-apis.jar jaxp_parser_impl.jar"
CLASSPATH="$CLASSPATH:__RESOLVERDIR__"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# xml-commons which script
# JPackage Project <http://www.jpackage.org/>
# $Id: xml-commons.which.script,v 1.2 2002/11/14 20:08:56 jpackage Exp $
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Configuration
MAIN_CLASS=org.apache.env.Which
BASE_JARS=xml-commons-which10.jar
CLASSPATH="$CLASSPATH:$(build-classpath ant ant-launcher xerces-j2 crimson xalan-j2 xalan-j1 xml-commons-jaxp-1.1-apis 2>/dev/null)" || :
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# xml-commons which script
# JPackage Project <http://www.jpackage.org/>
# $Id: xml-commons.which.script,v 1.2 2002/11/14 20:08:56 jpackage Exp $
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Configuration
MAIN_CLASS=org.apache.env.Which
BASE_JARS=xml-commons-which11.jar
CLASSPATH="$CLASSPATH:$(build-classpath ant ant-launcher xerces-j2 crimson xalan-j2 xalan-j1 xml-commons-jaxp-1.3-apis 2>/dev/null)" || :
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><project>
<parent>
<artifactId>apache</artifactId>
<groupId>org.apache</groupId>
<version>3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>xml-resolver</groupId>
<artifactId>xml-resolver</artifactId>
<name>XML Commons Resolver Component</name>
<version>1.2</version>
<description>xml-commons provides an Apache-hosted set of DOM, SAX, and
JAXP interfaces for use in other xml-based projects. Our hope is that we
can standardize on both a common version and packaging scheme for these
critical XML standards interfaces to make the lives of both our developers
and users easier.</description>
<url>http://xml.apache.org/commons/components/resolver/</url>
<issueManagement>
<system>bugzilla</system>
<url>http://issues.apache.org/bugzilla/</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>XML Commons Developer's List</name>
<subscribe>commons-dev-subscribe@xml.apache.org</subscribe>
<unsubscribe>commons-dev-unsubscribe@xml.apache.org</unsubscribe>
<post>commons-dev@xml.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/xml-commons-dev/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-resolver-1_2/</connection>
<url>http://svn.apache.org/viewvc/xml/commons/tags/xml-commons-resolver-1_2/</url>
</scm>
<distributionManagement>
<status>deployed</status>
</distributionManagement>
</project>