Hey Henri, 

Xalan 2.3.1 has a specific bug that transformer reuse

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6156

I solved my problem using 2.4.D1


-Andrew

-----Original Message-----
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 03, 2002 3:30 AM
To: Tomcat Developers List
Cc: Ant Developers List; [EMAIL PROTECTED]
Subject: ant/style for xdocs fail randomly


Hi,

I've got many problems to build jakarta-tomcat-connectors/jk xdocs 
with ant 1.4.1 or 1.5b3 and xalan 2.3.1/xerces 2.0.1 under W2K 
(not tested yet under Unix), with Sun JDK 1.3.1_03 :

I tried to downgrade to xerces 2.0.0, but the problem is still here.

Didn't have such problem when using xalan 2.2 / xerces 2.0.1

--- error 1

prepare:

docs.check:

docs.init:

docs.color:

docs.color:

docs:
    [style] Transforming into D:\eclipse\workspace\jkdocs\build\docs
    [style] Transforming into D:\eclipse\workspace\jkdocs\build\docs
    [style] Loading stylesheet
D:\eclipse\workspace\jkdocs\xdocs\style.xsl
    [style] Transforming into D:\eclipse\workspace\jkdocs\build\docs
    [style] Transforming into D:\eclipse\workspace\jkdocs\build\docs
    [style] Failed to process
D:\eclipse\workspace\jkdocs\xdocs\configweb.xml

BUILD FAILED

D:\eclipse\workspace\jkdocs\build.xml:106:
javax.xml.transform.TransformerException: Unknown error in XPath

--- error 2

Buildfile: build.xml

prepare:

docs.check:

docs.init:

docs.color:

docs.color:

docs:
    [style] Transforming into D:\eclipse\workspace\jkdocs\build\docs
    [style] Processing D:\eclipse\workspace\jkdocs\xdocs\AJPv13.xml to
D:\eclipse\workspace\jkdocs\build\docs\AJPv13.html
    [style] Loading stylesheet
D:\eclipse\workspace\jkdocs\xdocs\style.xsl
    [style] Processing D:\eclipse\workspace\jkdocs\xdocs\configtc.xml to
D:\eclipse\workspace\jkdocs\build\docs\configtc.html
    [style] D:/eclipse/workspace/jkdocs/xdocs/style.xsl:486:51: Fatal
Error! Unknown error in XPath Cause: java.lang.NullPointerException
    [style] : Fatal Error! Fatal error during transformation Cause:
Fatal error during transformation


Did others have this kind of error ?

the xsl faulty part is :

<xsl:if test="string-length($file) > 0">


-
Henri Gomez                 ___[_]____
EMAIL : [EMAIL PROTECTED]        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to