From: Norman Walsh Date: Mon, 12 Nov 2001 21:28:05 +0000 (+0000) Subject: Support version D11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e0a77a52f73e8fb6647db804697bbaa078d282f;p=docbook-dsssl Support version D11 --- diff --git a/cvstools/xalan b/cvstools/xalan index 742cd55ff..aa54f4d59 100755 --- a/cvstools/xalan +++ b/cvstools/xalan @@ -24,6 +24,9 @@ while [ "$DONE" = "0" ]; do -2) shift VERSION=2 ;; + -D11) shift + VERSION=D11 + ;; -*) DONE=1; ;; *) DONE=1 @@ -46,6 +49,12 @@ elif [ "$VERSION" = "2" ]; then RESOLVERS="$URES $ERES" XALANROOT="${XALANROOT:-/projects/apache/xml-xalan/java}"; XALAN="$XALANROOT/build/classes:$XALANROOT/bin/bsf.jar:" +elif [ "$VERSION" = "D11" ]; then + URES="-URIRESOLVER com.sun.resolver.tools.CatalogResolver" + ERES="-ENTITYRESOLVER com.sun.resolver.tools.CatalogResolver" + RESOLVERS="$URES $ERES" + XALANROOT="/usr/local/java/xalan-j_2_2_D11/bin" + XALAN="$XALANROOT/xalan.jar:$XALANROOT/xml.jar" else echo "Unexpected Xalan version $VERSION" exit 1 @@ -75,5 +84,3 @@ if [ $? != 0 ]; then echo FAILED echo "" fi - -