//Note: This is done here as having two service lookup files in the same IDE project
//will end up with one overwriting the other when all sources are compiled in to the
//same target directory. Remove this code and add an entry in the XMLHandler resource
//file when this renderer exits the sandbox.
XMLHandler handler = agent.getXMLHandlerRegistry().getXMLHandler(this, SVG_NAMESPACE);
if (handler == null) {
agent.getXMLHandlerRegistry().addXMLHandler("org.apache.fop.render.svg.SVGSVGHandler");
}
}