forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [JIRA] Commented: (FOR-64) non-ascii chars in html fragment identifiers - IdGeneratorTransformer creates empty anchors
Date Tue, 05 Oct 2004 05:57:58 GMT
The following comment has been added to this issue:

     Author: David Crossley
    Created: Tue, 5 Oct 2004 12:57 AM
       Body:
That addresses the third case that was presented earlier in this bug report. I see in src/java/org/apache/cocoon/transformation/IdGeneratorTransformer.java
that it does do string.trim() supposedly to remove that whitespace. I wonder if it needs instead
to do normalize-space() when it selects the "title".

Anyway, i presume that this does not address the other two cases, which were the original
purpose of this Issue.

---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-64?page=comments#action_11604

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

   Assignee: 
   Reporter: Stephan E. Schlierf

    Created: Mon, 15 Sep 2003 9:39 AM
    Updated: Tue, 5 Oct 2004 12:57 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


Mime
View raw message