Editing SVG Files
SVG (Scalable Vector Graphics) is a platform for two-dimensional graphics. It has two parts: an XML-based file format and a programming API for graphical applications. Some of the key features include support for shapes, text, and embedded raster graphics with many painting styles, scripting through languages such as ECMAScript, and support for animation.
SVG is a vendor-neutral, open standard that has important industry support. Companies such as Adobe, Apple, and IBM have contributed to its W3C specifications. Many documentation frameworks (including DocBook) have support for SVG by defining the graphics directly in the document.
How to Render SVG Images that Use Java Scripting
- Copy the js.jar library from the Batik distribution into the Oxygen XML Developer lib folder.
- Restart the application.
SVG 1.2 Rendering Issues
Oxygen XML Developer uses the Apache Batik open source library to render SVG images and it only has partial support for SVG 1.2. For more information, see http://xmlgraphics.apache.org/batik/dev/svg12.html.
This partial support could lead to some rendering issues in Oxygen XML Developer. For
example, if you are using the Inkscape SVG editor, it is possible for it to
save the SVG as 1.1, while using SVG 1.2 elements (such as <flowRoot>
) inside
it. This means that the image will not be properly rendered inside the application.