[Bug 386789] New: fop incompatible with docbook-xsl-stylesheets (fox: destination obsoleted)
https://bugzilla.novell.com/show_bug.cgi?id=386789
Summary: fop incompatible with docbook-xsl-stylesheets
(fox:destination obsoleted)
Product: openSUSE 11.0
Version: Factory
Platform: All
OS/Version: openSUSE 11.0
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: jmayer@loplof.de
QAContact: qa@suse.de
Found By: ---
Setup: current opensuse-factory with the following packages installed:
docbook-xsl-stylesheets-1.73.2-24
fop-0.94-37
These two packages seem to be incompatible:
When I try to build the wireshark documentation, it goes like this:
Extract wireshark source, DON'T run any configure
cd docbook
make developer-guide-a4.pdf
--------------------------------------- Begin Log --------------------------
--- WSUG - PDF A4 PAPER ---
"xsltproc" --stringparam paper.type A4 --nonet custom_layer_pdf.xsl
user-guide.xml > us
er-guide-a4.fo
Making portrait pages on A4 paper (210mmx297mm)
FOP_OPTS=-Xmx256m JAVA_OPTS=-Xmx256m fop user-guide-a4.fo user-guide-a4.pdf
May 4, 2008 10:24:15 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException:
file:/home/
jmayer/work/wireshark/svn/trunk/docbook/user-guide-a4.fo:1:12909:
Error(1/12909): No el
ement mapping definition found for (Namespace URI:
"http://xml.apache.org/fop/extension
s", Local Name: "destination")
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)
---------
javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException:
file:/home/
jmayer/work/wireshark/svn/trunk/docbook/user-guide-a4.fo:1:12909:
Error(1/12909): No el
ement mapping definition found for (Namespace URI:
"http://xml.apache.org/fop/extension
s", Local Name: "destination")
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerId
entityImpl.java:501)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)
Caused by: org.apache.fop.apps.FOPException:
file:/home/jmayer/work/wireshark/svn/trunk
/docbook/user-guide-a4.fo:1:12909: Error(1/12909): No element mapping
definition found
for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name:
"destination")
at
org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.
java:143)
at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:214)
at org.apache.fop.fo.FOTreeBuilder.access$1(FOTreeBuilder.java:213)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.jav
a:310)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(Transforme
rIdentityImpl.java:1072)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Sou
rce)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Sou
rce)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown S
ource)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerId
entityImpl.java:484)
... 4 more
---------
-------------------------------------- End log --------------------------
Googling showed the following link, which basically states:
-----------------------
Now to your problem. The problem is in your FO which has the extension
element "fox:destination" This was an extension specific to the 0.20.5
release of FOP. In 0.93, this extension has been superceded by the
XSL-FO element fo:bookmark. The 1.1 revision of the XSL-FO
recommendation introduced this new element to satisfy the common
formatting requirement.
So you will need to change your FO, replacing fox:destination elements
with fo:bookmark equivalents.
-------------------------
http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/200705.mbox/
https://bugzilla.novell.com/show_bug.cgi?id=386789
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=386789
Sonja Krause-Harder
https://bugzilla.novell.com/show_bug.cgi?id=386789
User ke@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=386789#c1
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=386789
User ke@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=386789#c2
--- Comment #2 from Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=386789
User jmayer@loplof.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=386789#c3
--- Comment #3 from Jörg Mayer
https://bugzilla.novell.com/show_bug.cgi?id=386789
User jmayer@loplof.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=386789#c4
Jörg Mayer
https://bugzilla.novell.com/show_bug.cgi?id=386789
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=386789
User ke@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=386789#c5
Karl Eichwalder
developer-guide-a4.fo
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com