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=25467>.
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=25467

basic-link external-destination to http://site/document.pdf broken

           Summary: basic-link external-destination to
                    http://site/document.pdf broken
           Product: Fop
           Version: 0.20.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hello,

FOP works fine ... almost ;-)
I get a strange thing when rendering basic-links to PDF files.

I render all external links using
<xsl:element name="fo:basic-link">
  <xsl:attribute name="color">blue</xsl:attribute>
  <xsl:attribute name="external-destination">
    <xsl:value-of select="$target"/>
  </xsl:attribute>
  <xsl:value-of select="$text"/>
</xsl:element>

Some are ordinary URLs like 
http://www1.etad.com/signon.xml?url=document_detail.xml%3Fser_no%3D30036
they come out fine.
others are
http://www.etad.com/Abstract/2003/12140.pdf
They do not work in Acrobat 5.0
I get a FILE not found error.

If I look in the binary file I see that the first translates in somthing like:
<< /URI (http://www1.etad.com/document_detail.xml?ser_no=
              30036)
/S /URI >>

This works perfectly.
But the second becomes:
<<
/Type /FileSpec
/F (http://www.etad.com/Abstracts/2003/12140.pdf)
>>

And this thing does not work.

I guess this a bug?

I would like to get it translated the same.

Best regards,
Claus

Reply via email to