You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Uluç Atılgan <ua...@hititcs.com> on 2002/09/04 16:39:09 UTC
[HELP]Language Exception
Very simple but does not work
logicsheet :
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsp="http://apache.org/xsp"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:qwiz="http://apache.org/query/arcwiz/2.0"
version="1.0">
<xsl:template match="xsp:page">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="qwiz:tit">
<xsp:logic>
String msg = "titletext";
</xsp:logic>
<xsp:expr>msg</xsp:expr>
</xsl:template>
</xsl:stylesheet>
xsp :
<?xml version="1.0" encoding="UTF-8"?>
<xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:qwiz="http://apache.org/query/arcwiz/2.0"
>
<xsp:logicsheet location="arcwiz/logicsheet/dene.xsl"/>
<root>
<title>
<qwiz:tit/>
</title>
</root>
</xsp:page>
Error
Description:org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling dene_xsp:Line 3, column 12: illegal start of identifierLine 45, column 18: <identifier> expectedLine 0, column 0: 2 errors
brgs