Re: Problems with different versions of FOP (SVG vs inline-graphics)
I don't particularly want to give a java lesson (again) but this oddly enough is a CLASSPATH error. ie. fix you classpath. On Tue, 31 Jul 2001 21:05:05 Ed Koster wrote: I've recently upgraded to Fop 19.0. While it now provides inline graphic support, which I need, it broke certain SVG rendering, which I also need. This SVG rendering still works in Fop 18.1 - so some of the time I need to use this old build, and the rest of the time the recent build. Is the broken SVG code expected to be fixed in the next build, and if so, when is it expected to come out? Or is it currently already fixed in CVS? Also, for now is there any way to switch between different versions of Fop at runtime (ie to rename all the packages in one of the jars)? For those who don't know what broken SVG rendering I'm talking about, here's the exception that's thrown (which oddly enough looks like a CLASSPATH error): Exception in thread main java.lang.NoSuchMethodError at org.apache.batik.bridge.CSSUtilities.convertVisibility(CSSUtilities.java:376 ) at org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(SVGSVGElement Bridge.java:100) at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:65) at org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:386 ) at org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:338) at org.apache.fop.svg.SVGArea.render(SVGArea.java:57) at org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.ja va:322) at org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java :49) at org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:1 87) at org.apache.fop.layout.ColumnArea.render(ColumnArea.java:31) at org.apache.fop.render.PrintRenderer.renderSpanArea(PrintRenderer.java:255) at org.apache.fop.layout.SpanArea.render(SpanArea.java:51) at org.apache.fop.render.PrintRenderer.renderBodyAreaContainer(PrintRenderer.ja va:240) at org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:638) at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:130) at org.apache.fop.apps.Driver.render(Driver.java:487) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:62) at org.apache.fop.apps.Fop.main(Fop.java:19) Thanks, e d - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: XSL-FO Engine comparisons
Peter B. West writes: Sebastian Rahtz wrote: Sebastina Your better half? all my halves are equally good sebastian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Codeformatting finished
On Wed, 1 Aug 2001 [EMAIL PROTECTED] wrote: Hi. Good, but some typo and other files suffer from same un-escaped problem. Attached patch will fix typos and other files. Thanks, I commited your patch. I'll do a thorough check for unicode escapes tomorrow and will also take a look at Struan's fix. Seems like jIndent didn't do a very good job with unicode escapes... To jIndent's defence I must admit that I used version 2.1 which used to be free, this might have been fixed in newer commercial versions. Regarding jIndent breaking the 78 char linelength limit, that's to bad. jIndent usually does a very good job with this. I guess submitting patches with fixes for that would be ok. Tore === SASAKI Suguru mailto : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[GUMP] Build Failure - Fop
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2001-08-01/xml-fop.html Buildfile: build.xml init-avail: init-filters-xalan1: init-filters-xalan2: [copy] Copying 1 file to /home/rubys/jakarta/xml-fop/build/src/codegen init: [echo] --- Fop 0.19.0-CVS [1999-2001] prepare: [echo] Preparing the build directories [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/svg [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/conf [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/hyph [copy] Copying 3 files to /home/rubys/jakarta/xml-fop/build/classes/conf codegen: [echo] Resetting codegen directory [copy] Copying 35 files to /home/rubys/jakarta/xml-fop/build/src/codegen [echo] Generating the java files from xml resources [null] [null] xslt [null] in: ./build/src/codegen/svgelements.xml [null] style: ./src/codegen/propmaker.xsl [null] out: ./build/src/codegen/svgproperties.xml [null] [null] [null] xslt [null] in: ./build/src/codegen/allprops.xml [null] style: ./build/src/codegen/genconst.xsl [null] out: ./build/src/org/apache/fop/fo/properties/Constants.java [null] [null] [null] xslt [null] in: ./build/src/codegen/foproperties.xml [null] style: ./build/src/codegen/properties.xsl [null] out: ./build/src/org/apache/fop/fo/properties/fo_ignore_this.java [null] [null] file:///home/rubys/jakarta/xml-fop/build/src/codegen/properties.xsl; Line 12; Column 14; Do colorkw.xml [null] [null] xslt [null] in: ./build/src/codegen/foproperties.xml [null] style: ./build/src/codegen/propmap.xsl [null] out: ./build/src/org/apache/fop/fo/properties/FOPropertyMapping.java [null] [null] [null] xslt [null] in: ./build/src/codegen/foproperties.xml [null] style: ./build/src/codegen/enumgen.xsl [null] out: ./build/src/org/apache/fop/fo/properties/foenums_ignore_this.java [null] [null] [null] xslt [null] in: ./build/src/codegen/svgproperties.xml [null] style: ./build/src/codegen/properties.xsl [null] out: ./build/src/org/apache/fop/fo/properties/svg_ignore_this.java [null] [null] [null] xslt [null] in: ./build/src/codegen/svgproperties.xml [null] style: ./build/src/codegen/propmap.xsl [null] out: ./build/src/org/apache/fop/fo/properties/SVGPropertyMapping.java [null] [null] [null] xslt [null] in: ./build/src/codegen/svgproperties.xml [null] style: ./build/src/codegen/enumgen.xsl [null] out: ./build/src/org/apache/fop/fo/properties/svgenums_ignore_this.java [null] [null] [null] xslt [null] in: ./build/src/codegen/extproperties.xml [null] style: ./build/src/codegen/properties.xsl [null] out: ./build/src/org/apache/fop/fo/properties/ext_ignore_this.java [null] [null] [null] xslt [null] in: ./build/src/codegen/extproperties.xml [null] style: ./build/src/codegen/propmap.xsl [null] out: ./build/src/org/apache/fop/fo/properties/ExtensionPropertyMapping.java [null] [null] [null] xslt [null] in: ./build/src/codegen/extproperties.xml [null] style: ./build/src/codegen/enumgen.xsl [null] out: ./build/src/org/apache/fop/fo/properties/extenums_ignore_this.java [null] [null] [null] xslt [null] in: ./build/src/codegen/svgelements.xml [null] style: ./build/src/codegen/elements.xsl [null] out: ./build/src/org/apache/fop/svg/ele_ignore_this.java [null] [null] [null] xslt [null] in: ./build/src/codegen/charlist.xml [null] style: ./build/src/codegen/code-point-mapping.xsl [null] out: ./build/src/org/apache/fop/render/pdf/CodePointMapping.java [null] [null]
Re: XSL-FO Engine comparisons
On Wednesday 01 August 2001 09:19, Alistair Hopkins wrote: I'm also using it in production to generate simple but nice printable invoices from a website. As a precaution, only company staff can access the invoice download at the moment, but I'm going to throw it open to the punters soon as there have been 0 problems over the last 6 months. -Original Message- From: Alex McLintock [mailto:[EMAIL PROTECTED]] --- Darren Munt [EMAIL PROTECTED] wrote: But you're right - nobody should be using the processor in production. Not yet. When we think it's ready we'll say so. I've been using FOP in production for over six months, nearer twelve. This is only possibly however because we have a small set of required pages. We were able to test the fo templates prior to going live and the features we need work fine. So using FOP in production is no different from any other open source project: Test it to see whether it does what you want. Agreed, to all. See my earlier reply to Darren. You guys are doing things right...for a variety of reasons (cost of ownership, ease of use, etc) you've all made an informed decision to use FOP. I think you all know that it doesn't do nearly everything and it doesn't do everything correctly, but there is a subset of stuff that FOP already handles OK. I'm personally very pleased that FOP gets used. I'd be less interested in working on the thing if it wasn't. Unfortunately we have to issue some blunt disclaimers occasionally, along the lines of DO NOT USE FOP FOR PRODUCTION; if you know what you're doing you can interpret that how you want. :-) Unfortunately what happens is that despite all the disclaimers we get compared to production-ready stuff. As a result, despite every statement that FOP is under development, people get the impression that FOP is ready for use. I think we are exactly where we should expect to be given resources involved with this project. By the time FOP is ready I estimate that 2 calendar years will have elapsed. On average I'll bet that we haven't even come close to the equivalent of one (1) FT resource, current circumstances excepted. Writing an XSL formatter is a big deal, and if I was estimating such a project from scratch I'd give it 2 person-years of _effort_ easy (maybe more). So it's no surprise that we are where we are. Regards, Arved Sandstrom -- Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Halifax, Nova Scotia Wireless * B2B * J2EE * XML - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: XSL-FO Engine comparisons
Title: RE: XSL-FO Engine comparisons Hi, Though I'd add in my 2c to the debate ;) I've just started evaluating FOP for production use in our company. We have some code documentation in XML format and can use XSLT to create FO, then PDFs and/or HTML - very useful. I had downloaded FOP 0.19, and was becoming quite frustrated with some issues. To be fair: all the basic stuff worked with no problems. But I was trying to recreate our technical documentation cover page and headers/footers, with little success. For I start I needed a page border, which I have still not discovered how to do; then I needed tables with cells spanning rows, which I found to be broken. The list of other little niggles goes on. So I decided to get the latest CVS version, and try with that. I'm *extremely* impressed :) I haven't tried the page border again, but most of the issues that I was fighting with seem to have been resolved. FOP seems quite capable of reliably producing attractive layout, which is pretty much as much as you can demand from a program of its nature. I think a disclaimer or warning is very prudent, albeit becoming less justified. Regards, Twylite -Original Message- I'm personally very pleased that FOP gets used. I'd be less interested in working on the thing if it wasn't. Unfortunately we have to issue some blunt disclaimers occasionally, along the lines of DO NOT USE FOP FOR PRODUCTION; if you know what you're doing you can interpret that how you want. :-)
Re: Headers and pagination
On Wednesday 01 August 2001 01:00, [EMAIL PROTECTED] wrote: I must be really confused. I thought that the header was defined once and only once in the page-sequence as static-content and the page-sequence-master children allowed for the use of different page layouts for different pages, but not content of the page. Anyway, if you could lead me to an example I would be very happy. You can only have one fo:flow per page-sequence, but you can have as many fo:static-content's as you like, and use as many page-masters as you need for one given page-sequence. Every page in a page-sequence could have different page-masters and different headers, footers and sidebars. There should be some examples in FOP already, under docs/examples. Regards, Arved Sandstrom -- Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Halifax, Nova Scotia Wireless * B2B * J2EE * XML - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Headers and pagination
Dear Tim, et.al., I'm doing the same as you for our newsletter - wanting to change the heading when a new chapter is started. I achieve this by starting a new fo:page-sequence ... for each chapter containing a fo:static-content flow-name=xsl-region-before containing the title. I've attached by XSL file. It's in the template for chapter (in body). Any comments gratefully received. ?xml version=1.0 encoding=iso-8859-1? !-- XML - PDF for UKUUG newsletter 0.0.0 Initial implementation (mick, 23 Jan 2001) 0.1.0 Restructure based on RenderX tutorial (mick, 16 Feb 2001) 0.1.1 Internal links added (mick, 21 Feb 2001) -- xsl:stylesheet version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; !-- top-level newsletter - title chapter+ -- xsl:template match=/newsletter fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set !-- layout for the first page (toc) -- fo:simple-page-master margin-bottom=0.5in margin-left=0.75in margin-right=0.75in margin-top=0.5in master-name=toc page-height=11.7in page-width=8.3in fo:region-after extent=0.75in/ fo:region-before extent=1.5in/ fo:region-body margin-bottom=0.75in margin-top=1.45in/ /fo:simple-page-master !-- layout for the remaining pages (chapters) -- fo:simple-page-master margin-bottom=0.5in margin-left=0.75in margin-right=0.75in margin-top=0.5in master-name=chapters page-height=11.7in page-width=8.3in fo:region-after extent=0.75in/ fo:region-before extent=1.5in/ fo:region-body column-count=2 column-gap=0.25in margin-bottom=0.75in margin-top=0.5in/ /fo:simple-page-master fo:page-sequence-master master-name=newsletter fo:single-page-master-reference master-name=toc/ fo:repeatable-page-master-reference master-name=chapters/ /fo:page-sequence-master /fo:layout-master-set xsl:call-template name=toc/ xsl:apply-templates select=chapter/ /fo:root /xsl:template !-- article (in body) - (@book | @letter | @news | @software) author? section+ -- xsl:template match=article xsl:variable name=article xsl:number count=chapter/ xsl:number count=article/ /xsl:variable fo:block id={$article}/ xsl:choose xsl:when test=@type='book' or @type='software' xsl:apply-templates select=book|software/ /xsl:when !-- @type='letter' has no header -- xsl:when test=@type='news' fo:block font-size=16pt font-weight=bold line-height=18pt text-align=start xsl:apply-templates select=title/ /fo:block /xsl:when /xsl:choose xsl:if test=author and @type!='letter' fo:block font-size=14pt font-weight=bold line-height=16pt space-before=16pt text-align=start (xsl:if test=@type='book' or @type='software'Reviewed by /xsl:if xsl:apply-templates select=author/) /fo:block /xsl:if xsl:apply-templates select=section/ xsl:apply-templates select=id(author/@id)/biography/ xsl:if test=position()!=last() fo:block space-after=12pt space-before=12pt fo:leader leader-length=3.25in leader-pattern=rule/ /fo:block /xsl:if /xsl:template !-- article (in toc) - @book/title | @letter/author | @software/title | title -- xsl:template match=article mode=toc xsl:variable name=article xsl:number count=chapter/ xsl:number count=article/ /xsl:variable fo:table fo:table-column column-width=6.5in/ fo:table-column column-width=10pt/ fo:table-body fo:table-row fo:table-cell fo:block font-size=10pt font-weight=normal id=toc{$article} line-height=12pt start-indent=18pt text-align=justify fo:basic-link internal-destination={$article} xsl:choose xsl:when test=@type='book' or @type='software' xsl:apply-templates select=book/title|software/title/ /xsl:when xsl:when test=@type='letter' From xsl:apply-templates mode=toc select=author/
Re: XSL-FO Engine comparisons
At 7:19 PM +0200 7/31/01, Petr Andrs wrote: I think there is other reason for formatters beeing not production redy as well. This reason is that XSL FO is only in CR state of its first version. I think 1.1 or 2.0 XSL FO Recomendation will be far better. I don't think that's it. I haven't found any cases where XSL FO was insufficiently expressive for my needs (essentially laying out a computer book). There've been a couple of cases where Docbook was insufficiently expressive, but there are workarounds for that. The problems I encountered were all in implementation, not in the language. A new version of XSLFO wouldn't really help me any. -- +---++---+ | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | +---++---+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.ibiblio.org/xml/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +--+-+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ | +--+-+ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: XSL-FO Engine comparisons
2 more cents... I am using FOP in production. We have a major problem with performance, but have a working app with bad performance beats no app. Generating 200 page reports uses GBs of memory and 3 to 10 minutes of a single CPU on a quad 500 PIII. Our document is a single table. The header has SVG column headings; the column headings are rotated 90 degrees. Profiling the VM indicates significant time spent in the graphics toolkit. Short reports, less then 10 pages work great and the users are very happy with them. I haven't tried to fix it recently, but we did have a problem with rows of the table breaking across pages. Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
PDF FO
Has anyone seen/tried reversed process of converting from PDF to FO format? Or from any other non-XML formats. Thanks. Steve Rybin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: PDF FO
--- Rybin, Steve [EMAIL PROTECTED] wrote: Has anyone seen/tried reversed process of converting from PDF to FO format? Could have sworn someone just asked that question a day or two ago. Perhaps searching the archives might help. My answer as before is what are you trying to do? Or from any other non-XML formats. Not sure what you mean? I typically generate FO from a relational database, and also from a java applet. Do you mean Is there an MS Word to FO converter ? (Replace MS Word by whatever you like...) Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: PDF FO
Couple days ago, the question was about PDF2XML, not FO. Anyway, you right, I am looking for something like MS Word to FO. I had a chance to look into WH2FO, which is converter from MS HTML file to 3 files (XML,XSL and XSL attributes). After you transform it into FO, but it does not work correctly as far as formatting. I will take a look at http://www.novosoft-us.com/NS2B.nsf/d2?OpenViewRestrictToCategory=Novosoft_ RTF2FO today. Steve Rybin. -Original Message- From: Alex McLintock [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 9:36 AM To: [EMAIL PROTECTED] Subject: Re: PDF FO --- Rybin, Steve [EMAIL PROTECTED] wrote: Has anyone seen/tried reversed process of converting from PDF to FO format? Could have sworn someone just asked that question a day or two ago. Perhaps searching the archives might help. My answer as before is what are you trying to do? Or from any other non-XML formats. Not sure what you mean? I typically generate FO from a relational database, and also from a java applet. Do you mean Is there an MS Word to FO converter ? (Replace MS Word by whatever you like...) Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: PDF FO
Like I said, the RTF2FO tool is still a bit primitive but at the moment I am not sure whether it is the FO file produced or my version of fop (0.18). I have to look into this tool a bit more. If it is the FO produced the tool might benefit from some good FO examples. Michiel $ -Original Message- $ From: Rybin, Steve [mailto:[EMAIL PROTECTED]] $ Sent: woensdag 1 augustus 2001 16:44 $ To: '[EMAIL PROTECTED]' $ Subject: RE: PDF FO $ $ $ Couple days ago, the question was about PDF2XML, not FO. $ $ Anyway, you right, I am looking for something like MS Word to $ FO. I had a $ chance to look into WH2FO, which is converter from MS HTML $ file to 3 files $ (XML,XSL and XSL attributes). After you transform it into FO, $ but it does $ not work correctly as far as formatting. $ $ I will take a look at $ http://www.novosoft-us.com/NS2B.nsf/d2?OpenViewRestrictToCate $ gory=Novosoft_ $ RTF2FO today. $ $ Steve Rybin. $ $ -Original Message- $ From: Alex McLintock [mailto:[EMAIL PROTECTED]] $ Sent: Wednesday, August 01, 2001 9:36 AM $ To: [EMAIL PROTECTED] $ Subject: Re: PDF FO $ $ $ --- Rybin, Steve [EMAIL PROTECTED] wrote: $ Has anyone seen/tried reversed process of converting from PDF to FO $ format? $ $ Could have sworn someone just asked that question a day or two ago. $ Perhaps searching the archives might help. $ $ My answer as before is what are you trying to do? $ $ $ Or from any other non-XML formats. $ $ Not sure what you mean? I typically generate FO from a $ relational database, $ and also from a java applet. Do you mean Is there an MS Word to FO $ converter ? $ (Replace MS Word by whatever you like...) $ $ $ Alex $ $ $ = $ Alex McLintock[EMAIL PROTECTED]Open Source $ Consultancy in London $ OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ $ DR WHO COMPETITION: $ http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 $ Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ $ $ $ Do You Yahoo!? $ Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk $ or your free @yahoo.ie address at http://mail.yahoo.ie $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, email: [EMAIL PROTECTED] $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, email: [EMAIL PROTECTED] $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
display-align in table-header!!! is this a bug?
Hi, I have a cell in a table-header that is quite high (because of an image in the previous cell) and I want the text to be centered vertically. I used display-align=center to center it. OK, It works fine, but if the table is longer than a page, therefore the table continues on the next page with the header, but it is not vertically centered anymore... Something like this fo:table-header ... fo:table-cell padding-top=1mm number-columns-spanned=2 display-align =center ... /fo:table-header What can I do? By the way, do I have to report it as a bug? Emmanuel Ponette Euro DB Place de l'Université, 16 B-1348 Louvain-La-Neuve Phone: +32 10 47 67 44 Fax: +32 10 47 67 67 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
FOP in production
On the subject of wether people should be using FOP in production yet. People are using it and in my case I am very happy with the results. I seems wrong to discourage people to use it for the simple reason that the more people that try it (and use it in production) the more people will know about it and as a result the more people will be interested in helping to develop it further. The recent efforts to get the performance issues sorted out are a case in point. After making people aware of the status of the project and that they are using it at their own risk (mainly of wasting their time when FOP cannot do what they specifically require) it seems to me that the real issue is to manage peoples use of the product so that new users are not filling the development mail-group with simple questions that waste developers time in answering. The answer to this is to improve the web-site so as to make information more readily available. The main things needed are examples of what each version is capable of doing and the bugs that people find in each version. Obviously users could get involved in setting this up and contributing to it so it is up to date. Thanks steve cameron Fortis Clearing Sydney This e-mail is sent for the sole attention of the identified addressee and its contents are provided for information purposes only. Fortis Clearing Sydney Pty Ltd makes no warranty or representation as to the accuracy and completeness of any information and does not assume whatever commitment hereby. Legally binding obligations can only arise for, or be entered into on behalf of, Fortis Clearing Sydney Pty Ltd by means of a written instrument, signed by two duly authorised representatives of Fortis Clearing Sydney Pty Ltd. Fortis Clearing Sydney Pty Ltd excludes any liability whatsoever for any direct or consequential loss arising from the use of, or reliance on, this e-mail or its contents. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
New Release Imminent
Hi, all Steve Coffman is getting Mark Lillywhite's patch put in place. We'll also make sure that all code-formatting is OK after that committing happens... I expect to work on the release at the start of the weekend, and have FOP 0.20.0 up in CVS NLT than say Aug 5. Fotis, is that enough time for docs? Regards, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mark's patch and code formatting
Ok, I hate to do more than two things in a commit, so I just applied Mark's original patch to CVS. If it breaks anything, it will be easier to track down the cause than if I did anything else at the same time. I missed Tore's codeformatting patch, and didn't codeformat it myself. I'm going to use astyle -a -s4 javafile and commit in a sec. If astyle breaks something, I want it to be a seperate issue than from my interpretation of Mark's patch. Marker support is broken until the areaTree methods (getPreviousPage and getNextPage) are reimplemented in StreamRenderer. It shouldn't be too difficult, but I again like to make my commits atomic. -Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
images, xsl:fo rookie question
I can't figure out how to pull a url to an image from my xml file into the .fo file via xsl. In my xml file, I have a tag like this: logoURLhttp://blah/images/blah.jpg/logoURL The .fo examples show inserting an image like this: fo:external-graphic src=http://blah/images/blah.gif/ How do I get an xsl command like this to execute inside the quotes of the src attrib to pull the url from the xml file? xsl:value-of select=logoURL/ Darrel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
images from a servlet?
Hi. I'm able to get images in my pdf output when running fop from the command line, but when I embed it in a servlet (used the example in the FAQ), no images appear. There is no exception or anything like that. The images simply don't show up. Is there any known issue with certain JVMs or something that might be causing images not to appear? I'm running WebSphere 3.5 with Java 1.2.2. The FO file I'm trying is the images.fo from the examples dir. By the way, is there an effort underway to make a FOP API that conforms to Java 1.2 and the new J2EE 1.3 javax.xml packages? I find the current architecture rather inflexible (procedural programming practices abounds). Thanks, Runar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: images from a servlet?
Hi Runar, Are you using a relative url to reference the image? Remember that Fop will use the current dir of the servlet engine's VM, not the directory of your source fo. This will not generate an exception, but a warning (I believe) - does the system.out log have anything to say for itself? Or is Fop's message generation set to NONE? HTH, JT -Original Message- From: Runar Bjarnason [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 11:55 AM To: '[EMAIL PROTECTED]' Subject: images from a servlet? Hi. I'm able to get images in my pdf output when running fop from the command line, but when I embed it in a servlet (used the example in the FAQ), no images appear. There is no exception or anything like that. The images simply don't show up. Is there any known issue with certain JVMs or something that might be causing images not to appear? I'm running WebSphere 3.5 with Java 1.2.2. The FO file I'm trying is the images.fo from the examples dir. By the way, is there an effort underway to make a FOP API that conforms to Java 1.2 and the new J2EE 1.3 javax.xml packages? I find the current architecture rather inflexible (procedural programming practices abounds). Thanks, Runar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: images from a servlet?
At 09:24 PM 8/1/01 -0500, Runar Bjarnason wrote: By the way, is there an effort underway to make a FOP API that conforms to Java 1.2 and the new J2EE 1.3 javax.xml packages? I find the current architecture rather inflexible (procedural programming practices abounds). OK, you've got me a little bit curious. :-) What do you consider to be an example of bad procedural programming in FOP? I'm sure we have plenty of it; I'm just wondering where you think it is obscuring the implementation and _should_, rather than _could_, be replaced by pure OO? I don't think that the processing of XSL FO is necessarily or naturally best represented as something to be solved by pure OO. My gut feeling is that the nicest solution is a hybrid - some aspects (such as properties) are handled through OO, and the actual formatting is handled procedurally. Not that FOP does it like that, that's just my personal opinion. I'm sure that one can come up with really nice pure-OO solutions, but I'm just as sure that very nice hybrid or pure-procedural solutions are possible, too. Also, exactly what do you mean by API? That means almost anything these days (usually it means we're not particularly interested in doing the work of writing an implementation, but we'd like to hijack the technology. As in, Sun defines all the APIs for J2EE, but they have yet to write a reference implementation that conforms or works...even a production implementation for that matter, but I'll name no names). If you mean are we interested in well-known, stable interfaces for invoking FOP, configuring FOP, and plugging in different renderers, yes, we already pretty much have an API. Although it's always open for improvement. Regards, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: images, xsl:fo rookie question
On Friday, July 20, Thieler Jens wrote: I suppose this question to be OT even in fop-user. Anyhow, study the appended code and above all study some XSLT tutorials. ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; xsl:template match=/ fo:root xsl:apply-templates / /fo:root /xsl:template xsl:template match=//PICTURE fo:block fo:external-graphic xsl:attribute name=src xsl:textfile:/xsl:text xsl:value-of select=@source / /xsl:attribute /fo:external-graphic /fo:block /xsl:template xsl:template match=//PUNCTURE xsl:variable name=source xsl:value-of select=@source / /xsl:variable fo:block fo:external-graphic src=file:{$source} / /fo:block /xsl:template /xsl:stylesheet -Original Message- From: Darrel Riekhof [mailto:[EMAIL PROTECTED]] Sent: Thursday, 2 August 2001 12:01 To: '[EMAIL PROTECTED]' Subject: images, xsl:fo rookie question I can't figure out how to pull a url to an image from my xml file into the .fo file via xsl. In my xml file, I have a tag like this: logoURLhttp://blah/images/blah.jpg/logoURL The .fo examples show inserting an image like this: fo:external-graphic src=http://blah/images/blah.gif/ How do I get an xsl command like this to execute inside the quotes of the src attrib to pull the url from the xml file? xsl:value-of select=logoURL/ Darrel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[Bug 2959] New: - number-rows-spanned
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2959 *** shadow/2959 Wed Aug 1 20:35:55 2001 --- shadow/2959.tmp.3641Wed Aug 1 20:35:55 2001 *** *** 0 --- 1,26 + ++ + | number-rows-spanned| + ++ + |Bug #: 2959Product: Fop | + | Status: NEW Version: 0.17| + | Resolution:Platform: PC | + | Severity: Critical OS/Version: Windows 9x | + | Priority: Other Component: page-master/layout | + ++ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED]| + | CC list: Cc: | + ++ + | URL: | + ++ + | DESCRIPTION | + I cán´t use the propertie number-rows-spanned, Fop show me a menssage error, + and this menssage tel for me that a don´t put the number of cell's that it + especified in the number of columns. + File headfoo.fo that try to explain how to use table in fop have the same + problem when try to transform + WARNING: Number of cell columns under table-row not equal to number of table- + columns + ps: sory me about my english but i'm a brazilian studant and i have to do a job + to my school under XMLXSL - FO - PDF + thank you \ No newline at end of file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Mark's patch and code formatting
I styled all the files I changed and committed the code. By the way, I'm mentioning this because the commit message was so large some mail relays may not have transmitted it. -Steve -Original Message- From: COFFMAN Steven Sent: Wednesday, August 01, 2001 6:49 PM To: '[EMAIL PROTECTED]' Subject: Mark's patch and code formatting Ok, I hate to do more than two things in a commit, so I just applied Mark's original patch to CVS. If it breaks anything, it will be easier to track down the cause than if I did anything else at the same time. I missed Tore's codeformatting patch, and didn't codeformat it myself. I'm going to use astyle -a -s4 javafile and commit in a sec. If astyle breaks something, I want it to be a seperate issue than from my interpretation of Mark's patch. Marker support is broken until the areaTree methods (getPreviousPage and getNextPage) are reimplemented in StreamRenderer. It shouldn't be too difficult, but I again like to make my commits atomic. -Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Structured xml to xsl-fo conversion?????
Dear sir, How can i convert my structured xml documents directly to xsl-fo. if there any class provided with fop which can do this. thanx in advance sunitha Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
xml to xsl-fo
Dear sir, How can i convert my structured xml documents directly to xsl-fo. if there any class provided with fop which can do this. thanx in advance sunitha Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]