Problems getting XInclude to work in eclipse plugin
Posted: Thu Jan 31, 2008 1:55 pm
I am working with docbook documents. I need the XInclude to work, because the document is large.
Any idea how I can solve that issue?
I would dearly like to use your product (currently a trial license): the docbook editor makes a very good impression, and the plugin appears to be very stable. Great work.
Thanks in advance
/stefan
Code: Select all
I find many instructions, but somehow they all do not work. I understand that I need some module entry, I also find examples in your plugin distributions. What I do not see (probably because I never worked much with DTD, XML, XSL, etc) is how I can get that module into the system.
The example in the eclipse help system uses a relative path to get the XInclude.mod file. But that does not appeal to me, as that path may change on different users' machines.
So the question is how I get that xinclude.mod into my catalog file. Next question would be: which catalog file am I using / should I modify?
Likely my next problem: I tried to create a PDF file from my rudimentary docbook file without include (copy/paste approach). Then I got some FOP error saying:
[Saxon6.5.5] The process 'FOP' ended with code: 1.
The error was:
31.01.2008 11:20:09 org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SCHWERWIEGEND: Couldn't find hyphenation pattern en
31.01.2008 11:20:10 org.apache.fop.cli.Main startFOP
SCHWERWIEGEND: Exception
net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: file:///C:/ec-ws33/gcap-fnportal-verification4/crud.oxygen/book.xml_xslt:11:-1: Error(11/-1): fo:wrapper is not a valid child element of fo:inline: An fo:inline that is a descendant of an fo:leader or fo:footnote may not have block-level children, unless it has a nearer ancestor that is an fo:inline-container.
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)
I would dearly like to use your product (currently a trial license): the docbook editor makes a very good impression, and the plugin appears to be very stable. Great work.
Thanks in advance
/stefan