diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2008-04-25 11:27:19 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2008-04-25 11:27:19 +0000 |
commit | 6a5f719385be496af9d8fede33a8af0b5e2c7815 (patch) | |
tree | 36381050e97b2220df8597a84790dd552fabf7ca /test | |
parent | c47f87ac1bc127389597c979e1e4a344b3e9fe88 (diff) | |
download | xmlgraphics-fop-6a5f719385be496af9d8fede33a8af0b5e2c7815.tar.gz xmlgraphics-fop-6a5f719385be496af9d8fede33a8af0b5e2c7815.zip |
Bugzilla 44634: Added partial implementation for show-destination.
Only works for PDF output, when the PDF is opened in a standalone viewer, and for links that point to destinations in another PDF document.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/layoutengine/standard-testcases/basic-link_external-destination.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/layoutengine/standard-testcases/basic-link_external-destination.xml b/test/layoutengine/standard-testcases/basic-link_external-destination.xml index 6f7ba77d6..690248d19 100644 --- a/test/layoutengine/standard-testcases/basic-link_external-destination.xml +++ b/test/layoutengine/standard-testcases/basic-link_external-destination.xml @@ -38,7 +38,7 @@ </fo:root> </fo> <checks> - <eval expected="http://xmlgraphics.apache.org/fop/" xpath="//flow/block[1]/lineArea/inlineparent/@external-link"/> - <eval expected="http://xmlgraphics.apache.org/fop/" xpath="//flow/block[2]/lineArea/inlineparent/@external-link"/> + <eval expected="http://xmlgraphics.apache.org/fop/" xpath="substring-before(substring-after(//flow/block[1]/lineArea/inlineparent/@external-link,'dest='),';')"/> + <eval expected="http://xmlgraphics.apache.org/fop/" xpath="substring-before(substring-after(//flow/block[2]/lineArea/inlineparent/@external-link,'dest='),';')"/> </checks> </testcase> |