You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2005/05/22 04:35:55 UTC

[JIRA] Commented: (FOR-95) indirect linking and anchors

The following comment has been added to this issue:

     Author: David Crossley
    Created: Sat, 21 May 2005 9:35 PM
       Body:
The Cocoon LinkRewriter Transformer block needs enhancement.
http://forrest.apache.org/0.7/docs/sitemap-ref.html#linkrewriting_impl

The workaround is to add an entry like this to site.xml to explicitly declare the fragments ...

<upgrading_07 label="Upgrading to 0.7" href="upgrading_07.html">
  <raw href="#raw"/>
</upgrading_07>

and then refer to those as site:upgrading_07 and site:upgrading_07/raw
---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-95?page=comments#action_12415

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-95

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-95
    Summary: indirect linking and anchors
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: Forrest
 Components: 
             Core operations
   Fix Fors:
             0.8
   Versions:
             0.6

   Assignee: 
   Reporter: Richard Cao

    Created: Thu, 11 Dec 2003 5:43 PM
    Updated: Sat, 21 May 2005 9:35 PM

Description:
I would be nice if Forrest supported anchors with indirect linking. That is, something like this: <link href="site:somepage#someanchor">. (or something similar, like <link href="site:somepage" anchor="someanchor">)

If somepage pointed to somepage.html, then the resultant link would be somepage.html#someanchor.

Using the above link currently fails with an "invalid xpath" error since "somepage#someanchor" is not a valid qname.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira