xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ducrocq, Henri" <Henri.Ducr...@HalifaxCetelem.COM>
Subject Problem with an xsp->java transformation
Date Thu, 23 Jan 2003 10:49:05 GMT
Hi,

I'm currently trying to run Cocoon 2.0.3 under Weblogic 6.0sp1, with Xalan
2.3.1 and Xerces 2.0, and I have the exception shown below when I try to
display any XSP page.

The problem apparently occurs when trying to transform the .xsp file using
the transformation defined in the following xsl file:
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon/com
ponents/language/markup/xsp/java/xsp.xsl?rev=1.9.2.1&content-type=text/vnd.v
iewcvs-markup

The problem seems related only to the non-xsp tags, somewhere in that
section:
	<xsl:template match="*[not(namespace-uri(.) =
'http://apache.org/xsp')]">

Can anyone help?

Thanks
Henri

+++++++++++++++++++++++++++++++++++++++++++++++++++++++ Start
javax.xml.transform.TransformerException: java.lang.NullPointerException
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1234)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3235)
	at java.lang.Thread.run(Thread.java:484)
---------
java.lang.NullPointerException
	at
org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:313)
	at
org.apache.xalan.templates.XUnresolvedVariable.execute(XUnresolvedVariable.j
ava:166)
	at
org.apache.xpath.VariableStack.getGlobalVariable(VariableStack.java:420)
	at org.apache.xpath.operations.Variable.execute(Variable.java:170)
	at
org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:177)
	at
org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:311)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2251)
	at
org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:177)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApp
lyTemplates.java:422)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:226)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApp
lyTemplates.java:422)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:226)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApp
lyTemplates.java:422)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:226)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2251)
	at
org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:432)
	at
org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:27
9)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApp
lyTemplates.java:422)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:226)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2251)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
710)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2251)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2077)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1179)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3235)
	at java.lang.Thread.run(Thread.java:484)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++ End

This electronic message contains information from Halifax Cetelem Credit Ltd
which may be privileged or confidential. The information is intended to be
for the use of the individual(s) or entity named above. If you are not the
intended recipient be aware that any disclosure, copying, distribution or
use of the contents of this information is prohibited. If you have received
this electronic message in error, please notify us by telephone or email (to
the numbers or address above) immediately.

Mime
View raw message