You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by René Bouw <r....@devote.nl> on 2002/04/08 17:16:54 UTC

lost logicsheet feature (bug? + 'fix')

Hi,

I think I found a bug (and 'fixed' it), introduced in 2.0.2: I now cannot use a root element in an xsp-page other than xsp:page. Until 2.0.1 I could use 
<suncat:page>
  <suncat:content>
 ...
  </suncat:content>
</suncat:page>

which was transformed by our logicsheet to 

<xsp:page>
  <page>
    <request, session etc >
    <content>
         content of the sun:content
    </content>
  </page>
</xsp:page>

which was then processed by the xsp logicsheet.

I found that the new CocoonMarkupLanguage.java has an extra check on line 258. I 'fixed' the problem by removing the check. The check is probably usefull, but maybe it should only be done in case of the sitemap language?

Rene Bouw