Преглед изворни кода

Merge from Branch fop-0_91:

Relaxed validation for empty static-content for compatibility with 0.20.5.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358884 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_92-beta
Jeremias Maerki пре 18 година
родитељ
комит
524072a37e
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      src/java/org/apache/fop/fo/pagination/StaticContent.java

+ 2
- 2
src/java/org/apache/fop/fo/pagination/StaticContent.java Прегледај датотеку

/* /*
* Copyright 1999-2004 The Apache Software Foundation.
* Copyright 1999-2005 The Apache Software Foundation.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* @see org.apache.fop.fo.FONode#endOfNode * @see org.apache.fop.fo.FONode#endOfNode
*/ */
protected void endOfNode() throws FOPException { protected void endOfNode() throws FOPException {
if (childNodes == null) {
if (childNodes == null && getUserAgent().validateStrictly()) {
missingChildElementError("(%block;)+"); missingChildElementError("(%block;)+");
} }
getFOEventHandler().endFlow(this); getFOEventHandler().endFlow(this);

Loading…
Откажи
Сачувај