You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/01/09 23:13:08 UTC

DO NOT REPLY [Bug 5772] New: - LinkSerializer altering link reference in command-line mode

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