[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Xalan error with Norm stylesheets...
On Tue, 27 Feb 2001, Bob Stayton wrote: > Oops, you did say you tested Xalan 2 with > the sample apps and they worked. > > Did you test it with the sample XML files that > Norm provides with the Docbook XSL package? > That is what I tested it with. Good idea! I tried right now, but [sigh!] I got the same message: prompt> xalan -IN test.xml -XSL ../html/docbook.xsl XSLT Error (java.lang.InternalError): null Please note that I executed Xalan from the "test" dir of the Norm stylesheet tree. Also, "xalan" above is just an alias for: java org.apache.xalan.xslt.Process About the CLASSPATH, here is mine: . /home/andrea /home/andrea/lib/java/jdom.jar /home/andrea/lib/java/servlet.jar /home/andrea/lib/java/xalan.jar I tried even with just the last line (but maybe also with the first two, I always have them), with the same result: everything works fine, except transforming DocBook! But I have more of these things: if I try with the "article.xml" test, I got a lot of exception the first time, and the same "InternalError" the second! "callout.xml" works fine, and so does "func.xml", "condition.xml" and "qa.xml", but all is incredibly slow. I really can't figure out what's happening. Did I run across a JDK bug or such? > > Also, I noticed your command said "-OUT rel.tex" > although you are using the html stylesheets. > I presume that was a typo? Ehm, yes it is... > > bobs > > > From: Bob Stayton <bobs@sco.com> > > > > > From: Andrea Giuliano <a.giuliano@iccu.sbn.it> > > > > > > I get this message trying to convert DocBook to HTML: > > > > > > java org.apache.xalan.xslt.Process -IN rel.xml -XSL > > > file:///home/andrea/lib/docbookx/xsl/html/docbook.xsl -OUT rel.tex > > > > > > XSLT Error (java.lang.InternalError): null > > > > > > (newlines are for readability). The above command line has been working > > > well for months. Then, I installed Xalan Java 2.0.0 and Norm stylesheets > > > 1.29, and the result is the message above. Xalan alone seems > > > to work (every sample > > > in the distribution works fine), so I really cannot figure out what > > > happened to my poor rel.xml! > > > > I can use Xalan Java 2.0.0 with Docbook XSL 1.29 without > > problems. Your problem may be with your CLASSPATH > > set up if it includes an older Xerces parser > > rather than the Xerces 1.2.3 that comes with the > > Xalan2 package. > > > > Try reading "docs/getstarted.html" in the Xalan2 > > distribution to make sure your Xalan2 setup is > > working with their sample applications. > > > > I've found XalanJ2 to be about three times as fast > > as XalanJ1 when processing Docbook. > > > > bobs > > Bob Stayton 400 Encinal Street > > Publications Architect Santa Cruz, CA 95060 > > Technical Publications voice: (831) 427-7796 > > The Santa Cruz Operation, Inc. fax: (831) 429-1887 > > email: bobs@sco.com > > > > > > ------------------------------------------------------------------ > > To unsubscribe from this elist send a message with the single word > > "unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org > > ------------------------------------------------------------------ > To unsubscribe from this elist send a message with the single word > "unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org > +----------------------------------------------------+ | | | Andrea Giuliano, Ph. D. | | Virtual System Administrator | | Istituto Centrale per il Catalogo Unico (ICCU) | | Viale Castro Pretorio 105, Rome - ITALY | | Tel. +3964989509 | | | +----------------------------------------------------+
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC