Hi Marcos,

"mlatorre" <[EMAIL PROTECTED]> wrote on 03/28/2006 06:01:11 AM:

> You are right, there's no flowDiv around the flowPara element.

> 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.

   *Sigh* It looks like they made it optional and allowed multiple
copies.  I'm not entirely sure what the intent is there as far as 
Block layout is concerned (they talk briefly about being 'offset'
but I'm not sure if that is just talking about the collapsing boarder
model or not).

   Anyway, with the current Mobile drafts they have (quite unfortunately)
gone an entirely different (less capable) way so I don't plan to put any 
effort into 'fixing' this since aligning with the draft would be almost 
pointless since every indication is that this will change the next time 
the WG gets around to publishing a full SVG spec (if ever).

   I hope it's not too much trouble/work to add a flowDiv around
the content for rendering in Batik.  It might be possible to
modify the Batik source to work around the missing Div as well.

> "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]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to