-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4f1a7a
commit dc1511a
Showing
5 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dc1511a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would like to test, though: I rather not have two full eXist-db source trees locally… Is there a way for me to include this commit into stock eXist the git way? How do I download the patch, there is no link here?
dc1511a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have a git source base already, you can do -
The last command will switch you from the
origin/develop
branch to theadamretter/fop-2.0
branch. Remember to switch back when you are finished by runninggit checkout develop
.dc1511a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked out your branch and copied my stuff over. It uses hyphenation, patterns are in
fop-hyph.jar
, which will not be found initially. It used only a little tweak for full satisfaction: makebuilder = new FopFactoryBuilder(new URI("/db"));
above read…new URI("file:///db")
instead.The message in browser read: URI is not absolute. Kind of short. According to java doc absolute means, to start with a scheme; experiment shows, the URI must not point to somewhere real in the local installation.
dc1511a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hungerburg Sorry, I can't really follow what you are saying. I did run an XSL:FO transformation successfully. Can you share a minimal XQuery and XSLT which shows your problem?
dc1511a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamretter You are welcome: the case should be very easy to reproduce: In your FO set an attribute, eg
<fo:block hyphenate="true">
and you will get the "URI not absolute" message. fop-hyph.jar can be downloaded from http://sourceforge.net/projects/offo/ - it is in the zip. I put it into $EXIST_HOME/lib/user/PS: possibly necessary, set
language="de"
or"en"
… somewhere up the tree.dc1511a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hungerburg is is an additional download of 7meg, which is quite significant.....
dc1511a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dizzzz Dannes, I do not propose to add it to eXist; Just to change "/db" to "file:///db" in ApacheFopProcessorAdapter.java line 38. Because then, the fop hyphenation plugin (that some may have installed by themselves) continues to work through the 1 → 2 switch.