diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2011-03-26 23:08:43 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2011-03-26 23:08:43 +0000 |
commit | 8c443ea8862b9a8258829f9c80790151d06fd2b0 (patch) | |
tree | 95440ae8646a327d1d64aff5a497f69c049f77c9 /test | |
parent | 767b2ba1cc657aa1f974836f6e5f1d5d9558fd18 (diff) | |
download | xmlgraphics-fop-8c443ea8862b9a8258829f9c80790151d06fd2b0.tar.gz xmlgraphics-fop-8c443ea8862b9a8258829f9c80790151d06fd2b0.zip |
Fixed regression introduced by Bugzilla 50593: bookmarks pointing to a non-existing internal destination should just trigger a warning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085824 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/layoutengine/standard-testcases/bookmarks_1.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/layoutengine/standard-testcases/bookmarks_1.xml b/test/layoutengine/standard-testcases/bookmarks_1.xml index b4aa0990d..b22bf79b3 100644 --- a/test/layoutengine/standard-testcases/bookmarks_1.xml +++ b/test/layoutengine/standard-testcases/bookmarks_1.xml @@ -42,6 +42,12 @@ <fo:bookmark internal-destination="chapter2-sec2"> <fo:bookmark-title>Section 2</fo:bookmark-title> </fo:bookmark> + <!-- add a reference to a non-existing id; should only trigger a warning + see Bugzilla 50593 + --> + <fo:bookmark internal-destination="chapterX-secX"> + <fo:bookmark-title>Section X</fo:bookmark-title> + </fo:bookmark> </fo:bookmark> <fo:bookmark internal-destination="bc"> <fo:bookmark-title>Fixed Block Container</fo:bookmark-title> |