pax_global_header 0000666 0000000 0000000 00000000064 14734375152 0014525 g ustar 00root root 0000000 0000000 52 comment=a6bc0041035988325dfbfe7823ef2c098fc56597
jing-trang-20241231/ 0000775 0000000 0000000 00000000000 14734375152 0014025 5 ustar 00root root 0000000 0000000 jing-trang-20241231/.classpath 0000664 0000000 0000000 00000006075 14734375152 0016020 0 ustar 00root root 0000000 0000000
jing-trang-20241231/.editorconfig 0000664 0000000 0000000 00000000243 14734375152 0016501 0 ustar 00root root 0000000 0000000 [*.{java,xml,xsl}]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
jing-trang-20241231/.gitignore 0000664 0000000 0000000 00000000114 14734375152 0016011 0 ustar 00root root 0000000 0000000 .DS_Store
.ant-targets-build.xml
build/
doc/
modbuild.xml
modules.xml
*.iml
jing-trang-20241231/.gitmodules 0000664 0000000 0000000 00000000140 14734375152 0016175 0 ustar 00root root 0000000 0000000 [submodule "relaxng.org"]
path = relaxng.org
url = https://github.com/relaxng/relaxng.org.git
jing-trang-20241231/.project 0000664 0000000 0000000 00000000553 14734375152 0015477 0 ustar 00root root 0000000 0000000
jingorg.eclipse.jdt.core.javabuilderorg.eclipse.jdt.core.javanature
jing-trang-20241231/.settings/ 0000775 0000000 0000000 00000000000 14734375152 0015743 5 ustar 00root root 0000000 0000000 jing-trang-20241231/.settings/org.eclipse.jdt.core.prefs 0000664 0000000 0000000 00000000545 14734375152 0022731 0 ustar 00root root 0000000 0000000 eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
jing-trang-20241231/.travis.yml 0000664 0000000 0000000 00000000455 14734375152 0016142 0 ustar 00root root 0000000 0000000 language: java
jdk:
- openjdk8
# https://github.com/travis-ci/travis-ci/issues/7884
#- oraclejdk7
- oraclejdk9
# oracle jdk 10 is deprecated
#- oraclejdk10
- oraclejdk11
- openjdk10
- openjdk11
- openjdk-ea
matrix:
allow_failures:
- jdk: openjdk-ea
script:
- ./ant test
jing-trang-20241231/README.adoc 0000664 0000000 0000000 00000003253 14734375152 0015615 0 ustar 00root root 0000000 0000000 = jing-trang
:groupId: org.relaxng
:artifactId: jing
:repository: jing-trang
image:https://travis-ci.org/relaxng/{repository}.svg?branch=master["Build Status", link="https://travis-ci.org/relaxng/{repository}"]
image:https://maven-badges.herokuapp.com/maven-central/{groupId}/{artifactId}/badge.svg["Artifact on Maven Central", link="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22{groupId}%22%20a%3A%22{artifactId}%22"]
image:http://www.javadoc.io/badge/{groupId}/{artifactId}.svg["Javadocs", link="http://www.javadoc.io/doc/{groupId}/{artifactId}"]
After cloning the repository, here's how to build.
. Ensure you have git and JDK 8 or above installed.
All other dependencies are included in the repository.
. Set the `JAVA_HOME` environment variable to point to the directory
where the JDK is installed. For example:
* `export JAVA_HOME=/usr/lib/jvm/openjdk-11` <- Ubuntu, etc.
* `export JAVA_HOME=$(/usr/libexec/java_home)` <- macOS
* `set JAVA_HOME=C:\Program Files\Java\jdk-11` <- Windows
. Clone the repository
git clone https://github.com/relaxng/jing-trang.git`
. Change your working directory to be the `jing-trang` directory (that is,
the directory containing this file).
. Run the `ant` script included in the repository. On Linux, use the
command `./ant`. On Windows, use `.\ant`.
That runs the version of `ant` included in the repository. When the
`ant` script completes, you should find `jing.jar` and `trang.jar` files
in the `build` subdirectory.
You can also tell the `ant` script to build the `test` target, which
will build the jars and then run some tests. On Linux, use the command
`./ant test`. On Windows, use `.\ant test`.
jing-trang-20241231/ant 0000775 0000000 0000000 00000000627 14734375152 0014542 0 ustar 00root root 0000000 0000000 #!/bin/sh
test -x "$JAVA_HOME/bin/java" || {
cat <&2
You must set JAVA_HOME environment variable to point to
the directory where your JDK is installed.
EOF
exit 1
}
JING_TRANG_HOME=`dirname $0`
"$JAVA_HOME/bin/java" \
"-Dant.home=$JING_TRANG_HOME" \
-cp "$JING_TRANG_HOME/lib/ant-launcher.jar" \
org.apache.tools.ant.launch.Launcher \
-buildfile "$JING_TRANG_HOME/build.xml" \
"$@"
jing-trang-20241231/ant.bat 0000775 0000000 0000000 00000000755 14734375152 0015311 0 ustar 00root root 0000000 0000000 @echo off
setlocal
if exist "%JAVA_HOME%\bin\java.exe" goto found
echo You must set JAVA_HOME to the directory containing the JDK
exit /b 1
:found
rem %~dp0 gives the directory including the trailing slash
rem we need the directory without the trailing slash, so add the dot
set JING_TRANG_HOME=%~dp0.
"%JAVA_HOME%\bin\java.exe" -classpath "%JING_TRANG_HOME%\lib\ant-launcher.jar" "-Dant.home=%JING_TRANG_HOME%" org.apache.tools.ant.launch.Launcher -buildfile "%JING_TRANG_HOME%\build.xml" %*
jing-trang-20241231/build-gcj.xml 0000664 0000000 0000000 00000004234 14734375152 0016412 0 ustar 00root root 0000000 0000000
jing-trang-20241231/build.gradle.kts 0000664 0000000 0000000 00000004576 14734375152 0017120 0 ustar 00root root 0000000 0000000 import org.gradle.api.execution.TaskExecutionGraph
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/5.0/userguide/tutorial_java_projects.html
*/
plugins {
// Apply the java plugin to add support for Java
// java
`java-library`
// Apply the application plugin to add support for building an application
// application
}
repositories {
mavenLocal()
mavenCentral()
// Use jcenter for resolving your dependenes.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
dependencies {
// TODO
api("org.xmlresolver", "xmlresolver", "1.1.0")
api("net.sf.saxon", "Saxon-HE", "10.3")
// Use TestNG framework, also requires calling test.useTestNG() below
testImplementation("org.testng:testng:7.3.0")
}
ant.importBuild("build.xml")
val jars = task("jars") {
inputs.files(fileTree("**/*.java"))
outputs.files("build/jing.jar", "build/trang.jar", "build/dtdinst.jar")
// val antJar = tasks.named("ant-jar").outputs.upToDateWhen(outputs.upToDate)
finalizedBy(":ant-jar")
}
// https://stackoverflow.com/questions/41794914/how-to-create-the-fat-jar-with-gradle-kotlin-script
val jingTrang = task("jingtrang", Jar::class) {
from(listOf("build/jing.jar", "build/trang.jar").map { it -> zipTree(it) })
with(tasks.jar.get() as CopySpec)
dependsOn(":ant-jar")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE;
}
// if jing-trang is a composite, merged jar resolution
// does not work, even if the artifact is declared like below
artifacts {
add("archives", jingTrang)
add("default", jingTrang)
}
// https://docs.gradle.org/current/userguide/kotlin_dsl.html#using_the_container_api
tasks.named("clean") {
dependsOn(":ant-clean")
}
tasks.named("jingtrang") {
dependsOn(":jars")
}
tasks.named("build") {
dependsOn(jingTrang)
}
val antJar: TaskProvider = tasks.named("ant-jar")
// https://stackoverflow.com/questions/27993814/only-run-task-if-another-isnt-up-to-date-in-gradle
project.gradle.taskGraph.whenReady {
// make the antJar task have the same inputs/outputs
antJar.get().inputs.files(jars.inputs.files)
antJar.get().outputs.files(jars.outputs.files)
}
defaultTasks(":build")
jing-trang-20241231/build.xml 0000664 0000000 0000000 00000043320 14734375152 0015650 0 ustar 00root root 0000000 0000000 <modules>
<module>${modfrag}</module>
</modules>
jing-trang-20241231/build.xsl 0000664 0000000 0000000 00000036562 14734375152 0015670 0 ustar 00root root 0000000 0000000
init,init,mod..testinit,mod..servicesinit,,,mod..compile-mainmod..compile-main,mod..compile-testinit,,dummy,mod..test-com.thaiopensource.relaxng.util.TestDrivertest/split.xsljingcom.thaiopensource.relaxng.translate.test.CompactTestDrivertrang/test/compactsplit.xsltrang/mod//test-mod//testtrue
jing-trang-20241231/convert/ 0000775 0000000 0000000 00000000000 14734375152 0015505 5 ustar 00root root 0000000 0000000 jing-trang-20241231/convert/from-relax.xsl 0000664 0000000 0000000 00000022760 14734375152 0020320 0 ustar 00root root 0000000 0000000
The "include" element is only supported with MSXSL and SAXON.
jing-trang-20241231/convert/from-trex.xsl 0000664 0000000 0000000 00000004475 14734375152 0020172 0 ustar 00root root 0000000 0000000
http://www.w3.org/2001/XMLSchema-datatypesinterleave
jing-trang-20241231/convert/simplify.xsl 0000664 0000000 0000000 00000001433 14734375152 0020072 0 ustar 00root root 0000000 0000000
jing-trang-20241231/copying.html 0000664 0000000 0000000 00000003360 14734375152 0016365 0 ustar 00root root 0000000 0000000
Jing Copying Conditions
Jing Copying Conditions
Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
Neither the name of the Thai Open Source Software Center Ltd nor
the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
jing-trang-20241231/copying.txt 0000664 0000000 0000000 00000003021 14734375152 0016232 0 ustar 00root root 0000000 0000000 Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
Neither the name of the Thai Open Source Software Center Ltd nor
the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
jing-trang-20241231/datatype-sample/ 0000775 0000000 0000000 00000000000 14734375152 0017117 5 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/build.xml 0000664 0000000 0000000 00000001145 14734375152 0020741 0 ustar 00root root 0000000 0000000
jing-trang-20241231/datatype-sample/datatype-sample.rng 0000664 0000000 0000000 00000000307 14734375152 0022721 0 ustar 00root root 0000000 0000000
jing-trang-20241231/datatype-sample/index.html 0000664 0000000 0000000 00000003177 14734375152 0021124 0 ustar 00root root 0000000 0000000
RELAX NG Pluggable Datatype Library Example
RELAX NG Pluggable Datatype Library Example
This package contains a very simple example of a pluggable datatype library.
The datatype library is implemented by the class
com.thaiopensource.datatype.sample.BalancedString. The
bulk of the implementation is inherited from the abstract class
com.thaiopensource.datatype.sample.SimpleDatatypeLibrary,
which provides default implementations for the methods in the
interfaces which a datatype library must implement. A class that
derives from SimpleDatatypeLibrary has only to implement
a boolean isValid(String literal) method. The datatype
library has the URI
http://www.thaiopensource.com/relaxng/datatypes/sample,
and contains exactly one datatype, which is called
balancedString. This datatype allows any string in which
parentheses are properly balanced (nested). To use this sample
datatype library, simply include datatype-sample.jar in
your CLASSPATH. You will then be able to validate against schemas
using this additional datatype. The file datatype-sample.rng is a simple RELAX
NG schema using this datatype; valid.xml is an
instance that is valid with respect to this schema; invalid.xml is an instance that is not valid
with respect to this schema.
James Clark
jing-trang-20241231/datatype-sample/invalid.xml 0000664 0000000 0000000 00000000056 14734375152 0021270 0 ustar 00root root 0000000 0000000 foo(bar(baz)
jing-trang-20241231/datatype-sample/src/ 0000775 0000000 0000000 00000000000 14734375152 0017706 5 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/src/META-INF/ 0000775 0000000 0000000 00000000000 14734375152 0021046 5 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/src/META-INF/services/ 0000775 0000000 0000000 00000000000 14734375152 0022671 5 ustar 00root root 0000000 0000000 org.relaxng.datatype.DatatypeLibraryFactory 0000664 0000000 0000000 00000000062 14734375152 0033222 0 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/src/META-INF/services com.thaiopensource.datatype.sample.BalancedString
jing-trang-20241231/datatype-sample/src/com/ 0000775 0000000 0000000 00000000000 14734375152 0020464 5 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/src/com/thaiopensource/ 0000775 0000000 0000000 00000000000 14734375152 0023514 5 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/src/com/thaiopensource/datatype/ 0000775 0000000 0000000 00000000000 14734375152 0025327 5 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/src/com/thaiopensource/datatype/sample/ 0000775 0000000 0000000 00000000000 14734375152 0026610 5 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/src/com/thaiopensource/datatype/sample/BalancedString.java 0000664 0000000 0000000 00000001270 14734375152 0032333 0 ustar 00root root 0000000 0000000 package com.thaiopensource.datatype.sample;
public class BalancedString extends SimpleDatatypeLibrary {
private static final String DATATYPE_LIBRARY
= "http://www.thaiopensource.com/relaxng/datatypes/sample";
private static final String TYPE = "balancedString";
public BalancedString() {
super(DATATYPE_LIBRARY, TYPE);
System.err.println("Loaded balanced string");
}
protected boolean isValid(String literal) {
int len = literal.length();
int level = 0;
for (int i = 0; i < len; i++) {
switch (literal.charAt(i)) {
case '(':
++level;
break;
case ')':
if (--level < 0)
return false;
break;
}
}
return level == 0;
}
}
SimpleDatatypeLibrary.java 0000664 0000000 0000000 00000003757 14734375152 0033662 0 ustar 00root root 0000000 0000000 jing-trang-20241231/datatype-sample/src/com/thaiopensource/datatype/sample package com.thaiopensource.datatype.sample;
import org.relaxng.datatype.*;
import org.relaxng.datatype.helpers.ParameterlessDatatypeBuilder;
import org.relaxng.datatype.helpers.StreamingValidatorImpl;
public abstract class SimpleDatatypeLibrary implements Datatype,
DatatypeLibrary,
DatatypeLibraryFactory {
private final String uri;
private final String localName;
private final DatatypeBuilder datatypeBuilder;
protected SimpleDatatypeLibrary(String uri, String localName) {
this.uri = uri;
this.localName = localName;
this.datatypeBuilder = new ParameterlessDatatypeBuilder(this);
}
public DatatypeLibrary createDatatypeLibrary(String uri) {
return this.uri.equals(uri) ? this : null;
}
public DatatypeBuilder createDatatypeBuilder(String localName)
throws DatatypeException {
if (!this.localName.equals(localName))
throw new DatatypeException();
return datatypeBuilder;
}
public Datatype createDatatype(String localName)
throws DatatypeException {
return createDatatypeBuilder(localName).createDatatype();
}
protected abstract boolean isValid(String literal);
public void checkValid(String literal, ValidationContext context)
throws DatatypeException {
if (!isValid(literal, context))
throw new DatatypeException();
}
public boolean isValid(String literal, ValidationContext context) {
return isValid(literal);
}
public DatatypeStreamingValidator createStreamingValidator(ValidationContext context) {
return new StreamingValidatorImpl(this, context);
}
public Object createValue(String literal, ValidationContext context) {
if (!isValid(literal, context))
return null;
return literal;
}
public boolean sameValue(Object obj1, Object obj2) {
return obj1.equals(obj2);
}
public int valueHashCode(Object obj) {
return obj.hashCode();
}
public int getIdType() {
return ID_TYPE_NULL;
}
public boolean isContextDependent() {
return false;
}
}
jing-trang-20241231/datatype-sample/valid.xml 0000664 0000000 0000000 00000000057 14734375152 0020742 0 ustar 00root root 0000000 0000000 foo(bar(baz))
jing-trang-20241231/doc/ 0000775 0000000 0000000 00000000000 14734375152 0014572 5 ustar 00root root 0000000 0000000 jing-trang-20241231/doc/README.md 0000664 0000000 0000000 00000000344 14734375152 0016052 0 ustar 00root root 0000000 0000000 # Moved
On 2 December, 2018, these files were moved to the website repository:
> https://github.com/relaxng/relaxng.org
where they appear under the `/jclark/` directory. The are also available
at https://relaxng.org/jclark/
jing-trang-20241231/dtdinst/ 0000775 0000000 0000000 00000000000 14734375152 0015476 5 ustar 00root root 0000000 0000000 jing-trang-20241231/dtdinst/copying.txt 0000664 0000000 0000000 00000003021 14734375152 0017703 0 ustar 00root root 0000000 0000000 Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
Neither the name of the Thai Open Source Software Center Ltd nor
the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
jing-trang-20241231/dtdinst/dtdinst.rnc 0000664 0000000 0000000 00000005726 14734375152 0017665 0 ustar 00root root 0000000 0000000 datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"
start = element doctype { decl* }
decl =
elementDecl
| attlistDecl
| def
| overriddenDef
| externalIdRef
| includedSection
| ignoredSection
| internalEntityDecl
| externalEntityDecl
| notationDecl
| processingInstruction
| comment
def =
modelGroupDef
| attributeGroupDef
| enumGroupDef
| datatypeDef
| attributeDefaultDef
| flagDef
| nameSpecDef
| externalIdDef
| paramDef
elementDecl = element element { nameSpec, modelGroup }
modelGroupDef = element modelGroup { name, modelGroup }
datatypeDef = element datatype { name, datatype }
attributeDefaultDef = element attributeDefault { name, attributeDefault }
flagDef = element flag { name, flag }
nameSpecDef = element nameSpec { name, nameSpec }
externalIdDef = element externalId { name, externalId }
paramDef = element param { name, text }
overriddenDef = element overridden { def | duplicateDef }
duplicateDef = element duplicate { name }
includedSection =
element includedSection { attribute flag { xsd:NCName }?, decl* }
ignoredSection =
element ignoredSection { attribute flag { xsd:NCName }?, text }
externalIdRef = element externalIdRef { name, decl* }
internalEntityDecl = element internalEntity { name, text }
externalEntityDecl = element externalEntity { name, externalId }
notationDecl = element notation { name, externalId }
processingInstruction =
element processingInstruction { attribute target { xsd:NCName }, text }
comment = element comment { text }
datatype =
element tokenized {
attribute name { "NMTOKEN" | "NMTOKENS"
| "ENTITY" | "ENTITIES"
| "ID" | "IDREF" | "IDREFS" }
| (attribute name { "NOTATION" }?, enumGroup)
}
| element cdata { empty }
| element datatypeRef { name }
enumGroup =
(element enum { xsd:NMTOKEN }
| element enumGroupRef { name } )*
enumGroupDef = element enumGroup { name, enumGroup }
flag =
element include { empty }
| element ignore { empty }
| element flagRef { name }
attlistDecl = element attlist { nameSpec, attributeGroup }
attributeGroupDef = element attributeGroup { name, attributeGroup }
attributeGroup =
(element attribute { nameSpec, datatype, attributeDefault }
| element attributeGroupRef { name } )*
attributeDefault =
element implied { empty }
| element required { empty }
| element default|fixed { text }
| element attributeDefaultRef { name }
modelGroup =
element modelGroupRef { name }
| element elementRef { nameSpec }
| element oneOrMore { modelGroup }
| element zeroOrMore { modelGroup }
| element optional { modelGroup }
| element pcdata { empty }
| element choice { (modelGroup, modelGroup+)? }
| element sequence { (modelGroup, modelGroup+)? }
externalId =
attribute system { xsd:anyURI }?,
attribute public { text }?,
attribute xml:base { xsd:anyURI }?
name = attribute name { xsd:NCName }
nameSpec = element name { xsd:Name } | element nameSpecRef { name }
jing-trang-20241231/dtdinst/dtdinst2rng.xsl 0000664 0000000 0000000 00000012643 14734375152 0020476 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/ 0000775 0000000 0000000 00000000000 14734375152 0017131 5 ustar 00root root 0000000 0000000 jing-trang-20241231/dtdinst/example/attributeDefault.dtd 0000664 0000000 0000000 00000000302 14734375152 0023131 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/attributeDefault.xml 0000664 0000000 0000000 00000001537 14734375152 0023171 0 ustar 00root root 0000000 0000000
securitydivparadivparadivpara
jing-trang-20241231/dtdinst/example/attributeGroup.dtd 0000664 0000000 0000000 00000000311 14734375152 0022641 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/attributeGroup.xml 0000664 0000000 0000000 00000001421 14734375152 0022671 0 ustar 00root root 0000000 0000000
idclassfoobarfoobarbar
jing-trang-20241231/dtdinst/example/datatype.dtd 0000664 0000000 0000000 00000000176 14734375152 0021445 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/datatype.xml 0000664 0000000 0000000 00000000704 14734375152 0021467 0 ustar 00root root 0000000 0000000
holidayholidaystartDateendDate
jing-trang-20241231/dtdinst/example/enumGroup.dtd 0000664 0000000 0000000 00000000250 14734375152 0021604 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/enumGroup.xml 0000664 0000000 0000000 00000001153 14734375152 0021634 0 ustar 00root root 0000000 0000000
JPTHUKFRITemployeeemployeecountry
jing-trang-20241231/dtdinst/example/externalId.dtd 0000664 0000000 0000000 00000000062 14734375152 0021723 0 ustar 00root root 0000000 0000000
%decls;
jing-trang-20241231/dtdinst/example/externalId.ent 0000664 0000000 0000000 00000000025 14734375152 0021735 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/externalId.xml 0000664 0000000 0000000 00000000351 14734375152 0021751 0 ustar 00root root 0000000 0000000
doc
jing-trang-20241231/dtdinst/example/flag.dtd 0000664 0000000 0000000 00000000256 14734375152 0020542 0 ustar 00root root 0000000 0000000
]]>
jing-trang-20241231/dtdinst/example/flag.xml 0000664 0000000 0000000 00000001312 14734375152 0020561 0 ustar 00root root 0000000 0000000
bigsmallemparaembigsmall
jing-trang-20241231/dtdinst/example/modelGroup.dtd 0000664 0000000 0000000 00000000227 14734375152 0021744 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/modelGroup.xml 0000664 0000000 0000000 00000001250 14734375152 0021766 0 ustar 00root root 0000000 0000000
codeemparacodeem
jing-trang-20241231/dtdinst/example/nameSpec.dtd 0000664 0000000 0000000 00000000201 14734375152 0021352 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/nameSpec.xml 0000664 0000000 0000000 00000000751 14734375152 0021411 0 ustar 00root root 0000000 0000000
paraem
jing-trang-20241231/dtdinst/example/overridden.dtd 0000664 0000000 0000000 00000000366 14734375152 0021774 0 ustar 00root root 0000000 0000000
]]>
jing-trang-20241231/dtdinst/example/overridden.xml 0000664 0000000 0000000 00000001722 14734375152 0022016 0 ustar 00root root 0000000 0000000
bigsmallemembigsmallempara
jing-trang-20241231/dtdinst/example/param.dtd 0000664 0000000 0000000 00000000051 14734375152 0020722 0 ustar 00root root 0000000 0000000
jing-trang-20241231/dtdinst/example/param.xml 0000664 0000000 0000000 00000000234 14734375152 0020752 0 ustar 00root root 0000000 0000000
EMPTY
EMPTY
jing-trang-20241231/dtdinst/index.html 0000664 0000000 0000000 00000020474 14734375152 0017502 0 ustar 00root root 0000000 0000000
DTDinst
DTDinst is a program for converting XML DTDs into an XML instance
format.
Previous versions of DTDinst could also convert XML DTDs into RELAX
NG. This functionality has now migrated
into Trang, which now shares the DTDinst code.
The key feature of DTDinst is its handling of parameter entities.
It is able to reliably turn parameter entity declarations and
references into a variety of higher-level
semantic constructs. It can do this even in the presence of
arbitrarily deep nesting of parameter entity references within
parameter entity declarations. At the same time, it accurately
follows XML 1.0 rules on parameter entity expansion, so that any valid
XML 1.0 DTD can be handled. If a parameter entity is used in a way
that does not correspond to any of the higher-level semantics
constructs supported by DTDinst, then references to that parameter
entity will be expanded in the DTDinst output.
Getting DTDinst
DTDinst is available for download as the
file dtdinst-@VERSION@.zip, which contains binaries, source code and
documentation. It requires a Java runtime compatible with the Java 2
Platform, Standard Edition (J2SE) version 1.4 (or any later version),
such as the Java Runtime Environment (JRE), which can be
downloaded here.
The latest version of DTDinst will always be available in
the Downloads
section of the project
site.
Running DTDinst
To run DTDinst, use a command of the form:
java -jar dtdinst.jar DTD
The DTD argument can be either a file or a
URL.
DTDinst writes an XML representation of the DTD in DTDinst format to the standard output. For example,
the command
Each parameter entity declaration is
represented by one of the following elements:
modelGroup is used for a parameter entity that
represents all or part of the content model of an element (example, DTDinst output)
attributeGroup is used for a parameter entity
containing zero or more attribute definitions, which can be
referenced in an ATTLIST declaration (example, DTDinst output)
attributeDefault is used for a parameter entity
that represents the default value of an attribute (example, DTDinst output)
datatype is used for a parameter entity
that represents an attribute type (example, DTDinst output)
enumGroup is used for a parameter entity that
contains zero or more enumerated values (example, DTDinst output)
flag is used for a parameter entity with replacement
text INCLUDE or IGNORE, which can be used to
control a conditional section (example, DTDinst output)
nameSpec is used for a parameter entity that represents
the name of an element or attribute (example, DTDinst output)
externalId is used for an external parameter entity
that does not fall into any of the above categories (example, DTDinst output)
param is used for an internal parameter entity
that does not fall into any of the above categories (example, DTDinst output)
overridden is used for a parameter entity declaration
that is overridden by an earlier declaration of the same parameter
entity (example, DTDinst output)
The element used to represent a parameter entity reference depends
on the element used to represent the declaration of the parameter
entity.
If the declaration is represented by a modelGroup,
attributeGroup, attributeDefault,
datatype, enumGroup, flag or
nameSpec element, then the reference will be represented
by a modelGroupRef, attributeGroupRef,
attributeDefaultRef, datatypeRef,
enumGroupRef, flagRef or
nameSpecRef element respectively.
If the declaration is represented by externalId and
the reference occurs at the declaration level (i.e. at a point where a
declaration would be allowed), then the reference will be represented
by a externalIdRef element containing the declarations
from the external entity.
Otherwise, the reference will be expanded and there will be no
indication that a reference was originally used in the DTD.
An XSLT stylesheet is available that
converts DTDinst format to RELAX NG. It has many more limitations than
the converter builtin to DTDinst, but it may be useful as a basis for
XSLT-based processing of DTDinst format.
Sample DTDs
You may find it interesting to experiment with the following XML DTDs
which are available online:
DTDinst does not attempt to understand the contents of ignored
conditional sections: DTDinst format represents the contents of an
ignored section as a string. If you wish to preserve information
about conditional sections, you should therefore make as many
conditional sections as possible be included marked sections rather
than ignored marked sections. You can do this by creating a wrapper
DTD that declares parameter entities as INCLUDE and then
references the real DTD. For example, you might use this wrapper DTD to convert the TEI P4 DTD.
DTDinst does not attempt to understand the contents of parameter
entities that are never referenced.
Reporting bugs
Please report bugs by creating a new issue in
the Issues
section of the project site. Be sure to attach a complete DTD for
which DTDinst exhibits the bug.
The overall structure of RELAX modulesNamespace declarations cannot be controlled by
RELAX Core. Wait for RELAX modularization.div elements in modules
Interfacediv elements in interfaces
Include
Hedge ModelsThis is used to describe element hedge models.
It is also used as subordinates of <sequence>,
<choice>, and <mixed>.
This is used to specify the "occurs" attribute,
which is shared by several elements.?*+with the label attributewith the type attribute
Ruleswithout embedded tag or attPool elementswith the type attributewith embedded tag or attPool elementswith the type attributewithout embedded tag or attPool elementswith a hedge modelwith embedded tag or attPool elementswith a hedge model
Clausestag elements embedded in elementRulesattPool elements embedded in elementRulestrue
jing-trang-20241231/eg/relaxCoreDatatypes.rng 0000664 0000000 0000000 00000015613 14734375152 0020741 0 ustar 00root root 0000000 0000000
hexbase64
jing-trang-20241231/eg/relaxng.rng 0000664 0000000 0000000 00000017601 14734375152 0016575 0 ustar 00root root 0000000 0000000
choiceinterleave
jing-trang-20241231/eg/testSuite.rng 0000664 0000000 0000000 00000007120 14734375152 0017121 0 ustar 00root root 0000000 0000000
([\-A-Za-z0-9:@&=+$,_.!~*'()]|%[0-9a-fA-F][0-9a-fA-F])+
jing-trang-20241231/eg/xslt.rng 0000664 0000000 0000000 00000064007 14734375152 0016131 0 ustar 00root root 0000000 0000000
1.0versionversionextension-element-prefixesexclude-result-prefixesuse-attribute-setsyesnoyesnosinglemultipleanyalphabetictraditionaltextnumberascendingdescendingupper-firstlower-firstyesnoxmlhtmltextyesnoyesnoyesno#default#default
\*|\i\c*:\*
1
.*:.*
([^\{\}]|\{\{|\}\})*\{([^"'\{\}]|"[^"]*"|'[^']*')+\}([^\{\}]|\{\{|\}\}|\{([^"'\{\}]|"[^"]*"|'[^']*')+\})*
[^\{\}]*(\{\{|\}\}|\{([^"'\{\}]|"[^"]*"|'[^']*')+\})([^\{\}]|\{\{|\}\}|\{([^"'\{\}]|"[^"]*"|'[^']*')+\})*
([^\{\}]|\{\{|\}\}|\{([^"'\{\}]|"[^"]*"|'[^']*')+\})*
jing-trang-20241231/extapidoc/ 0000775 0000000 0000000 00000000000 14734375152 0016005 5 ustar 00root root 0000000 0000000 jing-trang-20241231/extapidoc/jaxp/ 0000775 0000000 0000000 00000000000 14734375152 0016747 5 ustar 00root root 0000000 0000000 jing-trang-20241231/extapidoc/jaxp/1.1/ 0000775 0000000 0000000 00000000000 14734375152 0017246 5 ustar 00root root 0000000 0000000 jing-trang-20241231/extapidoc/jaxp/1.1/package-list 0000664 0000000 0000000 00000000176 14734375152 0021541 0 ustar 00root root 0000000 0000000 javax.xml.parsers
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.sax
javax.xml.transform.stream
org.w3c.dom
jing-trang-20241231/extapidoc/jdk/ 0000775 0000000 0000000 00000000000 14734375152 0016555 5 ustar 00root root 0000000 0000000 jing-trang-20241231/extapidoc/jdk/1.3/ 0000775 0000000 0000000 00000000000 14734375152 0017056 5 ustar 00root root 0000000 0000000 jing-trang-20241231/extapidoc/jdk/1.3/package-list 0000664 0000000 0000000 00000002515 14734375152 0021350 0 ustar 00root root 0000000 0000000 java.applet
java.awt
java.awt.color
java.awt.datatransfer
java.awt.dnd
java.awt.event
java.awt.font
java.awt.geom
java.awt.im
java.awt.im.spi
java.awt.image
java.awt.image.renderable
java.awt.print
java.beans
java.beans.beancontext
java.io
java.lang
java.lang.ref
java.lang.reflect
java.math
java.net
java.rmi
java.rmi.activation
java.rmi.dgc
java.rmi.registry
java.rmi.server
java.security
java.security.acl
java.security.cert
java.security.interfaces
java.security.spec
java.sql
java.text
java.util
java.util.jar
java.util.zip
javax.accessibility
javax.naming
javax.naming.directory
javax.naming.event
javax.naming.ldap
javax.naming.spi
javax.rmi
javax.rmi.CORBA
javax.sound.midi
javax.sound.midi.spi
javax.sound.sampled
javax.sound.sampled.spi
javax.swing
javax.swing.border
javax.swing.colorchooser
javax.swing.event
javax.swing.filechooser
javax.swing.plaf
javax.swing.plaf.basic
javax.swing.plaf.metal
javax.swing.plaf.multi
javax.swing.table
javax.swing.text
javax.swing.text.html
javax.swing.text.html.parser
javax.swing.text.rtf
javax.swing.tree
javax.swing.undo
javax.transaction
org.omg.CORBA
org.omg.CORBA_2_3
org.omg.CORBA_2_3.portable
org.omg.CORBA.DynAnyPackage
org.omg.CORBA.ORBPackage
org.omg.CORBA.portable
org.omg.CORBA.TypeCodePackage
org.omg.CosNaming
org.omg.CosNaming.NamingContextPackage
org.omg.SendingContext
org.omg.stub.java.rmi
jing-trang-20241231/extapidoc/jdk/1.5/ 0000775 0000000 0000000 00000000000 14734375152 0017060 5 ustar 00root root 0000000 0000000 jing-trang-20241231/extapidoc/jdk/1.5/package-list 0000664 0000000 0000000 00000006437 14734375152 0021361 0 ustar 00root root 0000000 0000000 java.applet
java.awt
java.awt.color
java.awt.datatransfer
java.awt.dnd
java.awt.event
java.awt.font
java.awt.geom
java.awt.im
java.awt.im.spi
java.awt.image
java.awt.image.renderable
java.awt.print
java.beans
java.beans.beancontext
java.io
java.lang
java.lang.annotation
java.lang.instrument
java.lang.management
java.lang.ref
java.lang.reflect
java.math
java.net
java.nio
java.nio.channels
java.nio.channels.spi
java.nio.charset
java.nio.charset.spi
java.rmi
java.rmi.activation
java.rmi.dgc
java.rmi.registry
java.rmi.server
java.security
java.security.acl
java.security.cert
java.security.interfaces
java.security.spec
java.sql
java.text
java.util
java.util.concurrent
java.util.concurrent.atomic
java.util.concurrent.locks
java.util.jar
java.util.logging
java.util.prefs
java.util.regex
java.util.zip
javax.accessibility
javax.activity
javax.crypto
javax.crypto.interfaces
javax.crypto.spec
javax.imageio
javax.imageio.event
javax.imageio.metadata
javax.imageio.plugins.bmp
javax.imageio.plugins.jpeg
javax.imageio.spi
javax.imageio.stream
javax.management
javax.management.loading
javax.management.modelmbean
javax.management.monitor
javax.management.openmbean
javax.management.relation
javax.management.remote
javax.management.remote.rmi
javax.management.timer
javax.naming
javax.naming.directory
javax.naming.event
javax.naming.ldap
javax.naming.spi
javax.net
javax.net.ssl
javax.print
javax.print.attribute
javax.print.attribute.standard
javax.print.event
javax.rmi
javax.rmi.CORBA
javax.rmi.ssl
javax.security.auth
javax.security.auth.callback
javax.security.auth.kerberos
javax.security.auth.login
javax.security.auth.spi
javax.security.auth.x500
javax.security.cert
javax.security.sasl
javax.sound.midi
javax.sound.midi.spi
javax.sound.sampled
javax.sound.sampled.spi
javax.sql
javax.sql.rowset
javax.sql.rowset.serial
javax.sql.rowset.spi
javax.swing
javax.swing.border
javax.swing.colorchooser
javax.swing.event
javax.swing.filechooser
javax.swing.plaf
javax.swing.plaf.basic
javax.swing.plaf.metal
javax.swing.plaf.multi
javax.swing.plaf.synth
javax.swing.table
javax.swing.text
javax.swing.text.html
javax.swing.text.html.parser
javax.swing.text.rtf
javax.swing.tree
javax.swing.undo
javax.transaction
javax.transaction.xa
javax.xml
javax.xml.datatype
javax.xml.namespace
javax.xml.parsers
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.sax
javax.xml.transform.stream
javax.xml.validation
javax.xml.xpath
org.ietf.jgss
org.omg.CORBA
org.omg.CORBA.DynAnyPackage
org.omg.CORBA.ORBPackage
org.omg.CORBA.TypeCodePackage
org.omg.CORBA.portable
org.omg.CORBA_2_3
org.omg.CORBA_2_3.portable
org.omg.CosNaming
org.omg.CosNaming.NamingContextExtPackage
org.omg.CosNaming.NamingContextPackage
org.omg.Dynamic
org.omg.DynamicAny
org.omg.DynamicAny.DynAnyFactoryPackage
org.omg.DynamicAny.DynAnyPackage
org.omg.IOP
org.omg.IOP.CodecFactoryPackage
org.omg.IOP.CodecPackage
org.omg.Messaging
org.omg.PortableInterceptor
org.omg.PortableInterceptor.ORBInitInfoPackage
org.omg.PortableServer
org.omg.PortableServer.CurrentPackage
org.omg.PortableServer.POAManagerPackage
org.omg.PortableServer.POAPackage
org.omg.PortableServer.ServantLocatorPackage
org.omg.PortableServer.portable
org.omg.SendingContext
org.omg.stub.java.rmi
org.w3c.dom
org.w3c.dom.bootstrap
org.w3c.dom.events
org.w3c.dom.ls
org.xml.sax
org.xml.sax.ext
org.xml.sax.helpers
jing-trang-20241231/extapidoc/jdk/1.6/ 0000775 0000000 0000000 00000000000 14734375152 0017061 5 ustar 00root root 0000000 0000000 jing-trang-20241231/extapidoc/jdk/1.6/package-list 0000664 0000000 0000000 00000007771 14734375152 0021364 0 ustar 00root root 0000000 0000000 java.applet
java.awt
java.awt.color
java.awt.datatransfer
java.awt.dnd
java.awt.event
java.awt.font
java.awt.geom
java.awt.im
java.awt.im.spi
java.awt.image
java.awt.image.renderable
java.awt.print
java.beans
java.beans.beancontext
java.io
java.lang
java.lang.annotation
java.lang.instrument
java.lang.management
java.lang.ref
java.lang.reflect
java.math
java.net
java.nio
java.nio.channels
java.nio.channels.spi
java.nio.charset
java.nio.charset.spi
java.rmi
java.rmi.activation
java.rmi.dgc
java.rmi.registry
java.rmi.server
java.security
java.security.acl
java.security.cert
java.security.interfaces
java.security.spec
java.sql
java.text
java.text.spi
java.util
java.util.concurrent
java.util.concurrent.atomic
java.util.concurrent.locks
java.util.jar
java.util.logging
java.util.prefs
java.util.regex
java.util.spi
java.util.zip
javax.accessibility
javax.activation
javax.activity
javax.annotation
javax.annotation.processing
javax.crypto
javax.crypto.interfaces
javax.crypto.spec
javax.imageio
javax.imageio.event
javax.imageio.metadata
javax.imageio.plugins.bmp
javax.imageio.plugins.jpeg
javax.imageio.spi
javax.imageio.stream
javax.jws
javax.jws.soap
javax.lang.model
javax.lang.model.element
javax.lang.model.type
javax.lang.model.util
javax.management
javax.management.loading
javax.management.modelmbean
javax.management.monitor
javax.management.openmbean
javax.management.relation
javax.management.remote
javax.management.remote.rmi
javax.management.timer
javax.naming
javax.naming.directory
javax.naming.event
javax.naming.ldap
javax.naming.spi
javax.net
javax.net.ssl
javax.print
javax.print.attribute
javax.print.attribute.standard
javax.print.event
javax.rmi
javax.rmi.CORBA
javax.rmi.ssl
javax.script
javax.security.auth
javax.security.auth.callback
javax.security.auth.kerberos
javax.security.auth.login
javax.security.auth.spi
javax.security.auth.x500
javax.security.cert
javax.security.sasl
javax.sound.midi
javax.sound.midi.spi
javax.sound.sampled
javax.sound.sampled.spi
javax.sql
javax.sql.rowset
javax.sql.rowset.serial
javax.sql.rowset.spi
javax.swing
javax.swing.border
javax.swing.colorchooser
javax.swing.event
javax.swing.filechooser
javax.swing.plaf
javax.swing.plaf.basic
javax.swing.plaf.metal
javax.swing.plaf.multi
javax.swing.plaf.synth
javax.swing.table
javax.swing.text
javax.swing.text.html
javax.swing.text.html.parser
javax.swing.text.rtf
javax.swing.tree
javax.swing.undo
javax.tools
javax.transaction
javax.transaction.xa
javax.xml
javax.xml.bind
javax.xml.bind.annotation
javax.xml.bind.annotation.adapters
javax.xml.bind.attachment
javax.xml.bind.helpers
javax.xml.bind.util
javax.xml.crypto
javax.xml.crypto.dom
javax.xml.crypto.dsig
javax.xml.crypto.dsig.dom
javax.xml.crypto.dsig.keyinfo
javax.xml.crypto.dsig.spec
javax.xml.datatype
javax.xml.namespace
javax.xml.parsers
javax.xml.soap
javax.xml.stream
javax.xml.stream.events
javax.xml.stream.util
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.sax
javax.xml.transform.stax
javax.xml.transform.stream
javax.xml.validation
javax.xml.ws
javax.xml.ws.handler
javax.xml.ws.handler.soap
javax.xml.ws.http
javax.xml.ws.soap
javax.xml.ws.spi
javax.xml.xpath
org.ietf.jgss
org.omg.CORBA
org.omg.CORBA.DynAnyPackage
org.omg.CORBA.ORBPackage
org.omg.CORBA.TypeCodePackage
org.omg.CORBA.portable
org.omg.CORBA_2_3
org.omg.CORBA_2_3.portable
org.omg.CosNaming
org.omg.CosNaming.NamingContextExtPackage
org.omg.CosNaming.NamingContextPackage
org.omg.Dynamic
org.omg.DynamicAny
org.omg.DynamicAny.DynAnyFactoryPackage
org.omg.DynamicAny.DynAnyPackage
org.omg.IOP
org.omg.IOP.CodecFactoryPackage
org.omg.IOP.CodecPackage
org.omg.Messaging
org.omg.PortableInterceptor
org.omg.PortableInterceptor.ORBInitInfoPackage
org.omg.PortableServer
org.omg.PortableServer.CurrentPackage
org.omg.PortableServer.POAManagerPackage
org.omg.PortableServer.POAPackage
org.omg.PortableServer.ServantLocatorPackage
org.omg.PortableServer.portable
org.omg.SendingContext
org.omg.stub.java.rmi
org.w3c.dom
org.w3c.dom.bootstrap
org.w3c.dom.events
org.w3c.dom.ls
org.xml.sax
org.xml.sax.ext
org.xml.sax.helpers
jing-trang-20241231/extapidoc/sax/ 0000775 0000000 0000000 00000000000 14734375152 0016600 5 ustar 00root root 0000000 0000000 jing-trang-20241231/extapidoc/sax/package-list 0000664 0000000 0000000 00000000062 14734375152 0021065 0 ustar 00root root 0000000 0000000 org.xml.sax
org.xml.sax.ext
org.xml.sax.helpers
jing-trang-20241231/gcj/ 0000775 0000000 0000000 00000000000 14734375152 0014570 5 ustar 00root root 0000000 0000000 jing-trang-20241231/gcj/INSTALL 0000664 0000000 0000000 00000022004 14734375152 0015617 0 ustar 00root root 0000000 0000000 Copyright 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
Foundation, Inc.
This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. (Caching is
disabled by default to prevent problems with accidental use of stale
cache files.)
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You only need
`configure.ac' if you want to change it or regenerate `configure' using
a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. Run `./configure --help'
for details on some of the pertinent environment variables.
You can give `configure' initial values for variables by setting
them in the environment. You can do that on the command line like this:
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not support the `VPATH'
variable, you have to compile the package for one architecture at a
time in the source code directory. After you have installed the
package for one architecture, use `make distclean' before reconfiguring
for another architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
_same_ architectures, `configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
`--build=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:
CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
OS KERNEL-OS
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
use the `--target=TYPE' option to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Defining Variables
==================
Variables not defined in a site shell script can be set in the
environment passed to `configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
will cause the specified gcc to be used as the C compiler (unless it is
overridden in the site shell script).
`configure' Invocation
======================
`configure' recognizes the following options to control how it
operates.
`--help'
`-h'
Print a summary of the options to `configure', and exit.
`--version'
`-V'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally `config.cache'. FILE defaults to `/dev/null' to
disable caching.
`--config-cache'
`-C'
Alias for `--cache-file=config.cache'.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.
jing-trang-20241231/gcj/README.redhat8 0000664 0000000 0000000 00000001520 14734375152 0017004 0 ustar 00root root 0000000 0000000 GCJ as shipped in RedHat 8.0 has a bug in the list of libraries that
it uses to link with. Amongst other things, this causes any Java
program that throws an unhandled exception to hang while printing a
stack trace. See .
If you are running RedHat 8.0, I recommend you apply the following
patch before compiling:
--- /usr/lib/gcc-lib/i386-redhat-linux/3.2/libgcj.spec~ 2002-09-04 04:03:39.000000000 +0100
+++ /usr/lib/gcc-lib/i386-redhat-linux/3.2/libgcj.spec 2002-12-10 15:59:39.000000000 +0000
@@ -4,6 +4,6 @@
# to link with libgcj.
#
%rename lib liborig
-*lib: -lgcj -lm -lz -ldl %(libgcc) %(liborig)
+*lib: -lgcj -lm -lpthread -lz -ldl %(libgcc) %(liborig)
*jc1: -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions
jing-trang-20241231/gcj/Xerces-J-src.2.3.0.tar.gz 0000664 0000000 0000000 00005740670 14734375152 0020606 0 ustar 00root root 0000000 0000000 ‹ ì½{{Û¶²/¼þΧ@üž³,Õ’¬‹/¥Û±”Dgû’eÙiÒl?=´DÙltñ¥Øn›óÙß™Á… R”,+])ø¬ÕÈ$0Àà‡ÁàÎw\¿Xýµökyóó°òîö6ûçùWüÁvw*Ûµruw§ÆX¥\Ùþƒm??¡gêOœñèD+÷òÜéíï;¡sµÿvÛw{×¶ÿ*žXûÆWËÖùÛ¿²½µcÛ±ý§sí.M
æo˜lÿ_É“ÖþüÛÃÕ`þöߪî”mû¯âÉÐþÞà¦ÿ %˜ÏþÃöß®Vý·’'kûw¿,®´ÿNfÛÏíßtÓùÛg«lí¿•