From: Andreas L. Delmelle Date: Thu, 16 Feb 2006 09:11:43 +0000 (+0000) Subject: Trivial update: X-Git-Tag: fop-0_92-beta~122 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f740e614aeefd7c895163e426d32440f41ec498;p=xmlgraphics-fop.git Trivial update: Change the wording of a few attributeWarnings -- properties aren't ignored (possible inheritance, property value function calls...) see: http://marc.theaimsgroup.com/?l=fop-dev&m=114001378911300&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378206 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/flow/TableFObj.java b/src/java/org/apache/fop/fo/flow/TableFObj.java index 560b008cb..729d5a5c2 100644 --- a/src/java/org/apache/fop/fo/flow/TableFObj.java +++ b/src/java/org/apache/fop/fo/flow/TableFObj.java @@ -1,5 +1,5 @@ /* - * Copyright 2005 The Apache Software Foundation. + * Copyright 2005-2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,16 +82,15 @@ public abstract class TableFObj extends FObj { && getTable().isSeparateBorderModel() && getCommonBorderPaddingBackground().hasBorderInfo()) { attributeWarning("In the separate border model (border-collapse=\"separate\")" - + ", borders cannot be specified on a " + getName() - + ", but a non-zero value for border was found. The border will be ignored. "); + + ", 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( ValidationPercentBaseContext.getPseudoContextForValidationPurposes())) { - attributeWarning(getName() + " does not have padding" - + " (see the property list for " + getName() + " in XSL 1.0)" - + ", but a non-zero value for padding was found. The padding will be ignored."); + attributeWarning("padding-* properties are not applicable to " + getName() + + ", but a non-zero value for padding was found."); } }