aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-04-25 13:12:30 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-04-25 13:12:30 +0000
commit7a70e99012aece4d8c53121d11b454b43e432994 (patch)
treeac6599271ede68ae0848815176fc1b949c6c84f8 /test
parent25a8131ea662070fddd811a77c9de352dea3b050 (diff)
downloadxmlgraphics-fop-7a70e99012aece4d8c53121d11b454b43e432994.tar.gz
xmlgraphics-fop-7a70e99012aece4d8c53121d11b454b43e432994.zip
Merged revisions 651575 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk ........ r651575 | adelmelle | 2008-04-25 12:27:19 +0100 (Fri, 25 Apr 2008) | 3 lines 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/branches/Temp_AFPGOCAResources@651599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/layoutengine/standard-testcases/basic-link_external-destination.xml4
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>