diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-12-23 08:52:07 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-12-23 08:52:07 +0000 |
commit | 0056ac3d4b4b7a11977f00127cfc1190af795042 (patch) | |
tree | 12244b1a3e0de8ceb7deaae4255cb5928f2aeabf | |
parent | 397868b6f8fc3111a10b70f9ceb881d9121fbd31 (diff) | |
download | xmlgraphics-fop-0056ac3d4b4b7a11977f00127cfc1190af795042.tar.gz xmlgraphics-fop-0056ac3d4b4b7a11977f00127cfc1190af795042.zip |
Relaxed validation for empty static-content for compatibility with 0.20.5.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_91@358773 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/StaticContent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/StaticContent.java b/src/java/org/apache/fop/fo/pagination/StaticContent.java index 5278db92b..73cbaff6f 100644 --- a/src/java/org/apache/fop/fo/pagination/StaticContent.java +++ b/src/java/org/apache/fop/fo/pagination/StaticContent.java @@ -54,7 +54,7 @@ public class StaticContent extends Flow { * @see org.apache.fop.fo.FONode#endOfNode */ protected void endOfNode() throws FOPException { - if (childNodes == null) { + if (childNodes == null && getUserAgent().validateStrictly()) { missingChildElementError("(%block;)+"); } getFOEventHandler().endFlow(this); |