} 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");
}
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);