Re: pdf serializer

2006-02-11 Thread Mike Casey
Fantastic I finally get it.I have a very nice looking hello world pdf :-)Thanks for you help guysMikeOn 2/11/06, Andrew Stevens <[EMAIL PROTECTED]> wrote:>From: Mike Casey < [EMAIL PROTECTED]>>Date: Sat, 11 Feb 2006 19:48:20 +1300>>Thanks for the response>>1)Yes Xindice is returning XML no problem

Re: pdf serializer

2006-02-11 Thread Andrew Stevens
From: Mike Casey <[EMAIL PROTECTED]> Date: Sat, 11 Feb 2006 19:48:20 +1300 Thanks for the response 1)Yes Xindice is returning XML no problem 2)What is valid xsl-fo code? If it helps the XHTML serializer, HTML serializer and text serializer are working correctly XSL Formatting Objects. In the

Re: pdf serializer

2006-02-10 Thread Mike Casey
mlgraphics.apache.org/fop/compliance.htmlMike Casey wrote:> Hi guys,>> I am currently trying to get the pdf serializer to work and am having> a rather large amount of difficulty. >> My serializer in the sitemap is declared as the default>> > mime-type="application/pdf

Re: pdf serializer

2006-02-10 Thread Antonio Gallardo
es not support [1] BTW, wich cocoon version are you using. Best Regards, Antonio Gallardo. [1] - http://xmlgraphics.apache.org/fop/compliance.html Mike Casey wrote: Hi guys, I am currently trying to get the pdf serializer to work and am having a rather large amount of difficulty. My ser

pdf serializer

2006-02-10 Thread Mike Casey
Hi guys,I am currently trying to get the pdf serializer to work and am having a rather large amount of difficulty.My serializer in the sitemap is declared as the default        becasue I am not interested in adding any extra configuration files. My pipeline when calling the pdf is

Re: pdf serializer encoding

2005-11-16 Thread Myriam Delperier
| I guess we'll have to change the name of | the transformer at some point... and keep this name for a transformer which really encodes (with a given encoding) given patterns :-) that would be great! - To unsubscribe, e-mail

Re: pdf serializer encoding

2005-11-16 Thread Bertrand Delacretaz
Le 16 nov. 05, à 11:18, Bertrand Delacretaz a écrit : Looks like the encoreURL transformer is not encoding... hmmm...cough...well...turns out that the EncodeURL transformer does *not* encode URLs as its name seems to indicate, it adds sessionIDs to them. I just checked the encodeurl-* test

Re: pdf serializer encoding

2005-11-16 Thread Myriam Delperier
| | you might want to use Java's urlencode function in your fo | | producing xslt you're right that's work great. As I'm using saxon as xsl transformer iIve something like : urle:encode(string($val), 'UTF-8') and xmlns:urle="java:java.net.URLEncoder" instead. But I don't know if this works wi

Re: pdf serializer encoding

2005-11-16 Thread Marc Portier
you might want to use Java's urlencode function in your fo producing xslt add xmlns:urlencoder="xalan://java.net.URLEncoder then use urlencoder:encode(@url,'UTF-8'); warnings: - this makes your xslt less portable of course, but it 'll nicely run in the cocoon env - watch out with

Re: pdf serializer encoding

2005-11-16 Thread Myriam Delperier
| | I'm not sure if it's a good idea to set the container-encoding to | | utf-8. Cocoon's web.xml says about the container-encoding: | | "Since the servlet specification requires that the ISO-8859-1 | | encoding | | is used (by default), you should never change this value unless you | | have a bug

Re: pdf serializer encoding

2005-11-16 Thread Josias Thoeny
On Wed, 2005-11-16 at 10:15 +0100, Myriam Delperier wrote: > | | Does it make a difference to set default encoding of Cocoon to > | | utf-8? I believe it is a property in the cocoon.xconf or perhaps > | | the web.xml. > > it's already the case, in my web.xml file I've : > > form-encoding > UTF

Re: pdf serializer encoding

2005-11-16 Thread Myriam Delperier
| Looks like the encoreURL transformer is not encoding - I'm not too | familiar with its details but you might want to try | | .*external-destination | | in case the namespace confuses it, or even | | .* i've this : .*/@external-destination|.*external-destination|.*|.*/@* none of those work, n

Re: pdf serializer encoding

2005-11-16 Thread Bertrand Delacretaz
Le 16 nov. 05, à 11:11, Myriam Delperier a écrit : ...I don't see any changes: external-destination="resultats-in.htmlq=finstitutiontype: |Servicegénéral|&base=institution&from1=rechterm&sf=ftitle">Service général im my sitemap I've : src="org.apache.cocoon.transformation.EncodeURLTransform

Re: pdf serializer encoding

2005-11-16 Thread Myriam Delperier
| What do you see at the output of the encodeURL transformer? | You can see this by replacing the fo2pdf serializer with an xml one, | or using a view. I don't see any changes: external-destination="resultats-in.htmlq=finstitutiontype:|Servicegénéral|&base=institution&from1=rechterm&sf=ftitle">Se

Re: pdf serializer encoding

2005-11-16 Thread Bertrand Delacretaz
Le 16 nov. 05, à 11:00, Myriam Delperier a écrit : | See | http://cocoon.apache.org/2.1/userdocs/transformers/encodeurl- | transformer.html and try adding | | | | before the fo2pdf serializer, assuming the encodeURL transformer is | already configured in your sitemap. i've tried it and my

Re: pdf serializer encoding

2005-11-16 Thread Myriam Delperier
| See | http://cocoon.apache.org/2.1/userdocs/transformers/encodeurl- | transformer.html and try adding | | | | before the fo2pdf serializer, assuming the encodeURL transformer is | already configured in your sitemap. i've tried it and my urls still aren't correct --

Re: pdf serializer encoding

2005-11-16 Thread Myriam Delperier
| I'm not 100% sure how this is handled in PDF, but my guess is that you | should encode your URLs before they get to the serializer. | | See | http://cocoon.apache.org/2.1/userdocs/transformers/encodeurl- | transformer.html and try adding | | | | before the fo2pdf serializer, assuming the

Re: pdf serializer encoding

2005-11-16 Thread Myriam Delperier
| | Does it make a difference to set default encoding of Cocoon to | | utf-8? I believe it is a property in the cocoon.xconf or perhaps | | the web.xml. it's already the case, in my web.xml file I've : form-encoding UTF-8 container-encoding UTF-8 encoding UTF-8 so all the pages, and every

Re: pdf serializer encoding

2005-11-16 Thread Bertrand Delacretaz
Le 16 nov. 05, à 08:45, Myriam Delperier a écrit : in fact the characters are well displayed, but I've in my file some external links like : external-destination="resultats-in.html?q=finstitutiontype:|Service général|">Service général and the result of the link is : resultats-in.html?q=

Re: pdf serializer encoding

2005-11-16 Thread Geert Josten
in fact the characters are well displayed, but I've in my file some external links like : external-destination="resultats-in.html?q=finstitutiontype:|Service général|">Service général and the result of the link is : resultats-in.html?q=finstitutiontype:|Service%20g%e9n%e9ral| whereas I'm waiting

Re: pdf serializer encoding

2005-11-15 Thread Bertrand Delacretaz
Le 16 nov. 05, à 08:30, Myriam Delperier a écrit : ...I'm creating pdf files with something like : the result is a pdf page with ISO-8859-1 encoding, and I need an UTF-8 encoding What do you mean by that, what symptoms do you see? If it's the accented characters which are wrong in yo

Re: pdf serializer encoding

2005-11-15 Thread Myriam Delperier
Geert Josten wrote: | | Isn't the PDF format written in low-ascii? So it shouldn't matter. | | If you want unicode characters to be shown, use character | | references or utf-8 in the FO document and reference to a Unicode | | capable font supported by FOP. in fact the characters are well display

Re: pdf serializer encoding

2005-11-15 Thread Geert Josten
Isn't the PDF format written in low-ascii? So it shouldn't matter. If you want unicode characters to be shown, use character references or utf-8 in the FO document and reference to a Unicode capable font supported by FOP. Regards, Geert Myriam Delperier wrote: Hi, I'm creating pdf files wit

pdf serializer encoding

2005-11-15 Thread Myriam Delperier
Hi, I'm creating pdf files with something like : the result is a pdf page with ISO-8859-1 encoding, and I need an UTF-8 encoding. I've tried in the xsl file, mime-type="application/pdf" src="org.apache.cocoon.serialization.FOPSerializer"/> UTF-8 in the sitemap but none of those solut

Re: Antw: problem with PDF serializer

2005-07-05 Thread Peeths
hi all , In the generation of PDF documents , i wrote an xsl file for and it was fine , thanx for everyone who helped me , thanx a lot Peeths ___ Too much spam in your inbox? Yahoo! Mail gives you the best spam protection

Re: Antw: problem with PDF serializer

2005-07-05 Thread Antonio Gallardo
Hi Peeths: Plase see this: http://www.devx.com/opensource/Article/21670/0/page/1 Best Regards, Antonio Gallardo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Antw: problem with PDF serializer

2005-07-05 Thread Peeths
serializer > > we cant do this . > > as with many other serializers, the PDF serializer > expects a specific > input format which is *not* HTML. It's all explained > in the How-To that > I mentioned. > > -Bertrand >

Re: Antw: problem with PDF serializer

2005-07-05 Thread Bertrand Delacretaz
Le 5 juil. 05, à 12:35, Peeths a écrit : u mean to say that we should have a stylesheet for the generation of the pdf file , using only the serializer we cant do this . as with many other serializers, the PDF serializer expects a specific input format which is *not* HTML. It's all expl

Re: Antw: problem with PDF serializer

2005-07-05 Thread Peeths
hi Bertrand , u mean to say that we should have a stylesheet for the generation of the pdf file , using only the serializer we cant do this . regards peeths __ Free antispam, antivirus and 1GB to save a

Re: Antw: problem with PDF serializer

2005-07-05 Thread Bertrand Delacretaz
Le 5 juil. 05, à 12:15, Peeths a écrit : this is the jx file from which the pdf is generated ... Book Details. The PDF serializer requires an XSL-FO document as its input, HTML won't fly. I guess you should study the samples of the PDF block to see how this works, o

RE: Antw: problem with PDF serializer

2005-07-05 Thread Peeths
hi Yvan , this is the jx file from which the pdf is generated http://apache.org/cocoon/templates/jx/1.0"; xmlns="http://www.w3.org/1999/XSL/Format";> Book Details. BOOK DETAILS Book Name Author Publication Price

RE: problem with PDF serializer

2005-07-05 Thread Peeths
hi all , any idea regards peeths ___ Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE! http://in.mail.yahoo.com - To u

RE: Antw: problem with PDF serializer

2005-07-05 Thread Janet Yvan
Can you forward the source XML which is transformed by FOP? The pdf output is no use if we don't know what to search for... Yvan -Message d'origine- De : Peeths [mailto:[EMAIL PROTECTED] Envoyé : mardi 5 juillet 2005 11:50 À : users@cocoon.apache.org Objet : RE: Antw: proble

RE: Antw: problem with PDF serializer

2005-07-05 Thread Peeths
hi Yvan the content for the PDF generated is %PDF-1.3 %ª«¬­ 4 0 obj << /Type /Info /Producer (FOP 0.20.5) >> endobj 1 0 obj << /Type /Pages /Count 0 /Kids [] >> endobj 2 0 obj << /Type /Catalog /Pages 1 0 R >> endobj 3 0 obj << /ProcSet [ /PDF /ImageC /Text ] >> endobj xref 0 5 00 65

RE: Antw: problem with PDF serializer

2005-07-05 Thread Janet Yvan
e.org Objet : Re: Antw: problem with PDF serializer hi martin , no i'm not having any content like that , code that i have used for serializing is AND in the sitemap regards peeths - To unsu

Re: problem with PDF serializer

2005-07-05 Thread Peeths
hi Bertrand, in the log i'm getting some messages regarding FOP , they are 1) 2005-07-04 23:03:59,520 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/usr/local/jboss-4.0.0/server/standard/deploy/cocoon-war-2.1.7.war/WEB-INF/lib/cocoon-fop-block.jar, to ucl: [EMAIL PROTECTED

Re: Antw: problem with PDF serializer

2005-07-05 Thread Peeths
hi martin , no i'm not having any content like that , code that i have used for serializing is AND in the sitemap regards peeths ___ Too much spam in your inbox? Yahoo! Mail gives you the best sp

Re: problem with PDF serializer

2005-07-05 Thread Bertrand Delacretaz
Le 5 juil. 05, à 11:06, Peeths a écrit : ...when i'm usind the PDF SERIALIZER , its not working , i'm getting the pdf file , but its displaying an error that the file cannot be open because there are no pages... Most probably the XSL-FO document that is being fed to the PDF ser

Antw: problem with PDF serializer

2005-07-05 Thread Martin Geissler
xhtml is working fine , but when i'm usind the PDF SERIALIZER , its not working , i'm getting the pdf file , but its displaying an error that the file cannot be open because there are no pages in the page , i'm not able to rectify what the problem , help me please , ho

problem with PDF serializer

2005-07-05 Thread Peeths
hi all , i'm doing an application in which i'm fetching values from database and displaying it in different formats , html , text , vrml and xhtml is working fine , but when i'm usind the PDF SERIALIZER , its not working , i'm getting the pdf file , but its displaying an