From: "Thomas DeWeese" > > AFAIK, I'm catching all exceptions and none of them are firing and the > > transformed document is generated correctly, minus the blank preview. > > Not all errors are communicated using exceptions. Non-fatal errors are > sent to the Transcoders ErrorHandler. By default it writes these to > System.err - in Tomcat this probably goes to some error log or something...
It looks like all of the Tomcat log files are clean (no errors messages to be found). > Can you provide sample 'transformed' content? Due to NDA's, I cannot, but the file is quite simple. Here is a mock-up of what I'm generating: <?xml version="1.0" encoding="utf-8"?> <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"> <style type="text/css"><![CDATA[ // simple styling data here ]]></style> <script type="text/ecmascript"><![CDATA[ // a bunch of script here that only builds JS data structures ]]></script> <g> <g id="id1"> <path class="pathClass" d="M..."/> <text class="textClass" ...>...</text> </g> <g id="id2"> <path class="pathClass" d="M..."/> <text class="textClass" ...>...</text> </g> </g> <!-- many more paths to follow --> </svg> Really very simple and the result previews in ASV3 (and Squiggle if I save it out to a file and view it). > Also you might try printing/dumping the output of 'toString' on a bunch of > the DOM nodes in this SVGDocument - you should get things like: > batik.dom.svg.SVGOMSVGElement, batik.dom.svg.SVGOMGElement, > batik.dom.svg.SVGOMPathElement, ... if instead you get > batik.dom.GenericElement then you definately have a namespace/config issue. Yep, I'm getting SVGOM* elements. > > Do you by any chance know of an example showing this that I can look at? > Actually the latest version of the transcoders (I think in 1.5 but it > might have happened shortly there after) will do this for you. So you > could look at 'batik.transcoder.SVGAbstractTranscoder.java:206' from > viewCVS. Thanks. I'll have a look. Kevin KevLinDev - http://www.kevlindev.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]