Re: Upgrade to fop trunk and URI resolving

2012-07-26 Thread Jeremias Maerki
(responded on fop-dev) Jeremias Maerki On 26.07.2012 20:17:17 mehdi houshmand wrote: > I appreciate that there are inconveniences, but if you're just looking for > backwards compatibility, the changes should be, for the most part, fairly > minor. > > I'm sorry we haven't been able to convince

Re: Upgrade to fop trunk and URI resolving

2012-07-26 Thread mehdi houshmand
I appreciate that there are inconveniences, but if you're just looking for backwards compatibility, the changes should be, for the most part, fairly minor. I'm sorry we haven't been able to convince you of the benefits of the changes, that's on me as the lead on this. I'm not sure really what else

Re: Upgrade to fop trunk and URI resolving

2012-07-26 Thread Jeremias Maerki
That's not quite true. That worked perfectly before by setting your own JAXP URIResolver. You could even resolve a URI to a DOMSource (or SAXSource) containing an SVG image that you've dynamically built based on some data (think charts). With the new approach, you have to serialize that XML to a st

Re: Upgrade to fop trunk and URI resolving

2012-07-26 Thread mehdi houshmand
Hi Matthias, I've added some javadocs that may help to enlighten devs about how to do some of the URI schema features you were asking about. As a potential user, if you could take a look and let me know whether it's clear enough, I'd be very grateful. I always find hard to know how much informatio

Re: How to set hyphen base url in config file

2012-07-26 Thread Pascal Sancho
Hi, You have to set it in config file with the hyphenation-base element (see [1]). Then from the command line script, you should use the -c option (see [{2]) [1] http://xmlgraphics.apache.org/fop/1.0/configuration.html#general-elements [2] http://xmlgraphics.apache.org/fop/1.0/running.html#fop-sc

Re: Upgrade to fop trunk and URI resolving

2012-07-26 Thread mehdi houshmand
Hi Matthias, Don't be so quick to thank us for this work, you may retract that once you start using it ;). 1. Good question. The way it works is that you give the FopFactory (either in a constructor or via the EnvironmentProfile) a base-URI, this will become the default base URI should a "" not b

Re: Upgrade to fop trunk and URI resolving

2012-07-26 Thread mehdi houshmand
That was supposed to say " wrote: > Hi Matthias, > > Don't be so quick to thank us for this work, you may retract that once you > start using it ;). > > 1. Good question. The way it works is that you give the FopFactory (either > in a constructor or via the EnvironmentProfile) a base-URI, this wil