cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Taffelt" <frank.taff...@interface-business.de>
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"/>
</map:match>

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

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

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 +
                                         sitemap.xmap
                  - subcontentB +
                                         sitemap.xmap

The problem also is in Cocoon 2.0.1 present.

--
Frank Taffelt









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


Mime
View raw message