Re: DOCBOOK-APPS: Xalan error with Norm stylesheets...

2001-03-11 Thread Norman Walsh

/ Andrea Giuliano [EMAIL PROTECTED] was heard to say:
| 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:

Do you have extensions turned on? I think this is a bug that I fixed
in XalanJ2. (And it has been committed, so try with a recent CVS?)

Be seeing you,
  norm

-- 
Norman Walsh [EMAIL PROTECTED]  | To create a little flower is the
http://www.oasis-open.org/docbook/ | labour of ages.--Blake
Chair, DocBook Technical Committee |



DOCBOOK-APPS: Xalan error with Norm stylesheets...

2001-02-27 Thread Andrea Giuliano

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!

Sorry if it's a trivial question...

Many thanks.


++
||
|   Andrea Giuliano, Ph. D.  |
|   Virtual System Administrator |
|   Istituto Centrale per il Catalogo Unico (ICCU)   |
|   Viale Castro Pretorio 105, Rome - ITALY  |
|   Tel. +3964989509 |
||
++


--
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]



Re: DOCBOOK-APPS: Xalan error with Norm stylesheets...

2001-02-27 Thread Eric Richardson

Bob Stayton wrote:
 I've found XalanJ2 to be about three times as fast
 as XalanJ1 when processing Docbook.

Really, any problems with it?
I could use some speed up.
Eric :-)

--
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]



Re: DOCBOOK-APPS: Xalan error with Norm stylesheets...

2001-02-27 Thread Bob Stayton

 From: Eric Richardson [EMAIL PROTECTED]
 
 Bob Stayton wrote:
  I've found XalanJ2 to be about three times as fast
  as XalanJ1 when processing Docbook.
 
 Really, any problems with it?
 I could use some speed up.
 Eric :-)

None so far.  I've used it for both HTML and PDF
output (with Apache FOP 0.17).

bobs

--
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]



Re: DOCBOOK-APPS: Xalan error with Norm stylesheets...

2001-02-27 Thread Andrea Giuliano

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 [EMAIL PROTECTED]
 
   From: Andrea Giuliano [EMAIL PROTECTED]
  
   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: [EMAIL PROTECTED]
 
 
  --
  To unsubscribe from this elist send a message with the single word
  "unsubscribe" in the body to: [EMAIL PROTECTED]

 --
 To unsubscribe from this elist send a message with the single word
 "unsubscribe" in the body to: [EMAIL PROTECTED]


++
||
|   Andrea Giuliano, Ph. D.  |
|   Virtual System Administrator |
|   Istituto Centrale per il Catalogo Unico (ICCU)   |
|   Viale Castro Pretorio 105, Rome - ITALY  |
|   Tel. +3964989509 |
||
++


--
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]