Re: stykesheet attribute version
[EMAIL PROTECTED] wrote: Do you mean that there is no way around it? weird, i can run it from my workstation (same os etc only diff processor and less memory) can't be... The fact that it is logged in bugzilla does not imply it is a bug, in fact that one was tagged as invalid (see comment at bottom). But that comment doesn't help you much... this is how i call my whole application java -cp kbcs_fop.jar;batik.jar;avalonframework.jar;fop.jar;xalan.jar;iText.jar;logkit1b4.jar;jaxp.jar;xerces.jar;. com.kbcsecurities.test.Startup That jaxp.jar looks suspicious to me, do you need it? Does it work if you remove it? I would think xerces and xalan is enough? I would bet there some problem in your classpath and the wrong XSLT-engine is called or so. (I am absolutely not an XML expert, just trying to help a bit... :-) Peter
Re: stykesheet attribute version
ok, i'll try one more time, but this really has little to do with FOP. Did you check the xalan-dev archive? http://marc.theaimsgroup.com/?l=xalan-dev Maybe the problem is in setNamespaceAware while(li.hasNext()){ try { String key = (String)li.next(); if (key.endsWith(_XSL)){ DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); dbf.setNamespaceAware(true); Don't you have to switch these last 2 lines? Peter
RE: xml/xsl pdf servlet output problem
Does it work in Netscape? It is probably the very annoying bug in Internet Explorer there is a lot of information in the fop-user archives, e.g.: http://marc.theaimsgroup.com/?l=fop-userm=101898344218255w=2 http://marc.theaimsgroup.com/?l=fop-userm=101900052502730w=2 You could try: http://localhost:8088/fop/fop?xml=sample.xmlxsl=sample.xsldummy=.pdf (that is, you add dummy=.pdf at the and of the url, so IE sees that extension just a guess, better explanation in the archives Peter i'm using the SimpleServlet which was posted prior (and attached). it works great with a .fo http://localhost:8088/fop/fop?fo=c:/dev/tmp/table.fo the trouble i'm seeing is this. using a very simple .xsl and .xml, the output is not getting sent to the outputstream, *however* the PDF is getting generated properly. i know this cuz i created a temporary file using the output contents and write it to my filesystem and can load this file fine. there are no errors generated (except stuff about fonts, with the .fo version spews as well), and all that is returned is a blank/white page.
RE: Antigen found =*.html file
-Original Message- From: Robert Koberg [mailto:[EMAIL PROTECTED] Sent: dinsdag 9 april 2002 17:40 To: [EMAIL PROTECTED] Subject: Re: Antigen found =*.html file [EMAIL PROTECTED] wrote: Antigen for Exchange found fopdiff.html matching =*.html file filter. The file is currently Removed. The message, RE: feature and limitation lists, was sent from MAISONNY Benoit and was discovered in SMTP Messages\Inbound located at Questerra/First Administrative Group/QTCAEX01. h... this says it is coming from my server, but I don't run an exchange server??? Don't worry, I got the same thing, it looks for me like it is coming from my mailserver.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: dinsdag 9 april 2002 11:33 To: [EMAIL PROTECTED] Subject: Antigen found =*.html file
RE: Servlet problems
-Original Message- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED] Sent: woensdag 27 maart 2002 15:39 To: [EMAIL PROTECTED] Subject: Re: Servlet problems From: Higgins, James That works, but can you provide a reason why that works and placing it in webapps/fop/WEB-INF/lib doesn't? Flakiness in the Tomcat class loader? RTFM: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4 -b2/RELEAS E-NOTES: Sorry for my probably stupid question, but how does this explain the problems with finding batik.jar in webapps/fop/WEB-INF/lib ? There is no problem with placing the avalon and logkit jars in that folder. Peter Jacobs
RE: Servlet problems
I guess it is a bug in Tomcat 4.0.3 probably: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6374 If you look at the cocoon installation pages, you'll see that you only have to mess with the batik location in 4.0.3, not in 4.0.1 or 4.0.4b2 http://xml.apache.org/cocoon/installing/index.html Peter Peter Jacobs Freelance multimedia programmeur De Budetstraat 8 B-3201 Aarschot [EMAIL PROTECTED] 016/573257 -Original Message- From: Higgins, James [mailto:[EMAIL PROTECTED] Sent: woensdag 27 maart 2002 15:14 To: '[EMAIL PROTECTED]' Subject: RE: Servlet problems That works, but can you provide a reason why that works and placing it in webapps/fop/WEB-INF/lib doesn't? Flakiness in the Tomcat class loader? Thanks for the help :) James
RE: FOP Performance Limitations?
Strange, the difference was very noticeable, in the XSL-transforms (to HTML,Excel,FO) as well as in de FOP-PDF generation step. Like XML-FO-PDF in 10 seconds instead of 50!! Other people reported the same thing e.g. see the thread Re: FOP performance on Win98/JRE 1.3.1 on FOP-DEV. That's interesting that it made a difference for you. On our XML/XSL, it didn't make much difference - maybe it shaved 1-2 seconds of a 60 second rendering. -David On Wed, 13 Mar 2002, Peter Jacobs wrote: Are you using the included Xalan and Xerces.jar? I replaced them with Xalan 2.2 and Xerces 1.4.2 and got big improvement in speed (on Win2000 and Sun Solaris).
RE: FOP Performance Limitations?
Are you using the included Xalan and Xerces.jar? I replaced them with Xalan 2.2 and Xerces 1.4.2 and got big improvement in speed (on Win2000 and Sun Solaris). Peter Peter Jacobs Freelance multimedia programmeur De Budetstraat 8 B-3201 Aarschot [EMAIL PROTECTED] 016/573257
RE: display numbers
You can have a look at: http://www.dpawson.co.uk/xsl/xslfaq.html choose XSLT Questions and Answers and then Formatting Please also have a look at the XSL FO pages, so this thread is not off topic anymore :-) HTH Peter Peter Jacobs Freelance multimedia programmeur De Budetstraat 8 B-3201 Aarschot [EMAIL PROTECTED] 016/573257 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: woensdag 6 maart 2002 09:13 To: [EMAIL PROTECTED] Subject: display numbers Hi, I have to display numbers in a PDF document, but it's frequently thousands or millions, so I would like to render it like this: 1 000 000 or 1'000'000 instead of 100 is it possible or may I write a fonction that convert it in a string before rendering it?? Moreover, is the choice of the language including the rendering of numbers?? for exemple in France we use a coma and not a dot in numbers: 14,89 = 14.89 cheers, Ludo. - Webmail Saros: http://webmail.saros.fr