]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Removed the check for borders specified on table-column/body/row in separate border...
authorVincent Hennebert <vhennebert@apache.org>
Thu, 25 Oct 2007 16:26:41 +0000 (16:26 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Thu, 25 Oct 2007 16:26:41 +0000 (16:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588275 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/flow/TableFObj.java

index 58fbcb447195fb5b2757a0bf145afdeecbab075a..d1490a5780f85a6271aa308a5f0edf957c49ea5b 100644 (file)
@@ -84,15 +84,6 @@ public abstract class TableFObj extends FObj {
         borderBeforePrecedence = pList.get(PR_BORDER_BEFORE_PRECEDENCE).getNumeric();
         borderEndPrecedence = pList.get(PR_BORDER_END_PRECEDENCE).getNumeric();
         borderStartPrecedence = pList.get(PR_BORDER_START_PRECEDENCE).getNumeric();
-        //Complain if table has separate border-model and fo is not a table or cell
-        //see: Rec 6.7.4, 6.7.6 - 6.7.9
-        if (getNameId() != FO_TABLE && getNameId() != FO_TABLE_CELL
-                && getTable().isSeparateBorderModel()
-                && getCommonBorderPaddingBackground().hasBorderInfo()) {
-            attributeWarning("In the separate border model (border-collapse=\"separate\")"
-                    + ", borders are not applicable to " + getName() 
-                    + ", but a non-zero value for border was found.");
-        }
         if (getNameId() != FO_TABLE //Separate check for fo:table in Table.java
                 && getNameId() != FO_TABLE_CELL
                 && getCommonBorderPaddingBackground().hasPadding(