]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
reverting previous change: 'outline' -> 'bookmark'
authorAndreas L. Delmelle <adelmelle@apache.org>
Sun, 14 Nov 2004 20:08:44 +0000 (20:08 +0000)
committerAndreas L. Delmelle <adelmelle@apache.org>
Sun, 14 Nov 2004 20:08:44 +0000 (20:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198144 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/pagination/Root.java

index 1e3dec03b3ef22d35c874d4f4198a1a79b9935f6..de8aa631021a22d6155e9f22b375032049d9c3f8 100644 (file)
@@ -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);