forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-738) Structurer does not work with "site:" protocol in site.xml
Date Sun, 29 Jan 2006 17:16:01 GMT
    [ http://issues.apache.org/jira/browse/FOR-738?page=comments#action_12364387 ] 

Thorsten Scherler commented on FOR-738:
---------------------------------------

If you comment following contracts everything is working fine:
<forrest:contract name="nav-main" dataURI="cocoon://#{$getRequest}.navigation.xml"/>
<forrest:contract name="nav-main-sub" dataURI="cocoon://#{$getRequest}.navigation.xml"/>
<forrest:contract name="nav-section" dataURI="cocoon://#{$getRequest}.navigation.xml">
  <forrest:property name="toc" max-depth="2"/>
</forrest:contract>

All this contracts have in common that they are using *.navigation.xml.

Requesting http://localhost:8888/index.navigation.xml will lead as well to java.lang.OutOfMemoryError.

The match for this can be found in dataModel.xmap:
<!-- navigation for the current request -->
      <map:match pattern="*.navigation.xml">
        <map:aggregate element="navigation">
          <map:part src="cocoon:/tab-{1}.html" element="tab" />
          <map:part src="cocoon:/menu-{1}.html" element="menu" />
        </map:aggregate>
        <map:serialize />
      </map:match>


> Structurer does not work with "site:" protocol in site.xml
> ----------------------------------------------------------
>
>          Key: FOR-738
>          URL: http://issues.apache.org/jira/browse/FOR-738
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>     Priority: Critical

>
> If site.xml contains a 'site:' protocol link then the docs cannot be generated. I've
narrowed this down to the  linkrewrter which fails with a stack overflow error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message