Re: FOP conformance
I'm glad to see this will be getting done. I had thought of doing it, but I'm trying not to get distracted and to devote what little time I have (which is likely not to improve for the next two weeks unfortunately) to the new FOP. Since I'm going to be talking about XSL-FO at the XML 2001 conference in 10 days, I would have been a bit unhappy to admit that there is no version of FOP which handles the final XSL recommendation syntax. I think there are a few bug fixes and table improvements in the current maintenance branch which I committed just after 0-20.2-RC was out, and which may help some FOP users. I've also seen some recent complaints about Fop's famous looping behavior when any object won't fit on the page, including a set of spanned table rows. I think it would at least be worthwhile trying to make a set of spanning rows breakable. If Arved, Christian or someone else could look at this, I'd be happy to give a few pointers. Regards, Karen Arved Sandstrom wrote: And between me and Christian I think we will see to it that this change, at least, gets done and is reflected in a maintenance release, which I suggest should appear NLT Dec 15. In other words, I accept your argument (that was never in question). It's a resource thing...Keiron and Karen (and some others, such as Peter West) are looking at the rewrite, so it's up to the rest of us to do stuff like this. AHS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Relative file URI's on Windows
Is there any way to get relative file URI's to work on Windows? I think I've tried almost everything. Torkild Ulvøy Resheim Emma EDB AS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/render/ps PSRenderer.java PSStream.java
tore01/12/02 14:17:30 Modified:src/codegen Tag: fop-0_20_2-maintain foproperties.xml src/org/apache/fop/datatypes Tag: fop-0_20_2-maintain ColorSpace.java src/org/apache/fop/fo Tag: fop-0_20_2-maintain FOText.java src/org/apache/fop/fonts Tag: fop-0_20_2-maintain TTFFile.java src/org/apache/fop/image Tag: fop-0_20_2-maintain AbstractFopImage.java FopImage.java FopImageFactory.java JpegImage.java src/org/apache/fop/image/analyser Tag: fop-0_20_2-maintain ImageReaderFactory.java src/org/apache/fop/layout Tag: fop-0_20_2-maintain FontState.java src/org/apache/fop/pdf Tag: fop-0_20_2-maintain PDFDocument.java PDFT1Stream.java PDFTTFStream.java PDFXObject.java src/org/apache/fop/render/pdf Tag: fop-0_20_2-maintain PDFRenderer.java src/org/apache/fop/render/ps Tag: fop-0_20_2-maintain PSRenderer.java PSStream.java Added: src/org/apache/fop/image Tag: fop-0_20_2-maintain EPSImage.java src/org/apache/fop/image/analyser Tag: fop-0_20_2-maintain EPSReader.java src/org/apache/fop/pdf Tag: fop-0_20_2-maintain PDFICCStream.java Log: Support for CMYK and embedded ICC profiles in jpeg images Support for jpeg images in PS Renderer Support for EPS images in PostScript renderer and limited EPS support in PDF Renderer Bugfix for TTFReader (submitted by Cristi Ruja, [EMAIL PROTECTED]) Support for letterspacing (submitted by Raymond Penners [EMAIL PROTECTED]) Revision ChangesPath No revision No revision 1.25.2.1 +200 -200 xml-fop/src/codegen/foproperties.xml Index: foproperties.xml === RCS file: /home/cvs/xml-fop/src/codegen/foproperties.xml,v retrieving revision 1.25 retrieving revision 1.25.2.1 diff -u -r1.25 -r1.25.2.1 --- foproperties.xml 2001/10/14 20:27:56 1.25 +++ foproperties.xml 2001/12/02 22:17:28 1.25.2.1 @@ -1,212 +1,212 @@ ?xml version=1.0 standalone=yes ? property-list family=FO generic-property-list - property type=generic - namegeneric-color/name - class-nameGenericColor/class-name - datatypeColorType/datatype - extfile href=colorkw.xml/ +property type=generic +namegeneric-color/name +class-nameGenericColor/class-name +datatypeColorType/datatype +extfile href=colorkw.xml/ !-- - datatype-conversion from-type=String varname=strval - new ColorType(strval)/datatype-conversion +datatype-conversion from-type=String varname=strval + new ColorType(strval)/datatype-conversion -- - /property - property type=generic - namegeneric-boolean/name - class-nameGenericBoolean/class-name - datatypeEnum/datatype - enumeration - value const=TRUEtrue/value - value const=FALSEfalse/value - /enumeration - /property - property type=generic - namegeneric-keep/name - class-nameGenericKeep/class-name - datatypeKeep/datatype !-- CompoundDatatype -- - compound - subproperty set-by-shorthand=true - namewithin-page/name - datatypeNumber/datatype - defaultauto/default - enumeration - value const=AUTOauto/value - value const=ALWAYSalways/value - /enumeration - /subproperty - subproperty set-by-shorthand=true - namewithin-line/name - datatypeNumber/datatype - defaultauto/default - enumeration - value const=AUTOauto/value - value const=ALWAYSalways/value - /enumeration - /subproperty - subproperty set-by-shorthand=true - namewithin-column/name - datatypeNumber/datatype - defaultauto/default - enumeration - value const=AUTOauto/value - value const=ALWAYSalways/value - /enumeration -
cvs commit: xml-fop/hyph pl.xml
tore01/12/02 14:19:09 Added: hyph Tag: fop-0_20_2-maintain pl.xml Log: Submitted by: Marcin Kuthan [[EMAIL PROTECTED]] Polish hyphenation based on TeX hyphenation patterns Revision ChangesPath No revision No revision 1.1.2.1 +4174 -0 xml-fop/hyph/Attic/pl.xml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop CHANGES
tore01/12/02 14:20:02 Modified:.Tag: fop-0_20_2-maintain CHANGES Log: Updated to reflect changes. Revision ChangesPath No revision No revision 1.10.2.1 +18 -2 xml-fop/CHANGES Index: CHANGES === RCS file: /home/cvs/xml-fop/CHANGES,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -u -r1.10 -r1.10.2.1 --- CHANGES 2001/10/14 20:52:59 1.10 +++ CHANGES 2001/12/02 22:20:02 1.10.2.1 @@ -1,5 +1,15 @@ == Done since 0.20.2 release +*** General +- Support for CMYK and embedded ICC profiles in jpeg images (Tore Engvig) +- Support for jpeg images in PS Renderer (Tore Engvig) +- Add support for EPS images in PostScript renderer and limited EPS support in + PDF Renderer (Tore Engvig) +- fixed bug in TTFReader (unsigned lsb changed to signed) + Submitted by: Cristi Ruja, [EMAIL PROTECTED] +- Added Polish Hyphenation based on TeX hypenation + Submitted by: Marcin Kuthan [[EMAIL PROTECTED]] + *** Tables - Implement the proportional-column-width() function in table-column and make it possible to specify table width (or inline-progression-dimension) @@ -7,14 +17,20 @@ - Fix a bug causing strange layout when a cell containing a nested table was laid out again because another cell in the same row was split (David Dixon's example). (Karen Lease) + *** Datatypes - Rearrange the Length class hierarchy as part of the table-column proportional width work. (Karen Lease) + *** Areas - Fix BlockArea to account for padding and border when calculating space remaining for content. (Karen Lease) + *** Properties - Add support for inline-progression-dimension and table-layout. (Karen) +- Add support for letter-spacing. + Submitted by: Raymond Penners [EMAIL PROTECTED] + == Done since 0.20 release @@ -100,7 +116,7 @@ Submitted by: Jeremias Maerki [EMAIL PROTECTED] - (Options.java) fixed error where configfile was not being set (KLiddle) - (Options.java) Added patch for loading config via Thread ContextClassLoader -Submitted by:Davanum Srinivas +Submitted by: Davanum Srinivas - (StreamRenderer.java) This just moves the marker supporting code from before Mark's patch into StreamRenderer. Not tested. (SCoffman) @@ -577,7 +593,7 @@ - fixed: leader didn't fill rest of line in table of contents [Fotis Jannidis] - fixed: throws a more useful error if non-row inside table body [Keiron Liddle] - fixed: duplicate ID bug for tables that flow over a page [Keiron Liddle] -- fixed: empty flow bug [Kai Strackbein] +- fixed: empty flow bug [Kai Strackbein] - fixed: broken support of jdk 1.1 [Peter Housel] Done since 0.15 release - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FOP conformance
Christian Geisert wrote: [SNIP] I think too we should do a maintenance release (from 'fop-0_20_2-maintain' branch). I volunteer to do the necessary patches, do some testing etc. I just checked in some patches that's been floating around into the fop-0_20_2-maintain branch: * Raymond Penners' letter-spacing patch (with some changes to use the Tc operator in the PDF Renderer and ashow in the PSRenderer) * Marcin Kuthan's Polish Hyphenation patterns * Cristi Ruja sent a patch late august about a bug in TTFReader * My own jpeg and eps patches The simple-page-master stuff that originated the whole maintenance release and Karen's table suggestions are still left to be done (Christian?) Tore Regards, Keiron. Christian - 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: AW: Non existent tag error...
Well, delete the '@' and it works for tags too :) -Original Message- From: Beer, Christian [mailto:[EMAIL PROTECTED]] Sent: Friday, 30 November 2001 8:10 To: '[EMAIL PROTECTED]' Subject: AW: AW: Non existent tag error... Hi Darren! That's not completely righ. Your tests check if the attribute named tagname exists, not the tag named tagname. Christian -Ursprüngliche Nachricht- Von: Darren Munt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 29. November 2001 23:18 An: '[EMAIL PROTECTED]' Betreff: RE: AW: Non existent tag error... I've found that the test needs to encompass three possibilities: 1. That the tag is not present; 2. That the tag is empty (ie. tagname=''), or; 3. That the tag is present and contains a value. If you use test=@tagname, the test will be true in cases 2 and 3. However, if you use test=not(@tagname='') (or test=@tagname!='') then it will only be true for case 3, at least this is the case with the parser I use. So it depends on whether or not you want different behaviour when the tag is missing than you want when the tag is present but empty. -Original Message- From: bryan hansen [mailto:[EMAIL PROTECTED]] Sent: Friday, 30 November 2001 2:09 To: [EMAIL PROTECTED] Subject: Re: AW: Non existent tag error... I did not solve the problem, I was going to add the line that I said oops on in the original message, sorry for the confusion. I will try this and see if it works. Thanks, Bryan --- Beer, Christian [EMAIL PROTECTED] wrote: Hi Bryan, did you solve the problem, or what does the oops mean?? Anyway: xsl:when test=Transaction/Filing/OldFilingNumber != '' is not right, I think! Try: xsl:when test=Transaction/Filing/OldFilingNumber That is the right term, the book says so. Christian -Ursprüngliche Nachricht- Von: bryan hansen [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 28. November 2001 18:16 An: [EMAIL PROTECTED] Betreff: Re: Non existent tag error... Oops, line 87 is the line that does the xsl:when test! Bryan --- bryan hansen [EMAIL PROTECTED] wrote: I have some xsl that checks to see if a tag does not exist: fo:table-cell fo:block text-align=start xsl:choose xsl:when test=Transaction/Filing/OldFilingNumber != '' xsl:value-of select=Transaction/Filing/OldFilingNumber/ /xsl:when xsl:otherwise N/A /xsl:otherwise /xsl:choose /fo:block /fo:table-cell This was working correctly, but now I am getting an error: ; SystemID: http://utstbrucc2/ucc-ack.fo.xsl; Line#: 87; Column#: -1 javax.xml.transform.TransformerException: Unknown error in XPath The only thing that has changed was that I reinstalled fop? Am I missing a required jar or have a different version that would make this stop working? __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: AW: AW: Non existent tag error...
In my hurry, I accidentally put the attribute prefix ('@') in the examples, which I'm sure you worked out. Nevertheless, neither xsl:when test=Transaction/Filing/OldFilingNumber nor xsl:when test=Transaction/Filing/OldFilingNumber!='' should cause an xpath error per se. I would suggest you look elsewhere for the cause of your problem. The column number in that message looks a bit odd (-1). I'm not familiar with the way you are doing your transforms, maybe you could try a different parser and see if you get the same error? -Original Message- From: bryan hansen [mailto:[EMAIL PROTECTED]] Sent: Saturday, 1 December 2001 5:39 To: [EMAIL PROTECTED] Subject: Re: AW: AW: Non existent tag error... So I am not totally clear then, does Darrens method check to see if the tag exists then? Anyways, I am still getting the XPath error with his method. Any other suggestions? Thanks, Bryan --- Beer, Christian [EMAIL PROTECTED] wrote: Hi Darren! That's not completely righ. Your tests check if the attribute named tagname exists, not the tag named tagname. Christian -Ursprüngliche Nachricht- Von: Darren Munt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 29. November 2001 23:18 An: '[EMAIL PROTECTED]' Betreff: RE: AW: Non existent tag error... I've found that the test needs to encompass three possibilities: 1. That the tag is not present; 2. That the tag is empty (ie. tagname=''), or; 3. That the tag is present and contains a value. If you use test=@tagname, the test will be true in cases 2 and 3. However, if you use test=not(@tagname='') (or test=@tagname!='') then it will only be true for case 3, at least this is the case with the parser I use. So it depends on whether or not you want different behaviour when the tag is missing than you want when the tag is present but empty. -Original Message- From: bryan hansen [mailto:[EMAIL PROTECTED]] Sent: Friday, 30 November 2001 2:09 To: [EMAIL PROTECTED] Subject: Re: AW: Non existent tag error... I did not solve the problem, I was going to add the line that I said oops on in the original message, sorry for the confusion. I will try this and see if it works. Thanks, Bryan --- Beer, Christian [EMAIL PROTECTED] wrote: Hi Bryan, did you solve the problem, or what does the oops mean?? Anyway: xsl:when test=Transaction/Filing/OldFilingNumber != '' is not right, I think! Try: xsl:when test=Transaction/Filing/OldFilingNumber That is the right term, the book says so. Christian -Ursprüngliche Nachricht- Von: bryan hansen [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 28. November 2001 18:16 An: [EMAIL PROTECTED] Betreff: Re: Non existent tag error... Oops, line 87 is the line that does the xsl:when test! Bryan --- bryan hansen [EMAIL PROTECTED] wrote: I have some xsl that checks to see if a tag does not exist: fo:table-cell fo:block text-align=start xsl:choose xsl:when test=Transaction/Filing/OldFilingNumber != '' xsl:value-of select=Transaction/Filing/OldFilingNumber/ /xsl:when xsl:otherwise N/A /xsl:otherwise /xsl:choose /fo:block /fo:table-cell This was working correctly, but now I am getting an error: ; SystemID: http://utstbrucc2/ucc-ack.fo.xsl; Line#: 87; Column#: -1 javax.xml.transform.TransformerException: Unknown error in XPath The only thing that has changed was that I reinstalled fop? Am I missing a required jar or have a different version that would make this stop working? __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/svg PDFGraphics2D.java PDFTranscoder.java SVGUserAgent.java
keiron 01/12/02 23:40:17 Modified:lib Tag: fop-0_20_2-maintain batik.jar src/org/apache/fop/image/analyser Tag: fop-0_20_2-maintain SVGReader.java src/org/apache/fop/render/ps Tag: fop-0_20_2-maintain PSGraphics2D.java src/org/apache/fop/svg Tag: fop-0_20_2-maintain PDFGraphics2D.java PDFTranscoder.java SVGUserAgent.java Log: updated to latest batik, hopefully api compatible with upcoming 1.1 release Revision ChangesPath No revision No revision 1.5.2.1 +8759 -7747xml-fop/lib/batik.jar Binary file No revision No revision 1.12.2.1 +4 -1 xml-fop/src/org/apache/fop/image/analyser/SVGReader.java Index: SVGReader.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/analyser/SVGReader.java,v retrieving revision 1.12 retrieving revision 1.12.2.1 diff -u -r1.12 -r1.12.2.1 --- SVGReader.java2001/10/12 06:40:12 1.12 +++ SVGReader.java2001/12/03 07:40:17 1.12.2.1 @@ -1,5 +1,5 @@ /* - * $Id: SVGReader.java,v 1.12 2001/10/12 06:40:12 keiron Exp $ + * $Id: SVGReader.java,v 1.12.2.1 2001/12/03 07:40:17 keiron Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -160,6 +160,9 @@ return ; } +public boolean isXMLParserValidating() { +return true; +} /** * Returns the user stylesheet uri. No revision No revision 1.2.2.1 +5 -2 xml-fop/src/org/apache/fop/render/ps/PSGraphics2D.java Index: PSGraphics2D.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/render/ps/PSGraphics2D.java,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- PSGraphics2D.java 2001/07/30 20:29:33 1.2 +++ PSGraphics2D.java 2001/12/03 07:40:17 1.2.2.1 @@ -1,5 +1,5 @@ /* - * $Id: PSGraphics2D.java,v 1.2 2001/07/30 20:29:33 tore Exp $ + * $Id: PSGraphics2D.java,v 1.2.2.1 2001/12/03 07:40:17 keiron Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -39,7 +39,7 @@ * implementing a ttGraphic2D/tt piece-meal. * * @author a href=mailto:[EMAIL PROTECTED];Keiron Liddle/a - * @version $Id: PSGraphics2D.java,v 1.2 2001/07/30 20:29:33 tore Exp $ + * @version $Id: PSGraphics2D.java,v 1.2.2.1 2001/12/03 07:40:17 keiron Exp $ * @see org.apache.batik.ext.awt.g2d.AbstractGraphics2D */ public class PSGraphics2D extends AbstractGraphics2D { @@ -245,6 +245,9 @@ this.m_bitmaps = result; this.m_mask = mask; } +public boolean invertImage() { +return false; +} public String getURL() { return + m_bitmaps; No revision No revision 1.20.2.1 +6 -2 xml-fop/src/org/apache/fop/svg/PDFGraphics2D.java Index: PDFGraphics2D.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/PDFGraphics2D.java,v retrieving revision 1.20 retrieving revision 1.20.2.1 diff -u -r1.20 -r1.20.2.1 --- PDFGraphics2D.java2001/10/22 07:27:30 1.20 +++ PDFGraphics2D.java2001/12/03 07:40:17 1.20.2.1 @@ -1,5 +1,5 @@ /* - * $Id: PDFGraphics2D.java,v 1.20 2001/10/22 07:27:30 keiron Exp $ + * $Id: PDFGraphics2D.java,v 1.20.2.1 2001/12/03 07:40:17 keiron Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -43,7 +43,7 @@ * implementing a ttGraphic2D/tt piece-meal. * * @author a href=mailto:[EMAIL PROTECTED];Keiron Liddle/a - * @version $Id: PDFGraphics2D.java,v 1.20 2001/10/22 07:27:30 keiron Exp $ + * @version $Id: PDFGraphics2D.java,v 1.20.2.1 2001/12/03 07:40:17 keiron Exp $ * @see org.apache.batik.ext.awt.g2d.AbstractGraphics2D */ public class PDFGraphics2D extends AbstractGraphics2D { @@ -333,6 +333,10 @@ this.m_bitmaps = result; this.m_mask = mask; } + +public boolean invertImage() { +return false; +} public String getURL() { return + m_bitmaps; 1.11.2.1 +6 -2