cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Taffelt" <>
Subject Bug in cinclude transformer
Date Mon, 15 Apr 2002 09:29:13 GMT
Hello list,

i think i found a bug using cincludetransformer and subsitemap's.

suppose the following scenario:
- cocoon 2.0.2 release out of the box
- a simple sitemap is added under "mount/play" with the following match:

<!-- sample match from subsitemap-->
<map:match pattern="test">
  <map:generate src="test.xml"/>
  <map:transform type="cinclude"/>
  <map:serialize type="xml"/>

<!-- the file "test.xml" -->
<?xml version="1.0" encoding="iso-8859-1"?>
  <root xmlns:cinclude="">
     <cinclude:include src="cocoon://" element="included"/>

The error occurs when test, from the subsitemap, is requested. Cocoon
the Root-Sitemap but doesn't find the "/welcome" match inside the

You can also force this errror when CIncludeTransformer from SubSitemapA
point's to
an cocoon:// URL which is served from a parallel SubSitemapB.

mountpoint +
                  - subcontentA +
                  - subcontentB +

The problem also is in Cocoon 2.0.1 present.

Frank Taffelt

To unsubscribe, e-mail:
For additional commands, email:

View raw message