cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuart.roeb...@adolos.co.uk>
Subject Re: AW: [C2.1] Xalan problems?
Date Mon, 25 Jun 2001 17:10:37 GMT
Just to say that the latest update of xalan 2.2 dev today has resolved the 
XPath problems I reported earlier.

Stuart.

On Monday, June 25, 2001, at 10:26  am, Carsten Ziegeler wrote:

> It seems that the latest cvs version of Xalan has some problems with
> the XPath engine. Most of our classes using the XPathAPI do not work
> anymore as the XPathAPI fails.
>
> Perhaps we should revert to an older version.
>
> Carsten
>
>> Stuart Roebuck wrote:
>>
>> I've just updated to the latest CVS of C2.1 and I've run upon a new
>> problem which I'm guessing relates to the update to Xalan.
>>
>> The problem happened on the first access to the page but cleared on a
>> refresh.  It then occurred again at a later point and again on a refresh
>> and then cleared again.
>>
>> It's resulting in the following trace:
>>
>> javax.xml.transform.TransformerException: 82 >= 4
>>          at
>> org.apache.xalan.transformer.TransformerImpl.transformNode(Transfo
>> rmerImpl.
>> java:1151)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.j
>> ava:3039)
>>          at java.lang.Thread.run(Thread.java:496)
>> ---------
>> ; SystemID:
>> file:/Users/stuart/Documents/Clients/ABC123/Website/Development/we
>> bapp/look/
>> general/products_look.xslt; Line#: 22; Column#: 91
>> ; SystemID:
>> file:/Users/stuart/Documents/Clients/ABC123/Website/Development/we
>> bapp/look/
>> general/products_look.xslt; Line#: 22; Column#: 91
>> javax.xml.transform.TransformerException: 82 >= 4
>>          at org.apache.xpath.XPath.bool(XPath.java:409)
>>          at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
>> (ElemApplyTemplates.java:420)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTem
>> plates.java:
>> 226)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
>> (TransformerImpl.java:2096)
>>          at
>> org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralRe
>> sult.java:
>> 662)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
>> (ElemApplyTemplates.java:420)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTem
>> plates.java:
>> 226)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
>> (TransformerImpl.java:2096)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
>> (TransformerImpl.java:1927)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.transformNode(Transfo
>> rmerImpl.
>> java:1120)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.j
>> ava:3039)
>>          at java.lang.Thread.run(Thread.java:496)
>> ---------
>> java.lang.ArrayIndexOutOfBoundsException: 82 >= 4
>>          at java.util.Vector.elementAt(Vector.java:417)
>>          at
>> org.apache.xml.dtm.ref.DTMStringPool.indexToString(DTMStringPool.java:128)
>>          at
>> org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.getStringValue(SAX2DTM.java:1187)
>>          at
>> org.apache.xpath.objects.XNodeSet.getStringFromNode(XNodeSet.java:200)
>>          at org.apache.xpath.objects.XNodeSet.compare(XNodeSet.java:480)
>>          at 
>> org.apache.xpath.objects.XNodeSet.notEquals(XNodeSet.java:690)
>>          at
>> org.apache.xpath.operations.NotEquals.operate(NotEquals.java:82)
>>          at
>> org.apache.xpath.operations.Operation.execute(Operation.java:146)
>>          at org.apache.xpath.Expression.bool(Expression.java:205)
>>          at org.apache.xpath.operations.Or.bool(Or.java:111)
>>          at org.apache.xpath.XPath.bool(XPath.java:386)
>>          at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
>> (ElemApplyTemplates.java:420)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTem
>> plates.java:
>> 226)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
>> (TransformerImpl.java:2096)
>>          at
>> org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralRe
>> sult.java:
>> 662)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
>> (ElemApplyTemplates.java:420)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTem
>> plates.java:
>> 226)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
>> (TransformerImpl.java:2096)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
>> (TransformerImpl.java:1927)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.transformNode(Transfo
>> rmerImpl.
>> java:1120)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.j
>> ava:3039)
>>          at java.lang.Thread.run(Thread.java:496)
>> ---------
>> java.lang.ArrayIndexOutOfBoundsException: 82 >= 4
>>          at java.util.Vector.elementAt(Vector.java:417)
>>          at
>> org.apache.xml.dtm.ref.DTMStringPool.indexToString(DTMStringPool.java:128)
>>          at
>> org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.getStringValue(SAX2DTM.java:1187)
>>          at
>> org.apache.xpath.objects.XNodeSet.getStringFromNode(XNodeSet.java:200)
>>          at org.apache.xpath.objects.XNodeSet.compare(XNodeSet.java:480)
>>          at 
>> org.apache.xpath.objects.XNodeSet.notEquals(XNodeSet.java:690)
>>          at
>> org.apache.xpath.operations.NotEquals.operate(NotEquals.java:82)
>>          at
>> org.apache.xpath.operations.Operation.execute(Operation.java:146)
>>          at org.apache.xpath.Expression.bool(Expression.java:205)
>>          at org.apache.xpath.operations.Or.bool(Or.java:111)
>>          at org.apache.xpath.XPath.bool(XPath.java:386)
>>          at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
>> (ElemApplyTemplates.java:420)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTem
>> plates.java:
>> 226)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
>> (TransformerImpl.java:2096)
>>          at
>> org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralRe
>> sult.java:
>> 662)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
>> (ElemApplyTemplates.java:420)
>>          at
>> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTem
>> plates.java:
>> 226)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
>> (TransformerImpl.java:2096)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
>> (TransformerImpl.java:1927)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.transformNode(Transfo
>> rmerImpl.
>> java:1120)
>>          at
>> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.j
>> ava:3039)
>>          at java.lang.Thread.run(Thread.java:496)
>>
>>
>> -------------------------------------------------------------------------
>> Stuart Roebuck                                  stuart.roebuck@adolos.com
>> Lead Developer                               Java, XML, MacOS X, XP, etc.
>> ADOLOS                                           <http://www.adolos.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
>> For additional commands, email: cocoon-dev-help@xml.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


-------------------------------------------------------------------------
Stuart Roebuck                                  stuart.roebuck@adolos.com
Lead Developer                               Java, XML, MacOS X, XP, etc.
ADOLOS                                           <http://www.adolos.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message