diff options
author | Keiron Liddle <keiron@apache.org> | 2001-07-12 13:03:39 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-07-12 13:03:39 +0000 |
commit | c21d7fce7a9130dddc219ded54b1ac2b20d68685 (patch) | |
tree | 85098837a409953825ca67a30d9aeef1d2dbbfd1 /src/org/apache/fop/image | |
parent | 4f7b15971b532f85ab1b9831694d9f055b2e19f9 (diff) | |
download | xmlgraphics-fop-c21d7fce7a9130dddc219ded54b1ac2b20d68685.tar.gz xmlgraphics-fop-c21d7fce7a9130dddc219ded54b1ac2b20d68685.zip |
combined property list setting into element setting
also always get parser class name from one place
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194349 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/image')
-rw-r--r-- | src/org/apache/fop/image/SVGImage.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/apache/fop/image/SVGImage.java b/src/org/apache/fop/image/SVGImage.java index f39ce2430..691d5acbf 100644 --- a/src/org/apache/fop/image/SVGImage.java +++ b/src/org/apache/fop/image/SVGImage.java @@ -11,6 +11,7 @@ import java.net.URL; import org.w3c.dom.svg.SVGDocument; // FOP +import org.apache.fop.apps.Driver; import org.apache.fop.messaging.*; import org.apache.fop.datatypes.ColorSpace; import org.apache.fop.pdf.PDFColor; @@ -44,10 +45,7 @@ public class SVGImage extends AbstractFopImage { * @return the created SAX parser */ public static String getParserName() { - String parserClassName = System.getProperty("org.xml.sax.parser"); - if (parserClassName == null) { - parserClassName = "org.apache.xerces.parsers.SAXParser"; - } + String parserClassName = Driver.getParserClassName(); return parserClassName; } |