diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-08-10 19:18:22 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-08-10 19:18:22 +0000 |
commit | db8d836b232c94a5d2c5cff5f29a448256689285 (patch) | |
tree | 95269c543687e42322c90f57edeed1b830259f79 /test/layoutengine | |
parent | 2b58695ebbcb6dfadc4eb665b0e3eec2e9ce302a (diff) | |
download | xmlgraphics-fop-db8d836b232c94a5d2c5cff5f29a448256689285.tar.gz xmlgraphics-fop-db8d836b232c94a5d2c5cff5f29a448256689285.zip |
Merge from 0_95 branch:
Fixed ID resolution for nested bookmarks with duplicated IDs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@684575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine')
-rw-r--r-- | test/layoutengine/standard-testcases/bookmarks_2.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/layoutengine/standard-testcases/bookmarks_2.xml b/test/layoutengine/standard-testcases/bookmarks_2.xml index b66b27bcf..90a801412 100644 --- a/test/layoutengine/standard-testcases/bookmarks_2.xml +++ b/test/layoutengine/standard-testcases/bookmarks_2.xml @@ -34,10 +34,16 @@ <fo:bookmark-tree> <fo:bookmark internal-destination="chapter1"> <fo:bookmark-title>Chapter 1</fo:bookmark-title> + <fo:bookmark internal-destination="chapter1"> + <fo:bookmark-title>Nested Chapter 1</fo:bookmark-title> + </fo:bookmark> </fo:bookmark> <fo:bookmark internal-destination="chapter1" starting-state="hide"> <fo:bookmark-title>Again Chapter 1</fo:bookmark-title> </fo:bookmark> + <fo:bookmark internal-destination="chapter2"> + <fo:bookmark-title>Chapter 2</fo:bookmark-title> + </fo:bookmark> </fo:bookmark-tree> <fo:page-sequence id="page-sequence" master-reference="normal"> <fo:flow flow-name="xsl-region-body"> @@ -58,10 +64,13 @@ <eval expected="Chapter 1" xpath="//bookmarkTree/bookmark[1]/@title"/> <eval expected="true" xpath="//bookmarkTree/bookmark[1]/@show-children"/> + <eval expected="Nested Chapter 1" xpath="//bookmarkTree/bookmark[1]/bookmark[1]/@title"/> + <eval expected="true" xpath="//bookmarkTree/bookmark[1]/bookmark[1]/@show-children"/> <eval expected="Again Chapter 1" xpath="//bookmarkTree/bookmark[2]/@title"/> <eval expected="false" xpath="//bookmarkTree/bookmark[2]/@show-children"/> <eval expected="(P1,chapter1)" xpath="//bookmarkTree/bookmark[1]/@internal-link"/> + <eval expected="(P1,chapter1)" xpath="//bookmarkTree/bookmark[1]/bookmark[1]/@internal-link"/> <eval expected="(P1,chapter1)" xpath="//bookmarkTree/bookmark[2]/@internal-link"/> </checks> |