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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to