SVG1.2 and flowRoot in PDF

2008-11-21 Thread Sebastien
Hi, I would like to use the flowing text abilities of SVG1.2 with FOP but i can't get FOP to switch to SVG1.2 mode and i get this error: GRAVE: Exception org.w3c.dom.DOMException: The current document is unable to create an element of the requested type (namespace: http://www.w3.org/2000/svg,

Re: SVG1.2 and flowRoot in PDF

2008-11-21 Thread Jeremias Maerki
I forgot: you also need to enclose the flowPara with a flowDiv element. I believe the example in the SVG 1.2 working draft is actually wrong (it doesn't conform to the schema given further above in the document). On 21.11.2008 16:16:30 Jeremias Maerki wrote: I have a pretty good idea why it

Re: SVG1.2 and flowRoot in PDF

2008-11-21 Thread Sebastien
On Fri, Nov 21, 2008 at 4:16 PM, Jeremias Maerki [EMAIL PROTECTED]wrote: I have a pretty good idea why it doesn't work. For i-f-o the basic SVG 1.1 DOMImplementation is currently hard-coded but it actually needs to be selected based on the version attribute like for the e-g variant. I'm

Re: SVG1.2 and flowRoot in PDF

2008-11-21 Thread Sebastien
On Fri, Nov 21, 2008 at 4:37 PM, Jeremias Maerki [EMAIL PROTECTED]wrote: I forgot: you also need to enclose the flowPara with a flowDiv element. I believe the example in the SVG 1.2 working draft is actually wrong (it doesn't conform to the schema given further above in the document). Yes,

Re: SVG1.2 and flowRoot in PDF

2008-11-21 Thread Jeremias Maerki
Ok, you can now use SVG 1.2 in FOP Trunk: http://svn.apache.org/viewvc?rev=719616view=rev On 21.11.2008 16:43:27 Sebastien wrote: On Fri, Nov 21, 2008 at 4:37 PM, Jeremias Maerki [EMAIL PROTECTED]wrote: I forgot: you also need to enclose the flowPara with a flowDiv element. I believe the

Re: SVG1.2 and flowRoot in PDF

2008-11-21 Thread Jeremias Maerki
Actually, it doesn't seem to work in all cases. I have to revise my fix. My current solution causes a ClastCastException inside Batik. On 21.11.2008 17:10:29 Jeremias Maerki wrote: Ok, you can now use SVG 1.2 in FOP Trunk: http://svn.apache.org/viewvc?rev=719616view=rev On 21.11.2008

Re: SVG1.2 and flowRoot in PDF

2008-11-21 Thread Jeremias Maerki
Found a solution that works: http://svn.apache.org/viewvc?rev=719646view=rev On 21.11.2008 17:47:22 Jeremias Maerki wrote: Actually, it doesn't seem to work in all cases. I have to revise my fix. My current solution causes a ClastCastException inside Batik. On 21.11.2008 17:10:29 Jeremias

Re: SVG1.2 and flowRoot in PDF

2008-11-21 Thread Sebastien
It works just the way i want, you rock ! Thanks a lot, again ;) P.S: visibility=hidden does the trick indeed On Fri, Nov 21, 2008 at 6:26 PM, Jeremias Maerki [EMAIL PROTECTED]wrote: Found a solution that works: http://svn.apache.org/viewvc?rev=719646view=rev On 21.11.2008 17:47:22 Jeremias