]> source.dussan.org Git - xmlgraphics-fop.git/commit
Fixed possible ClassCastException that was caused by my earlier attempt to support...
authorJeremias Maerki <jeremias@apache.org>
Fri, 21 Nov 2008 17:24:32 +0000 (17:24 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 21 Nov 2008 17:24:32 +0000 (17:24 +0000)
commit2f8e166bfd7e1e958b94a4fa590a51dc80915b86
treea12b5478fe9f320e5cb0ee337af70b8980739fb6
parent252a61b0a4fb8f5356c183df29df71d7f9e1bf4d
Fixed possible ClassCastException that was caused by my earlier attempt to support SVG 1.2. Batik's SAXSVGDocumentFactory doesn't currently deal well with the case when namespaces are declared outside of its scope. Worked around that by doing the SVG version detection in FOP code. SVG12DOMImplementation is obtained by reflection in order to keep backwards compatilibility with earlier Batik versions that don't support SVG 1.2.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@719646 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/fo/extensions/svg/SVGDOMContentHandlerFactory.java
src/java/org/apache/fop/fo/extensions/svg/SVGElement.java