cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5772] New: - LinkSerializer altering link reference in command-line mode
Date Wed, 09 Jan 2002 22:13:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5772>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5772

LinkSerializer altering link reference in command-line mode

           Summary: LinkSerializer altering link reference in command-line
                    mode
           Product: Cocoon 2
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: bloritsch@apache.org


When generating the Avalon Documentation we have a page that when processed as a
result of the LinkSerializer the URI is not passed through as is.

In the Developing With Avalon documentation, we have an entry like this:

  <menu label="Printer Friendly">
    <menu-item label="As a PDF" href="../developing-with-avalon.pdf"/>
  </menu>

The relative href is translated correctly by the LinkSampler when it is passed
to the CommandLineEnvironment.  However, when the page is rendered, the
resulting link is like this:

<li>
<a href="with-avalon.pdf"><font size="-1">As a PDF</font></a>
</li>


As you can see the link referred to should have been passed through without
alteration (as is the case with most link samples).  It is abused and the
link that should be "../developing-with-avalon.pdf" is changed to
"with-avalon.pdf".

This does not happen when the pages URIs are passed in at the command line.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message