#847190 The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table)

Package:
src:fop
Source:
fop
Submitter:
Mathieu Malaterre
Date:
2018-11-28 10:33:04 UTC
Severity:
wishlist
#847190#5
Date:
2016-12-06 11:44:55 UTC
From:
To:
It would be nice to start integrating up to date patch from the famous
issue #2469 in fop so that Debian user get the feeling that auto table
layout is finally supported in fop:

https://issues.apache.org/jira/browse/FOP-2469

#847190#10
Date:
2018-06-20 04:43:28 UTC
From:
To:
[Mathieu Malaterre]

I had a go at this, using the Debian fop git repository from
<URL: https://salsa.debian.org/java-team/fop.git >.

The patch applied with minimal manual work (two files had changed slightly),
but the code do not build.  This is the build failure:

    [javac] /home/pere/src/debian/fop/src/java/org/apache/fop/servlet/FopServlet.java:99: error: cannot find symbol
    [javac]         transFactory.setAttribute(javax.xml.XMLConstants.ACCESS_EXTERNAL_DTD, "");
    [javac]                                                         ^
    [javac]   symbol:   variable ACCESS_EXTERNAL_DTD
    [javac]   location: class XMLConstants
    [javac] /home/pere/src/debian/fop/src/java/org/apache/fop/servlet/FopServlet.java:100: error: cannot find symbol
    [javac]         transFactory.setAttribute(javax.xml.XMLConstants.ACCESS_EXTERNAL_STYLESHEET, "");
    [javac]                                                         ^
    [javac]   symbol:   variable ACCESS_EXTERNAL_STYLESHEET
    [javac]   location: class XMLConstants

I see from <URL: https://docs.oracle.com/javase/tutorial/jaxp/properties/properties.html >
these were new in JAXP 1.5, but fail to understand why they are not available when
building with javac in jdk 10. :(

Any ideas.  My refreshed patch is attached.  Add it to debian/patches/ and list it in series
to give it a go yourself.

#847190#15
Date:
2018-06-20 08:02:30 UTC
From:
To:
[Petter Reinholdtsen]

I tried building in Debian Stable with JDK 8, and here it worked. :/

#847190#20
Date:
2018-11-21 07:48:45 UTC
From:
To:
Control: tags -1 - patch

I'll upload 2.3 soon to unstable, so removing the tag patch since it
does not apply anymore.

#847190#27
Date:
2018-11-21 09:56:33 UTC
From:
To:
[Mathieu Malaterre]

Would you be willing to carry an updated patch in Debian before it is
applied upstream?
--
Happy hacking
Petter Reinholdtsen