ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject ant/style for xdocs fail randomly
Date Wed, 03 Jul 2002 07:30:04 GMT
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 : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

Mime
View raw message