AW: barcode4j NoSuchMethod Exception
Hi Jeremias, thanks for your immediate help but I tried it first with the provided file in the dist. After that was not succesfull I tried with the newest avalon-framework and then even tried with upgrading jre to 1.4.2_07 Dont know what to do next, thanks in advance for your contribution to this fine list. you most probably overlooked an item in [1]. From that page: Important: When you use FOP 0.20.5 together with Barcode4J, make sure you use the version of Avalon Framework that comes with Barcode4J (or the latest release of Avalon Framework). The version from FOP is slightly out-of-date. [1] http://barcode4j.krysalis.org/fop-ext.html -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.5.1 - Release Date: 27.02.2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: barcode4j NoSuchMethod Exception
Hi David, I've just rechecked everything. The Avalon Framework JAR distributed with FOP 0.20.5 is lacking (among other things necessary for Barcode4J) exactly the method that you showed in your stack trace. Barcode4J 1.0 comes with avalon-framework-4.1.5.jar which has the necessary methods. I suspect you didn't remove the old avalon-framework-cvs-20020806.jar that comes with FOP from the classpath. If you have two versions of the same JAR in the classpath, the JVM will pick the first it encounters. Maybe you're running Tomcat or another web/application container that picks up JAR by scanning directories. You have to make sure there's no old avalon-framework JAR lying around. Upgrading the JVM will not help in this case. I've also tried with avalon-framework-4.2.0. It works. Good luck. On 01.03.2005 06:42:51 David Preuss wrote: Hi Jeremias, thanks for your immediate help but I tried it first with the provided file in the dist. After that was not succesfull I tried with the newest avalon-framework and then even tried with upgrading jre to 1.4.2_07 Dont know what to do next, thanks in advance for your contribution to this fine list. you most probably overlooked an item in [1]. From that page: Important: When you use FOP 0.20.5 together with Barcode4J, make sure you use the version of Avalon Framework that comes with Barcode4J (or the latest release of Avalon Framework). The version from FOP is slightly out-of-date. [1] http://barcode4j.krysalis.org/fop-ext.html Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
re:barcode4j NoSuchMethod Exception
Dear Jeremias, (B (BI got it. somehow strange but in the build directory of the fop dist I (Bfound one of the outdated avalon jars. After removing this it worked like (Ba charm. Thanks for providing so much help, (B (Bcheers (B (BDavid (B (B (B- (BTo unsubscribe, e-mail: [EMAIL PROTECTED] (BFor additional commands, e-mail: [EMAIL PROTECTED]
Re: barcode4j NoSuchMethod Exception
I'm glad you were able to solve the problem. Just an additional comment: The following JARs are not needed by Barcode4J's FOP extension: - commons-cli-1.0.jar (only used for the command-line of B4J) - jdom.jar (The FOP extension uses a W3C DOM) On 01.03.2005 09:43:08 d.preuss wrote: Hello Jeremias, Barcode4J 1.0 comes with avalon-framework-4.1.5.jar which has the necessary methods. I suspect you didn't remove the old avalon-framework-cvs-20020806.jar that comes with FOP from the classpath. If you have two versions of the same JAR in the classpath, the JVM will pick the first it encounters. Here is what i have in my start batch: set LIBDIR=%LOCAL_FOP_HOME%lib set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.6.0.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.5.2.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-4.2.0.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\barcode4j.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\barcode4j-fop-ext-0.20.5.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\commons-cli-1.0.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jdom.jar I also removed all old files of avalon. Is there a possiblity to check during a run which avalon version the process uses? Are there other dirs where the files (avalon) could reside? Thanks for your help, David Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Upper Limit on XML File Size?
I'm sorry for not being able to reply properly to the mail in question, and I hope you can bear over with me that I forge this reply like this. Ram Krishnamoorthi wrote: I am calling the Transformation from the command line and attempting to create a FO Object xalan.sh -IN XMLFile -XSL XSLFile -OUT FOFileName Try: xalan.sh -flavor s2s -IN XMLFile -XSL XSLFile -OUT FOFileName On my system this tends to work better with large files, and I guess it's due to the simplistic nature of sax parsing. I also guess that certain transformations will suffer greatly in performance, although I have done no testing to assert so. Regards Per Gunnar Hansø - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CMYK ... the return ;)
Hi everyone ;) At first, i want to thanx all of FOP developpers for this great piece of software ;) you rocks, guys ;) I hope the new branch will come to life soon ;) The reason of this post is that i'm in need of a fo processor that support CMYK... This question has been ask many times on this ML.. and i'm sorry to ask it once again... But what about a FOP 0.20.5 CMYK extension ? Has someone develloped such a thing ? If not, someone can give me tricks for integrating support for this in FOP ? (via rgb-icc and color-profile ??) (other ways ?) . Thanx for help Pierre-Yves Landuré - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FOP inside Tomcat 5
Hello List I Use FOP to generate a PDF File from a SVG Grafik When I Use the Servlet Code from a Standalone Appication everything woks fine. But when the Code is called from the Servlet Container (Tomcat) I got this strange Error java.lang.NoSuchMethodError: org.apache.batik.bridge.UnitProcessor.createContext(Lorg/apache/batik/bridge/BridgeContext;Lorg/w3c/dom/Element;)Lorg/apache/batik/util/UnitProcessor$Context; org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:107) org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:85) org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:129) org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181) org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:188) org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.fop.apps.Driver.render(Driver.java:498) org.apache.fop.apps.Driver.run(Driver.java:565) schedule.FOPrintRenderer.render(FOPrintRenderer.java:36) servlets.BauplanAction.doGet(BauplanAction.java:195) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) kampf.filter.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:212) I think it could be a correlation with Sax Parser implementation and Tomcat ? I'm very happy If someone can help me Best Regards Joern - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP inside Tomcat 5
Hi all , I am conversant with using FOP from DOS mode, How to use it or to start using it with servlet. any help greatly appreciated Regards Eugene [EMAIL PROTECTED] 01.03.2005 16:23 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject FOP inside Tomcat 5 Hello List I Use FOP to generate a PDF File from a SVG Grafik When I Use the Servlet Code from a Standalone Appication everything woks fine. But when the Code is called from the Servlet Container (Tomcat) I got this strange Error java.lang.NoSuchMethodError: org.apache.batik.bridge.UnitProcessor.createContext(Lorg/apache/batik/bridge/BridgeContext;Lorg/w3c/dom/Element;)Lorg/apache/batik/util/UnitProcessor$Context; org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:107) org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:85) org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:129) org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181) org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:188) org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.fop.apps.Driver.render(Driver.java:498) org.apache.fop.apps.Driver.run(Driver.java:565) schedule.FOPrintRenderer.render(FOPrintRenderer.java:36) servlets.BauplanAction.doGet(BauplanAction.java:195) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) kampf.filter.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:212) I think it could be a correlation with Sax Parser implementation and Tomcat ? I'm very happy If someone can help me Best Regards Joern - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP inside Tomcat 5
It seems that you have some classloading issue, or wrong jar bundled with your application. Or your classloader is going amok... regards, --- [EMAIL PROTECTED] wrote: Hello List I Use FOP to generate a PDF File from a SVG Grafik When I Use the Servlet Code from a Standalone Appication everything woks fine. But when the Code is called from the Servlet Container (Tomcat) I got this strange Error java.lang.NoSuchMethodError: org.apache.batik.bridge.UnitProcessor.createContext(Lorg/apache/batik/bridge/BridgeContext;Lorg/w3c/dom/Element;)Lorg/apache/batik/util/UnitProcessor$Context; org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:107) org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:85) org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:129) org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181) org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:188) org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.fop.apps.Driver.render(Driver.java:498) org.apache.fop.apps.Driver.run(Driver.java:565) schedule.FOPrintRenderer.render(FOPrintRenderer.java:36) servlets.BauplanAction.doGet(BauplanAction.java:195) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) kampf.filter.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:212) I think it could be a correlation with Sax Parser implementation and Tomcat ? I'm very happy If someone can help me Best Regards Joern - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = [ Konstantin Pribluda ( ko5tik ) ] Plugins for xdoclet-2 are released. check it out at: http://www.sourceforge.net/projects/xdoclet-plugins/ [ http://www.pribluda.de ] __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fo:flow must contain block-level children
I get the following error fo:flow must contain block-level children when I don't have the matching elements in my xml by using the following code generates the error. fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:flow /fo:page-sequence If I replace the above code with the code below I get an extra blank page and I want to suppress this blank page fo:page-sequence master-reference=page3 fo:flow flow-name=body3 fo:block xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:block /fo:flow /fo:page-sequence Thanks -Neeru -- Le présent message ainsi que ses éventuelles pièces jointes est exclusivement destiné au(x) destinataire(s), personnes physiques ou morales, qu'il désigne. Il constitue de ce fait une correspondance à caractère privé et peut contenir des informations confidentielles. Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser immédiatement l'expéditeur par retour de courrier électronique puis de le détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de copie. This message, including any attachment, is intended for the use of the individual or entity to which it is addressed. It is therefore to be considered as a private correspondence which may contain confidential information. If you are not the intended recipient, please advise the sender immediately by reply e.mail and delete this message and any attachment thereto without retaining a copy. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: flow must contain block-level children
Neeru, You can test if there are any occurrences of CodeDecode, if not then just write out an empty block: fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:choose xsl:when test=0 lt; count(CodeDecode) xsl:apply-templates select=CodeDecode / /xsl:when xsl:otherwise fo:block / /xsl:otherwise xsl:choose /fo:flow /fo:page-sequence Regards, Dennis JD Myrén Developer Oslo Kodebureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 1. mars 2005 16:36 To: [EMAIL PROTECTED] Subject: fo:flow must contain block-level children I get the following error fo:flow must contain block-level children when I don't have the matching elements in my xml by using the following code generates the error. fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:flow /fo:page-sequence If I replace the above code with the code below I get an extra blank page and I want to suppress this blank page fo:page-sequence master-reference=page3 fo:flow flow-name=body3 fo:block xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:block /fo:flow /fo:page-sequence Thanks -Neeru -- Le présent message ainsi que ses éventuelles pièces jointes est exclusivement destiné au(x) destinataire(s), personnes physiques ou morales, qu'il désigne. Il constitue de ce fait une correspondance à caractère privé et peut contenir des informations confidentielles. Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser immédiatement l'expéditeur par retour de courrier électronique puis de le détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de copie. This message, including any attachment, is intended for the use of the individual or entity to which it is addressed. It is therefore to be considered as a private correspondence which may contain confidential information. If you are not the intended recipient, please advise the sender immediately by reply e.mail and delete this message and any attachment thereto without retaining a copy. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: fo:flow must contain block-level children
The problem I think is with your XSLT--you should not output an fo:page-sequence if you have no block-level children to generate to begin with. I'm not an XSLT guru, but I don't think it is that hard to do. Would anyone have a sample? Thanks, Glen --- [EMAIL PROTECTED] wrote: I get the following error fo:flow must contain block-level children when I don't have the matching elements in my xml by using the following code generates the error. fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:flow /fo:page-sequence If I replace the above code with the code below I get an extra blank page and I want to suppress this blank page fo:page-sequence master-reference=page3 fo:flow flow-name=body3 fo:block xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:block /fo:flow /fo:page-sequence Thanks -Neeru -- Le présent message ainsi que ses éventuelles pièces jointes est exclusivement destiné au(x) destinataire(s), personnes physiques ou morales, qu'il désigne. Il constitue de ce fait une correspondance à caractère privé et peut contenir des informations confidentielles. Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser immédiatement l'expéditeur par retour de courrier électronique puis de le détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de copie. This message, including any attachment, is intended for the use of the individual or entity to which it is addressed. It is therefore to be considered as a private correspondence which may contain confidential information. If you are not the intended recipient, please advise the sender immediately by reply e.mail and delete this message and any attachment thereto without retaining a copy. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: flow must contain block-level children
It looks to me like the test needs to wrap the page sequence. That way, if there are any occurrences of CodeDecode they are written in a page sequence, otherwise no page is writte (empty or otherwise). xsl:if test=0 lt; count(CodeDecode) fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode/ /fo:flow /fo:page-sequence /xsl:if Does that make sense? Mark Lawford Analyst Programmer CIO - Hastings Mid Range Services Cavendish House, Castle Street, Hastings, East Sussex TN34 3DY * 01424 4533018/ (7) 4274 3018 * 07957 280 811 * [EMAIL PROTECTED] * Mail Van E -Original Message- From: Dennis Myrén [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 15:57 To: fop-user Subject: RE: flow must contain block-level children Neeru, You can test if there are any occurrences of CodeDecode, if not then just write out an empty block: fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:choose xsl:when test=0 lt; count(CodeDecode) xsl:apply-templates select=CodeDecode / /xsl:when xsl:otherwise fo:block / /xsl:otherwise xsl:choose /fo:flow /fo:page-sequence Regards, Dennis JD Myrén Developer Oslo Kodebureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 1. mars 2005 16:36 To: [EMAIL PROTECTED] Subject: fo:flow must contain block-level children I get the following error fo:flow must contain block-level children when I don't have the matching elements in my xml by using the following code generates the error. fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:flow /fo:page-sequence If I replace the above code with the code below I get an extra blank page and I want to suppress this blank page fo:page-sequence master-reference=page3 fo:flow flow-name=body3 fo:block xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:block /fo:flow /fo:page-sequence Thanks -Neeru -- Le présent message ainsi que ses éventuelles pièces jointes est exclusivement destiné au(x) destinataire(s), personnes physiques ou morales, qu'il désigne. Il constitue de ce fait une correspondance à caractère privé et peut contenir des informations confidentielles. Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser immédiatement l'expéditeur par retour de courrier électronique puis de le détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de copie. This message, including any attachment, is intended for the use of the individual or entity to which it is addressed. It is therefore to be considered as a private correspondence which may contain confidential information. If you are not the intended recipient, please advise the sender immediately by reply e.mail and delete this message and any attachment thereto without retaining a copy. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message. Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays Group for operational or business reasons. Barclays Bank PLC. Authorised and regulated by the Financial Services Authority. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: flow must contain block-level children
I don't think that helps, because he still gets the empty fo:block and hence the blank page. But by rearranging your code, perhaps this will work instead: xsl:choose xsl:when test=0 lt; count(CodeDecode) fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode / /fo:flow /fo:page-sequence /xsl:when xsl:otherwise /xsl:otherwise xsl:choose I think this will work. No fo:page-sequence--and hence no blank page--will be output if there is no data. Glen --- Dennis Myrén [EMAIL PROTECTED] wrote: Neeru, You can test if there are any occurrences of CodeDecode, if not then just write out an empty block: fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:choose xsl:when test=0 lt; count(CodeDecode) xsl:apply-templates select=CodeDecode / /xsl:when xsl:otherwise fo:block / /xsl:otherwise xsl:choose /fo:flow /fo:page-sequence Regards, Dennis JD Myrén Developer Oslo Kodebureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 1. mars 2005 16:36 To: [EMAIL PROTECTED] Subject: fo:flow must contain block-level children I get the following error fo:flow must contain block-level children when I don't have the matching elements in my xml by using the following code generates the error. fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:flow /fo:page-sequence If I replace the above code with the code below I get an extra blank page and I want to suppress this blank page fo:page-sequence master-reference=page3 fo:flow flow-name=body3 fo:block xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:block /fo:flow /fo:page-sequence Thanks -Neeru -- Le présent message ainsi que ses éventuelles pièces jointes est exclusivement destiné au(x) destinataire(s), personnes physiques ou morales, qu'il désigne. Il constitue de ce fait une correspondance à caractère privé et peut contenir des informations confidentielles. Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser immédiatement l'expéditeur par retour de courrier électronique puis de le détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de copie. This message, including any attachment, is intended for the use of the individual or entity to which it is addressed. It is therefore to be considered as a private correspondence which may contain confidential information. If you are not the intended recipient, please advise the sender immediately by reply e.mail and delete this message and any attachment thereto without retaining a copy. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: flow must contain block-level children
Yes, of course. Sorry. Regards, Dennis JD Myrén Developer Oslo Kodebureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: 1. mars 2005 17:14 To: [EMAIL PROTECTED] Subject: RE: flow must contain block-level children I don't think that helps, because he still gets the empty fo:block and hence the blank page. But by rearranging your code, perhaps this will work instead: xsl:choose xsl:when test=0 lt; count(CodeDecode) fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode / /fo:flow /fo:page-sequence /xsl:when xsl:otherwise /xsl:otherwise xsl:choose I think this will work. No fo:page-sequence--and hence no blank page--will be output if there is no data. Glen --- Dennis Myrén [EMAIL PROTECTED] wrote: Neeru, You can test if there are any occurrences of CodeDecode, if not then just write out an empty block: fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:choose xsl:when test=0 lt; count(CodeDecode) xsl:apply-templates select=CodeDecode / /xsl:when xsl:otherwise fo:block / /xsl:otherwise xsl:choose /fo:flow /fo:page-sequence Regards, Dennis JD Myrén Developer Oslo Kodebureau Tel: (+47) 98 00 11 92 Mail: [EMAIL PROTECTED] Web: www.oslokb.no -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 1. mars 2005 16:36 To: [EMAIL PROTECTED] Subject: fo:flow must contain block-level children I get the following error fo:flow must contain block-level children when I don't have the matching elements in my xml by using the following code generates the error. fo:page-sequence master-reference=page3 fo:flow flow-name=body3 xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:flow /fo:page-sequence If I replace the above code with the code below I get an extra blank page and I want to suppress this blank page fo:page-sequence master-reference=page3 fo:flow flow-name=body3 fo:block xsl:apply-templates select=CodeDecode /xsl:apply-templates /fo:block /fo:flow /fo:page-sequence Thanks -Neeru -- Le présent message ainsi que ses éventuelles pièces jointes est exclusivement destiné au(x) destinataire(s), personnes physiques ou morales, qu'il désigne. Il constitue de ce fait une correspondance à caractère privé et peut contenir des informations confidentielles. Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser immédiatement l'expéditeur par retour de courrier électronique puis de le détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de copie. This message, including any attachment, is intended for the use of the individual or entity to which it is addressed. It is therefore to be considered as a private correspondence which may contain confidential information. If you are not the intended recipient, please advise the sender immediately by reply e.mail and delete this message and any attachment thereto without retaining a copy. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
international conference on Scalable Vector Graphics
Dear Batik- and FOP-users, I hereby like to bring SVG Open 2005 to your attention. At this 4th international conference and exhibition on Scalable Vector Graphics the versatility of the format will be shown by a broad range of applications and professional backgrounds of the attendees from around the world. We encourage you to, next to attend, also actively participate, see our call for participation http://www.svgopen.org/2005/cfp.html Short abstracts for presenting a paper, teaching a course or organizing a panel discussion should be in soon. Because i just found out this mail was not sent by the server a few weeks ago, we´ll of course be a little flexible with the deadline (cause that´s today) Looking forward to your input, Ruud Steltenpool SVG Open 2005 team PS: Cause it´s around the deadline i see a new abstract about every hour :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
check to see if newpage is created
Hi, I am displaying some text on one of the pages, and some times the text might be long enough that a new page is created. Is there a way to check if a new page is created so I put some page title eg. (cont...) or something else. Thanks Jaysheel. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: check to see if newpage is created
If you are using static-content blocks to create headers and footers, you'll automatically get that content on the new page. You can also put a running title in the header or footer. If you make the header area big enough and apply the same style choices to the running title, I suppose you could make it like like a continued title (perhaps even with the word continued after the title). As a rule, that's OK in short (two pages or so) documents but will be seen as heavy-handed for long documents. If you want to insert a new title in the body of the document each time a new page is created, I think you're out of luck. I don't believe FOP offers a mechanism to detect when a flow has crossed a page boundary. I don't think this is a weakness of FOP, by the way. I'm pretty sure the FO spec offers no such mechanism, so any compliant implementation of the spec does not have that feature. (I have qualified all my statements because I have not taken the time to go check the spec.) HTH Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) Jaysheel Bhavsar [EMAIL PROTECTED] 03/01/2005 04:08 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject check to see if newpage is created Hi, I am displaying some text on one of the pages, and some times the text might be long enough that a new page is created. Is there a way to check if a new page is created so I put some page title eg. (cont...) or something else. Thanks Jaysheel. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: check to see if newpage is created
I think he can, although I don't have an exact example for him--[1] may come close. It would be convoluted, and I'm unsure whether it works in FOP, but: Basically, he wants the static header to be different on pages after one, if there is more than one page. That normally indicates using a fo:page-sequence-master with maximum-repeats = 1 (see line 26 of [1]) for the first fo:repeatable-page-master-reference, and no-limit for the second, with the two fo:r-p-m-r using different fo:simple-page-masters. The first fo:s-p-m would be same as what he's currently using, the second fo:s-p-m would be the same as the first, *except* that fo:region-before would have a different region-name property (say show-contd-msg) Next, within the fo:page-sequence, construct two fo:static-contents for the differing headers (see line 38), one having a flow-name of xsl-region-before, and the other having a flow-name of show-contd-msg (which has the cont'd message). The first fo:s-c will be activated for the first page, and the second fo:s-c will activated for all other pages. HTH, Glen [1] http://tinyurl.com/4mwdc --- [EMAIL PROTECTED] wrote: If you are using static-content blocks to create headers and footers, you'll automatically get that content on the new page. You can also put a running title in the header or footer. If you make the header area big enough and apply the same style choices to the running title, I suppose you could make it like like a continued title (perhaps even with the word continued after the title). As a rule, that's OK in short (two pages or so) documents but will be seen as heavy-handed for long documents. If you want to insert a new title in the body of the document each time a new page is created, I think you're out of luck. I don't believe FOP offers a mechanism to detect when a flow has crossed a page boundary. I don't think this is a weakness of FOP, by the way. I'm pretty sure the FO spec offers no such mechanism, so any compliant implementation of the spec does not have that feature. (I have qualified all my statements because I have not taken the time to go check the spec.) HTH Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) Jaysheel Bhavsar [EMAIL PROTECTED] 03/01/2005 04:08 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject check to see if newpage is created Hi, I am displaying some text on one of the pages, and some times the text might be long enough that a new page is created. Is there a way to check if a new page is created so I put some page title eg. (cont...) or something else. Thanks Jaysheel. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
re:barcode4j NoSuchMethod Exception
Hello Jeremias, (B (BBarcode4J 1.0 comes with avalon-framework-4.1.5.jar which has the (Bnecessary methods. I suspect you didn't remove the old (Bavalon-framework-cvs-20020806.jar that comes with FOP from the (Bclasspath. If you have two versions of the same JAR in the classpath, (Bthe JVM will pick the first it encounters. (B (BHere is what i have in my start batch: (B (Bset LIBDIR=%LOCAL_FOP_HOME%lib (Bset LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.6.0.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.5.2.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-4.2.0.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\barcode4j.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\barcode4j-fop-ext-0.20.5.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\commons-cli-1.0.jar (Bset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jdom.jar (B (BI also removed all old files of avalon. Is there a possiblity to check (Bduring a run which avalon version the process uses? Are there other dirs (Bwhere the files (avalon) could reside? (B (BThanks for your help, (B (BDavid (B (B (B- (BTo unsubscribe, e-mail: [EMAIL PROTECTED] (BFor additional commands, e-mail: [EMAIL PROTECTED]