You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by GOMEZ Henri <hg...@slib.fr> on 2002/07/03 09:30:04 UTC

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 : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

Re: ant/style for xdocs fail randomly

Posted by John Keyes <jb...@mac.com>.
Henri,

Not sure if this will resolve your problem but
I found some bugs in Xalan 2.3.1 (which were
already reported in bugzilla) so I tried out
2.4.D1 instead.  This worked a treat.  Can you
upgrade(?) your xalan to 2.4.D1 and see if that
works?

-John K

On Wednesday, July 3, 2002, at 07:30 , GOMEZ Henri wrote:

> 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
>    --
> To unsubscribe, e-mail:   <mailto:ant-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-
> help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: ant/style for xdocs fail randomly

Posted by John Keyes <jb...@mac.com>.
Henri,

Not sure if this will resolve your problem but
I found some bugs in Xalan 2.3.1 (which were
already reported in bugzilla) so I tried out
2.4.D1 instead.  This worked a treat.  Can you
upgrade(?) your xalan to 2.4.D1 and see if that
works?

-John K

On Wednesday, July 3, 2002, at 07:30 , GOMEZ Henri wrote:

> 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
>    --
> To unsubscribe, e-mail:   <mailto:ant-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-
> help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: ant/style for xdocs fail randomly

Posted by Andrew Conrad <an...@msn.com>.
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:hgomez@slib.fr] 
Sent: Wednesday, July 03, 2002 3:30 AM
To: Tomcat Developers List
Cc: Ant Developers List; xalan-dev@xml.apache.org
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 : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>