Re: PrintTranscoder error

2003-11-10 Thread Thomas DeWeese
Ben Ward wrote: Sorry, I didn't explain the code that I put in the previous e-mail: I use treeManager because I insert image in a SVGGraphics2D. For the part of SVG code that I put, this is only a part of the code, and of course it begin with a tag as the root element. Hi Ben, Can you pro

Re: PrintTranscoder error

2003-11-10 Thread Thomas DeWeese
Hi sadsad, sadsad hdsgfh wrote: Thanks for your quit answer, but it still not working. Element gtransf = document.createElement( "g" ); Your g element is not in the SVG namespace. All SVG Elements must be created in the SVG namespace. treeManager.appendGroup(gtransf, null ); What are you d

RE: PrintTranscoder error

2003-11-10 Thread sadsad hdsgfh
Thanks for your quit answer, but it still not working.   String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI; Element img1 = document.createElementNS(svgNS,"image"); img1.setAttributeNS(xlinkNS, "xlink:href", uri[statut-1]); img1.setAttributeNS(null, "x", "0"); img1.setAttributeNS(null, "y", "0"

Re: PrintTranscoder error

2003-11-07 Thread Thomas DeWeese
sadsad hdsgfh wrote: I got the following error : java.lang.NullPointerException at org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown Source) This indicates that there is a bug in the SVG Content (currently CVS doesn't have this NPE and properly displays the line number of the SVG