diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/TableCaption.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/TableCaption.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableCaption.java b/src/java/org/apache/fop/fo/flow/TableCaption.java index 515079ed5..f9c54236d 100644 --- a/src/java/org/apache/fop/fo/flow/TableCaption.java +++ b/src/java/org/apache/fop/fo/flow/TableCaption.java @@ -112,7 +112,7 @@ public class TableCaption extends FObj { */ protected void validateChildNode(Locator loc, String nsURI, String localName) throws ValidationException { - if (nsURI == FO_URI && localName.equals("marker")) { + if (FO_URI.equals(nsURI) && localName.equals("marker")) { if (blockItemFound) { nodesOutOfOrderError(loc, "fo:marker", "(%block;)"); } |