]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #38434:
authorJeremias Maerki <jeremias@apache.org>
Mon, 30 Jan 2006 08:28:05 +0000 (08:28 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 30 Jan 2006 08:28:05 +0000 (08:28 +0000)
Restore JDK 1.3.1 compatibility.
Submitted by: Jelka Kosir <jelka.kosir.at.atol.si>

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

index 833f3df8a07407697fc6bc4e5eebbcc93661bfce..1e41defd885e163588c20c8df3ec0a7a7be30acc 100644 (file)
@@ -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);