Bug#570095:

2010-03-01 Thread Mathieu Malaterre
Here is what works for me. I'll submit it also upstream. -- Mathieu Index: src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java === --- src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java (r

Bug#570095: Patch for fop bug

2010-02-25 Thread Mathieu Malaterre
On Thu, Feb 25, 2010 at 5:13 PM, Vincent Fourmond wrote: > Mathieu Malaterre wrote: >> On Thu, Feb 18, 2010 at 10:38 PM, Vincent Fourmond >> wrote: >>>  Mathieu, I've just uploaded a package with a fix to experimental. >>> Would you mind trying if that works for you, before I upload to unstable

Bug#570095: Patch for fop bug

2010-02-25 Thread Vincent Fourmond
Mathieu Malaterre wrote: > On Thu, Feb 18, 2010 at 10:38 PM, Vincent Fourmond wrote: >> Mathieu, I've just uploaded a package with a fix to experimental. >> Would you mind trying if that works for you, before I upload to unstable >> ? (just being my usual paranoid ;-)...) > > I have tried a coup

Bug#570095: Patch for fop bug

2010-02-25 Thread Mathieu Malaterre
On Thu, Feb 18, 2010 at 10:38 PM, Vincent Fourmond wrote: >  Mathieu, I've just uploaded a package with a fix to experimental. > Would you mind trying if that works for you, before I upload to unstable > ? (just being my usual paranoid ;-)...) I have tried a couple of things. I just do not unders

Bug#570095: Patch for fop bug

2010-02-18 Thread Vincent Fourmond
brian m. carlson wrote: > I *believe* that normally fop omits empty fo:inline elements. However, > in this case, fop can't do that, since the element in question has an id > attribute, which might be referenced by something else. > > As a consequence, in the failing function, currLM is null, wher

Bug#570095: Patch for fop bug

2010-02-17 Thread brian m. carlson
tags 570095 + patch kthxbye I *believe* that normally fop omits empty fo:inline elements. However, in this case, fop can't do that, since the element in question has an id attribute, which might be referenced by something else. As a consequence, in the failing function, currLM is null, where it

Bug#570095:

2010-02-17 Thread Mathieu Malaterre
On Wed, Feb 17, 2010 at 9:23 PM, Vincent Fourmond wrote: > Mathieu Malaterre wrote: >> severity 570095  grave >> thanks >> >> fop 0.95 cannot generate a pdf when input document contains a >> element. This has been fixed since then (fop 0.95 was >> release in July 2008). I would be nice if a versi

Bug#570095: fop error on empty inlines with id

2010-02-17 Thread brian m. carlson
I've taken a look at this and found that the problem is an empty fo:inline element with an id attribute. In the DocBook 5 example, substituting the anchor element with a phrase element (keeping the element empty) causes the same problem, since the DocBook XSL-NS stylesheets translate this to the s

Bug#570095:

2010-02-17 Thread Vincent Fourmond
Mathieu Malaterre wrote: > severity 570095 grave > thanks > > fop 0.95 cannot generate a pdf when input document contains a > element. This has been fixed since then (fop 0.95 was > release in July 2008). I would be nice if a version from trunk was > available. I'm ready to package a new vers

Bug#570095:

2010-02-17 Thread Mathieu Malaterre
severity 570095 grave thanks fop 0.95 cannot generate a pdf when input document contains a element. This has been fixed since then (fop 0.95 was release in July 2008). I would be nice if a version from trunk was available. Thanks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.de

Bug#570095: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
Hi Georg, Thanks a bunch for the info. I'll raise the issue on the debian package itself. fop is pretty much useless if one cannot even use a simple element ! Just for info I did compare trunk to fop 0.95 using diff -u: $ diff -x .svn -ru fop-0_95 trunk | wc 149462 621452 5984407 There h

Bug#570095: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
This is the latest from debian: # apt-cache policy fop fop: Installed: 1:0.95.dfsg-7 Candidate: 1:0.95.dfsg-7 Version table: *** 1:0.95.dfsg-7 0 500 http://ftp.fr.debian.org sid/main Packages 100 /var/lib/dpkg/status So I am guessing this is an official release. I'd like

Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
On Wed, Feb 17, 2010 at 12:51 AM, Daniel Leidert wrote: > Am Dienstag, den 16.02.2010, 14:21 +0100 schrieb Mathieu Malaterre: > > [..] >> [warning] /usr/bin/fop: Unable to locate xml-apis in /usr/share/java >                                           > > Missing (a dependency on) libjaxp1

Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Daniel Leidert
Am Dienstag, den 16.02.2010, 14:21 +0100 schrieb Mathieu Malaterre: [..] > [warning] /usr/bin/fop: Unable to locate xml-apis in /usr/share/java Missing (a dependency on) libjaxp1.3-java? Regards, Daniel -- To UNSUBSCRIBE, email to debian-b

Bug#570095: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Mathieu Malaterre
If this helps, I converted it to docbook 5 with the same result: $ cat test5.xml http://docbook.org/ns/docbook"; version="5.0"> title The anchor element is empty and contributes nothing to the flow of the content in which it occurs. It is only useful as a target. $ fop -xsl /usr/shar

Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Mathieu Malaterre
I can reproduce it also in my sid chroot system: # xmlto pdf test.xml Making portrait pages on a4 paper (210mmx297mm) PassiveTeX is needed for this format, but it is not installed. Please install the passivetex package. gotlib# xmlto --with-fop pdf test.xml Making portrait pages on a4 paper (210m

Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Mathieu Malaterre
Package: fop Version: 1:0.95.dfsg-7 Severity: important fop currently segfault on a very simple docbook file: consider the following test.xml file: http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; []> title Now run: $ xsltproc --stringparam fop1.extensions 1 --stringpa