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-733) wholesite.pdf does not work with the locationmap
Date Mon, 21 Jan 2008 19:54:40 GMT

    [ https://issues.apache.org/jira/browse/FOR-733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561109#action_12561109
] 

Thorsten Scherler commented on FOR-733:
---------------------------------------

I just had a real quick look and found one problem in the core sitemap:

<map:match pattern="**body-*.html">
        <map:generate src="cocoon:/{1}{2}.xml"/>
        <map:transform type="idgen"/>
        <map:transform type="xinclude"/>
        <map:serialize type="xml" />
        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>
        <map:transform src="{lm:transform.html.broken-links}" />
        
        <map:call resource="skinit">
          <map:parameter name="type" value="transform.xdoc.html"/>
          <map:parameter name="path" value="{1}{2}.html"/>
          <map:parameter name="notoc" value="false"/>
        </map:call>
      </map:match>

Will work but as soon you are doing 
<map:match pattern="**body-*.html">
        <map:generate src="cocoon:/{1}{2}.xml"/>
        <map:transform type="idgen"/>
        <map:transform type="xinclude"/>
        <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>
        <map:serialize type="xml" />
        
        <map:transform src="{lm:transform.html.broken-links}" />
        
        <map:call resource="skinit">
          <map:parameter name="type" value="transform.xdoc.html"/>
          <map:parameter name="path" value="{1}{2}.html"/>
          <map:parameter name="notoc" value="false"/>
        </map:call>
      </map:match>

will fail.

Meaning something wrong with 
<map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>


When I reviewed the include I was surprised to find the linkmap in the aggregation.

> wholesite.pdf does not work with the locationmap
> ------------------------------------------------
>
>                 Key: FOR-733
>                 URL: https://issues.apache.org/jira/browse/FOR-733
>             Project: Forrest
>          Issue Type: Bug
>          Components: Locationmap
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: Ross Gardler
>         Attachments: locationmap.log
>
>
> Whilst there a number of isues with wholesite the one described by Greg Yenchi appear
to be related to the locationmap.
> http://www.mail-archive.com/dev@forrest.apache.org/msg06175.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message