cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Brown" <si...@simonbrown.net>
Subject Problem with offline generation and included templates
Date Wed, 21 Jun 2006 13:42:55 GMT
Hi,

I have a site that is working fine using Cocoon in online mode but when I
try to generate an offline version of the site I get a number of errors like
this:

[cocoon] [Error] L130_thema_previous_next.xsl:8:122: Element type
"xsl:stylesheet" must be declared.
[cocoon] [Error] L130_thema_previous_next.xsl:9:193: Element type
"xsl:output" must be declared.
[cocoon] [Error] L130_thema_previous_next.xsl:11:42: Element type
"xsl:template" must be declared.
[cocoon] [Error] L130_thema_previous_next.xsl:13:29: Element type "div" must
be declared.
[cocoon] [Error] L130_thema_previous_next.xsl:15:11: Element type "ul" must
be declared.
[cocoon] [Error] L130_thema_previous_next.xsl:17:35: Element type "xsl:if"
must be declared.
[cocoon] [Error] L130_thema_previous_next.xsl:18:13: Element type "li" must
be declared.

The stylesheet L130_thema_previous_next.xsl is being included in another
top-level stylesheet. I get these errors for every included stylesheet. The
top level stylesheet contains lines like this:

<!-- Include templates -->
<xsl:include href="L130_heading.xsl"/>
<xsl:include href="L130_thema_previous_next.xsl"/>
<xsl:include href="L130_top_buttons.xsl"/>

I could generate an offline site without any problems before I started using
included templates.

I'm using: Cocoon 2.1.7, Ant 1.6.5 with a build file, JDK 1.4.2, Windows XP

Thanks in advance
Simon
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 20/06/2006


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


Mime
View raw message