You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ad...@apache.org on 2005/11/02 19:34:01 UTC
svn commit: r330307 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableCell.java
Author: adelmelle
Date: Wed Nov 2 10:33:57 2005
New Revision: 330307
URL: http://svn.apache.org/viewcvs?rev=330307&view=rev
Log:
Added warning message (Bugzilla 37329)
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableCell.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableCell.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableCell.java?rev=330307&r1=330306&r2=330307&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableCell.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/TableCell.java Wed Nov 2 10:33:57 2005
@@ -168,8 +168,13 @@
* @see org.apache.fop.fo.FONode#endOfNode
*/
protected void endOfNode() throws FOPException {
- if (!blockItemFound && getUserAgent().validateStrictly()) {
- missingChildElementError("marker* (%block;)+");
+ if (!blockItemFound) {
+ if (getUserAgent().validateStrictly()) {
+ missingChildElementError("marker* (%block;)+");
+ } else if (childNodes.size() > 0) {
+ getLogger().warn("fo:table-cell content that is not enclosed by a "
+ + "fo:block will be dropped/ignored.");
+ }
}
if ((startsRow() || endsRow())
&& getParent().getNameId() == FO_TABLE_ROW ) {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org