cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject ProcessingException
Date Tue, 05 Dec 2000 18:44:33 GMT
I don't see the problem - hope someone can help me out..

I build a minimal taglib with a template like this:

 <xsl:template match="test:something">
   <sometag/>
 </xsl:template>

Works as exspected, works fine. But as soon as I add
attributes like this:

 <xsl:template match="test:something">
   <sometag parm="some"/>
   <sometag><xsl:copy-of select="@*"/></sometag>
   <sometag><xsl:attribute name="parm">some</xsl:attribute></sometag>
 </xsl:template>

..I get a ProcessingException. In (Error creating the resource:
ServerPagesGenerator.java:129)

The following line:
  generator = (Generator)
      programGenerator.load(file, markupLanguage, programmingLanguage,
resolver);

...generates the "org.apache.cocoon.ProcessingException: Error in XPath"
Can someone please give me a hint?
--
Torsten


Mime
View raw message