invalid utf-8 byte

2002-11-19 Thread Richard Barrington
Hi there, I'm building an SAX based XML processor that feeds into FOP, and I'm getting the error: org.apache.fop.apps.FOPException: invalid UTF-8 byte (Check the XML declaration) (code: 0xa0) HelpXMLProcessorController: Couldn't run FOP Driver; The code is very simple, eg: Driver driver = new

Re: table-header and retrieve-marker

2002-11-19 Thread Keiron Liddle
Retrieve marker is only allowed in static regions, so no you cannot use it in a table header or footer to do that. On Tue, 2002-11-19 at 09:30, Philippe Chaléat wrote: Hello, Is there a way to use marker (retrieve-marker) in table header or footer ? For example, how I can achieve this

Re: table-header and retrieve-marker

2002-11-19 Thread Oleg Tkachenko
Philippe Chaléat wrote: Is there a way to use marker (retrieve-marker) in table header or footer ? No, An fo:retrieve-marker is only permitted as the descendant of an fo:static-content. (c) the spec -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel

Re: static-content/odd/even

2002-11-19 Thread Wolle
hi! thanks for the response. i want to state more precisely. the output i get from the xsl looks like that: AnyName page-number -- for odd sides. but for even sides the result looks like that: AnyName --

Re: Strange error when upgrading from 0.20.3 to 0.20.4

2002-11-19 Thread Jiri_Nejedly
I serched a little, and I found one difference between calling the fop.bat and processing servlet . The fop.bat use org.apache.xerces.parsers.SAXParser while servlet code uses oracle.xml.parser.v2.SAXParser The library xmlparserv2.jar is necessary, without it whole JDeveloper won't run. All

Re: static-content/odd/even

2002-11-19 Thread Oleg Tkachenko
Wolle wrote: thanks for the response. i want to state more precisely. the output i get from the xsl looks like that: AnyName page-number -- for odd sides. but for even sides the result looks like that: AnyName --

Re: Strange error when upgrading from 0.20.3 to 0.20.4

2002-11-19 Thread Marko Petersen
Hi, I think this can be done by System.setProperty(...), and I thought with: System.setProperty( org.xml.sax.driver, org.apache.xerces.parsers.SAXParser ); But I tried it and it does not work, maybe I did something wrong. I tried another one, and the following should work: System.setProperty(

fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
Hi, I have the following external graphic declaration in a XML file: fo:external-graphic src=url('{$base-url}/images/logo.jpg') height=30pt width=170pt/ I render it to a servlet outputstream using: Driver driver; driver = new Driver( new InputSource( reader ), out ); driver.setRenderer(

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Jeremias Maerki
Currently there's no possibility to set or use an EntityResolver (or similar) but it's on the todo list. In the meantime you could try to set the baseURL in Java code like this: Configuration.put(baseDir, https://myserver/somedir;); But please be aware that this currently only works in the CVS

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
Hi Jeremias, Thank you for answering, I am already using urls, i.e http://host.domain.com/webapp/images/foo.gif works, but https://host.domain.com/webapp/images/foo.gif does not. Currently there's no possibility to set or use an EntityResolver (or similar) but it's on the todo list. Nice to

Re: static-content/odd/even

2002-11-19 Thread Wolle
hi oleg! you're guess is pretty proper. do i have make a new announcement at bugzilla? bye wolfgang * * thanks for the response. i want to state more precisely. the output i get * from the xsl looks like that: * * AnyName * page-number --

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Jeremias Maerki
Are your images located on the same server as FOP? If yes, you could access the files directly by filesystem if you set baseDir to something like: Configuration.put(baseDir, C:\tomcat\webapps\webapp); Surely not a clean solution but faster than going via http/https and it could work for the

Rendering output

2002-11-19 Thread Henrik Olsson
Hi. Does any one know if its possible to get two fo trees in to one output (ex in to one pdf)? /Henrik

Re: Rendering output

2002-11-19 Thread Jeremias Maerki
Not with FOP in its present state. You have to render both documents into separate PDFs and then merge them with some tool. You'll find links to iText and PJ at the bottom of the following page: http://xml.apache.org/fop/resources.html Can't you merge the FOs prior to do the rendering? That could

Re: Rendering output

2002-11-19 Thread Henrik Olsson
Thanks. Merge the FOs never thougth about that. But i think it will be tricky with several firs pages and get the page numbers in the right way. And the most important thing it consume alot of memory since th fos are big from the begining. /Henrik Jeremias Maerki [EMAIL PROTECTED]

Re: static-content/odd/even

2002-11-19 Thread Oleg Tkachenko
Wolle wrote: you're guess is pretty proper. do i have make a new announcement at bugzilla? As you wish. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel

Re: Rendering output

2002-11-19 Thread Oleg Tkachenko
Henrik Olsson wrote: Merge the FOs never thougth about that. But i think it will be tricky with several firs pages and get the page numbers in the right way. That's very easy, just encapsulate each document into a different fo:page-sequence object and don't bother about page numbering - it'll

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Oleg Tkachenko
Johan Åbrandt wrote: It doesnt do the trick for me since I have no idea where any of our customers might have decided to install their application server. Also I am using EAR file which means that servletContext.getRealPath( string ) wouldnt do it either. I am currently looking into using the

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Oleg Tkachenko
Johan Åbrandt wrote: Personally I would put a high priority on enabling the programmer to override resource resolution (ala EntityResolver) for FOP though. As Jeremias pointed out SourceResolver is already in the todo list. But when it would be implemented - nobody knows. -- Oleg Tkachenko

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
As Jeremias pointed out SourceResolver is already in the todo list. Ok, I it is this one: Integrate with Jakarta Avalon: logging, configuration, URI resolver, component management, image caching etc. ? open ? Anyhow, thanks for the help, Oleg and Jeremias. Br - Johan Oleg Tkachenko wrote:

Compiling to native code

2002-11-19 Thread Jeremiah Fisher
Hello all Has anyone attempted to or had any luck with compiling FOP to native code with gcj? My company has a need for speed and I wanted to know how much effort it will take todecrease conversion times. Thanks Jeremiah Fisher [EMAIL PROTECTED]

Re: Compiling to native code

2002-11-19 Thread anil
Hello, Iam unable to instantiate Driver class with or without any args. It is throwing an exception saying that org.apache.jasper.JasperException: org/apache/batik/util/XMLResourceDescriptor could you please some one let me know what is the solution.Thanks in advance. Anil -