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

Petter Reinholdtsen pere at hungry.com
Wed Jun 20 05:43:28 BST 2018


[Mathieu Malaterre]
> 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

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.
-- 
Happy hacking
Petter Reinholdtsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fop-table-layout-auto.patch
Type: text/x-diff
Size: 80075 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20180620/50cb9a14/attachment-0001.patch>


More information about the pkg-java-maintainers mailing list