huber 2003/01/17 09:23:08 Modified: src/blocks/batik/java/org/apache/cocoon/xml/dom SVGBuilder.java Log: fix namespace, tie svg to SVG namespace http://www.w3.org/2000/svg Revision Changes Path 1.4 +5 -1 xml-cocoon2/src/blocks/batik/java/org/apache/cocoon/xml/dom/SVGBuilder.java Index: SVGBuilder.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/blocks/batik/java/org/apache/cocoon/xml/dom/SVGBuilder.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SVGBuilder.java 7 Jan 2003 23:56:08 -0000 1.3 +++ SVGBuilder.java 17 Jan 2003 17:23:08 -0000 1.4 @@ -111,6 +111,10 @@ String namespaceURI = SVGDOMImplementation.SVG_NAMESPACE_URI; this.document = implementation.createDocument(namespaceURI, "svg", null); super.startDocument(); + // add svg, and SVG_NAMESPACE to SAXDocumentFactory namespace handling + // this is a fix only ties svg to svg namespace uri + // it is not as general as tieing any prefix to svg namespace uri + namespaces.put("svg", SVGDOMImplementation.SVG_NAMESPACE_URI); } catch (Exception ex){ log.error("SVGBuilder: startDocument", ex); ex.printStackTrace();
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]