jeremias 2002/11/11 05:02:38 Modified: src/org/apache/fop/svg Tag: fop-0_20_2-maintain SVGElement.java Log: Also use the new method to retrieve the baseURL Revision Changes Path No revision No revision 1.16.2.3 +5 -5 xml-fop/src/org/apache/fop/svg/SVGElement.java Index: SVGElement.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGElement.java,v retrieving revision 1.16.2.2 retrieving revision 1.16.2.3 diff -u -r1.16.2.2 -r1.16.2.3 --- SVGElement.java 6 Jun 2002 07:57:02 -0000 1.16.2.2 +++ SVGElement.java 11 Nov 2002 13:02:38 -0000 1.16.2.3 @@ -1,6 +1,6 @@ /* * $Id$ - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. + * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. */ @@ -147,9 +147,9 @@ ((SVGOMElement)svgRoot).setSVGContext(dc); try { - String baseDir = Configuration.getStringValue("baseDir"); - if(baseDir != null) { - ((SVGOMDocument)doc).setURLObject(new URL(baseDir)); + URL baseURL = Configuration.getBaseURL(); + if (baseURL != null) { + ((SVGOMDocument)doc).setURLObject(baseURL); } } catch (Exception e) { log.error("Could not set base URL for svg", e);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]