The following comment has been added to this issue:

     Author: Cyriaque Dupoirieux
    Created: Fri, 11 Mar 2005 10:43 AM
       Body:
The sample file works fine with the 0.7-dev.

I think it has been corrected with the FOR-345 patch.
In this patch, I corrected the call of 
org/apache/forrest/util/IdGeneratorTransformer.java in order to call the new 
URLEncoder.encode(id, format) method.

When I use the sample file, I have :
<a href="#Abs%C3%A4tze%2C+Listen%2C+%C3%9Cberschriften">Abs&auml;tze, Listen, 
&Uuml;berschriften</a>
which works correctly, and no more :
<a href="#Abs%E4tze%2C+Listen%2C+%DCberschriften">Abs&auml;tze, Listen, 
&Uuml;berschriften</a>
which does not work...

Can anyone confirm ?
---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-64?page=comments#action_12150

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-64
    Summary: non-ascii chars in html fragment identifiers - 
IdGeneratorTransformer creates empty anchors
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Forrest
 Components: 
             Core operations
   Versions:
             0.6

   Assignee: 
   Reporter: Stephan E. Schlierf

    Created: Mon, 15 Sep 2003 9:39 AM
    Updated: Fri, 11 Mar 2005 10:43 AM
Environment: Linux

Description:
Recently I noticed that some toc-links do not work in a generated html-file.
When I looked at the html-code, the links that don't work are quite funny:

---snip---
<li>
<a xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
href="#Die+Grundstruktur+eines+Dokumentes">Die Grundstruktur eines 
Dokumentes</a>
</li>

<li>
<a xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
href="#Abs%E4tze%2C+Listen%2C+%DCberschriften">Abs&auml;tze, Listen, 
&Uuml;berschriften</a>
</li>

<li>
<a xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
href="#%0A++++++++++++++++++Textformatierung%2C+Hyperlinks%2C+Grafiken%0A++++++++++++++">Textformatierung,
 
Hyperlinks, Grafiken</a>
</li>
---snip---
the first link is okay, the next two links do not work (I swear the xml-code 
is just the same ;-).

I use forrest-0.6dev, krysalis-skin but the links are broken in forrest-skin, 
too.


---------------------------------------------------------------------
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

Reply via email to