diff options
author | Simon Steiner <ssteiner@apache.org> | 2020-05-05 07:43:58 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2020-05-05 07:43:58 +0000 |
commit | ccd1b149a719ce315ffe885fc153fce25d139fd5 (patch) | |
tree | 733f145f2c251099d379605df0086f86a1a151a6 /fop | |
parent | 29748b9e73f31c07a2e1eb7ff8771148371aa5a0 (diff) | |
download | xmlgraphics-fop-ccd1b149a719ce315ffe885fc153fce25d139fd5.tar.gz xmlgraphics-fop-ccd1b149a719ce315ffe885fc153fce25d139fd5.zip |
Test 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@1877370 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop')
-rw-r--r-- | fop/test/events/bookmarks.fo | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/fop/test/events/bookmarks.fo b/fop/test/events/bookmarks.fo new file mode 100644 index 000000000..568ea356e --- /dev/null +++ b/fop/test/events/bookmarks.fo @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <fo:layout-master-set> + <fo:simple-page-master page-width="8.5in" page-height="11in" master-name="Page"> + <fo:region-body region-name="Body"/> + </fo:simple-page-master> + <fo:page-sequence-master master-name="PageSequence"> + <fo:repeatable-page-master-reference master-reference="Page"/> + </fo:page-sequence-master> + </fo:layout-master-set> + <fo:bookmark-tree> + <fo:bookmark internal-destination="B1"> + <fo:bookmark-title>w</fo:bookmark-title> + </fo:bookmark> + </fo:bookmark-tree> + <fo:page-sequence format="1" id="TH_LastPage" initial-page-number="auto" force-page-count="auto" master-reference="PageSequence"> + <fo:flow flow-name="Body"> + <fo:block>a</fo:block> + </fo:flow> + </fo:page-sequence> +</fo:root>
\ No newline at end of file |