From: Jeremias Maerki Date: Mon, 30 Jan 2006 08:28:05 +0000 (+0000) Subject: Bugzilla #38434: X-Git-Tag: fop-0_92-beta~162 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a51f3ff12bc23f0a67cedba7d5e53a93e3b53a5b;p=xmlgraphics-fop.git Bugzilla #38434: Restore JDK 1.3.1 compatibility. Submitted by: Jelka Kosir git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373469 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/xml/XMLRenderer.java b/src/java/org/apache/fop/render/xml/XMLRenderer.java index 833f3df8a..1e41defd8 100644 --- a/src/java/org/apache/fop/render/xml/XMLRenderer.java +++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java @@ -705,7 +705,7 @@ public class XMLRenderer extends PrintRenderer { addAttribute("offset", viewport.getOffset()); addAttribute("pos", viewport.getContentPosition()); if (viewport.getClip()) { - addAttribute("clip", Boolean.toString(viewport.getClip())); + addAttribute("clip", "true"); } startElement("viewport", atts); super.renderViewport(viewport);