From a51f3ff12bc23f0a67cedba7d5e53a93e3b53a5b Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 30 Jan 2006 08:28:05 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/render/xml/XMLRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5