You are right, there's no flowDiv around the flowPara element. This is the SVG XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.2" width="210mm" height="297mm" id="svg2216"> <defs id="defs2219" /> <flowRoot id="flowRoot2231" xml:space="preserve"><flowRegion id="flowRegion2233"><rect width="375.23907" height="234.17175" x="118.49654" y="203.13693" id="rect2235" /></flowRegion><flowPara id="flowPara2237">Hello World</flowPara></flowRoot></svg> This was created with Inkscape. Is the flowDiv element mandatory? If so, it looks like Inkscape is saving a wrong SVG file. I checked the SVG 1.2 draft at http://www.w3.org/TR/2004/WD-SVG12-20041027/flow.html And I couldn't find anything about this. Even the example is wrong. Thanks very much. -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: martes, 28 de marzo de 2006 12:40 Para: [email protected] CC: [email protected] Asunto: RE: problem when transcoding a flowroot element Hi Marcos, "mlatorre" <[EMAIL PROTECTED]> wrote on 03/28/2006 04:01:39 AM: > I've downloaded and built the SVN version, and I'm still getting the same > problem: > > java.lang.NullPointerException at > org.apache.batik.bridge.svg12.SVGFlowRootElementBridge.getRegions Well, can you provide a small example that shows the problem? > So it looks the problem is not fixed. I'll try to check the source and try > to find the problem, but I don't know if I'll be able to fix it. Any other > ideas? Is your flowRoot element missing the flowDiv element around the flowPara elements? > -----Mensaje original----- > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Enviado el: viernes, 24 de marzo de 2006 13:42 > Para: [email protected] > CC: [email protected] > Asunto: Re: problem when transcoding a flowroot element > > Hi Marcos, > > "mlatorre" <[EMAIL PROTECTED]> wrote on 03/24/2006 07:19:32 AM: > > > Hi, we're using batik 1.6 in a web application (JSP). Everything worked > fine > > until now. Now, we're trying to render a <flowRoot> element (specified > in > > SVG 1.2 draft). A very simple SVG document example is attached > > (plantillaFlow.svg). > > > But the transcode method fails with an exception: > > > java.lang.NullPointerException > > > org.apache.batik.bridge.svg12.SVGFlowRootElementBridge.getRegions(Unknown > > Source) > > > Why is this happening? Is this a known bug, or is rootFlow not yet > > implemented? > > This looks like a bug in the FlowRoot Implementation that was fixed > recently (r371909). I would suggest getting the SVN version of Batik > and trying that. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
