aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/Root.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/Root.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/Root.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Root.java b/src/java/org/apache/fop/fo/pagination/Root.java
index 1e3dec03b..de8aa6310 100644
--- a/src/java/org/apache/fop/fo/pagination/Root.java
+++ b/src/java/org/apache/fop/fo/pagination/Root.java
@@ -104,7 +104,7 @@ public class Root extends FObj {
} else if (declarations != null) {
tooManyNodesError(loc, "fo:declarations");
} else if (bookmarks != null) {
- nodesOutOfOrderError(loc, "fo:declarations", "fox:outline");
+ nodesOutOfOrderError(loc, "fo:declarations", "fox:bookmark");
} else if (pageSequenceFound) {
nodesOutOfOrderError(loc, "fo:declarations", "fo:page-sequence");
}
@@ -118,14 +118,14 @@ public class Root extends FObj {
invalidChildError(loc, nsURI, localName);
}
} else if (nsURI.equals(ExtensionElementMapping.URI)) {
- if (!localName.equals("outline")) {
+ if (!localName.equals("bookmark")) {
invalidChildError(loc, nsURI, localName);
} else if (layoutMasterSet == null) {
- nodesOutOfOrderError(loc, "fo:layout-master-set", "fox:outline");
+ nodesOutOfOrderError(loc, "fo:layout-master-set", "fox:bookmark");
} else if (bookmarks != null) {
- tooManyNodesError(loc, "fox:outline");
+ tooManyNodesError(loc, "fox:bookmark");
} else if (pageSequenceFound) {
- nodesOutOfOrderError(loc, "fox:outline", "fo:page-sequence");
+ nodesOutOfOrderError(loc, "fox:bookmark", "fo:page-sequence");
}
} else {
invalidChildError(loc, nsURI, localName);