Migration from 2.1 to 2.2
Hi there :) I would like to migrate my cocoon service from 2.1 to 2.2. However, I am missing some blocks, which I can't find on the official page. - Block for XSL-FO to RTF - Block for validation (XSD validation) Has someone a matching link? best regards
Arial @ PDF-FOP
Hello :) I have been trying for hours to integrate Arial in FOP. However, no success. My Sitemap: map:serialize logger=sitemap.serializer.fo2pdf mime-type=application/pdf type=fo2pdf src=org.apache.cocoon.serialization.FOPSerializer user-configfile:///C:/fop-fonts/font-config.xml /user-config /map: serialize And my font-config: configuration fonts font metrics-file =file:///C:/fop-fonts/arial.xml kerning = yes embed-file = file:///C :/fop-fonts/arial.ttf font-triplet name=Arial style=normal weight=normal/ font-triplet name=ArialMT style=normal weight=normal/ / font / fonts / configuration If there is a syntax error?
AW: AW: authentication @ cocoon
Hello :) I'll check it out once authentication framework. I still have the following questions: - What is the correct syntax for the disclosure of 'application / xml' @ stream generator? - Is it possible to validate an xml file via XSD? (entry in sitemap) - Is there a good solution to the h1, h2, h3 hierarchy in HTML via XSL represent? h1 xsl:number count=@titel format=1. level=multiple/ xsl:value-of select=@titel/ / h1 Best greetings -Ursprüngliche Nachricht- Von: Antonio Gallardo [mailto:agalla...@agssa.net] Gesendet: Mittwoch, 28. Mai 2014 21:54 An: users@cocoon.apache.org Betreff: Re: AW: authentication @ cocoon Hi Andreas, Did you try to use the authentication framework [1]? Best Regards, Antonio Gallardo. [1] http://cocoon.apache.org/2.1/developing/webapps/authentication.html On 28/05/14 13:31, spintus-mail...@web.de wrote: Good evening :) authentication is intended that not everyone can take advantage of the service on the intranet - thinking of user accounts :). What is the correct syntax for the disclosure of 'application / xml'? Best greetings -Ursprüngliche Nachricht- Von: Andreas Kuehne [mailto:kue...@trustable.de] Gesendet: Dienstag, 27. Mai 2014 21:57 An: users@cocoon.apache.org Betreff: Re: authentication @ cocoon Hi, what kind of authentication do you think of? BasicAuth? Just get the header! SSL Client Auth? Get the client certificate! Web Service Security? I got a transformer at hand ... Greetings, Andreas PS: Use 'application/xml' encoding, otherwise the stream generator assumes 'form-urlencoded' and expects a form. Good evening together, I currently use the stream generator for XML files via HTTP post to cocoon. Now I would like to introduce an authentication. My current pipeline: map:pipeline map:match pattern=get map:generate type=stream map:parameter name=form-name value=file/ / map: generate map:transform src=convert.xsl / map:serialize type=html/ / map: match / map: pipeline Is there an easy way to implement this? Furthermore, I ask myself currently, for which the form-name is required? Via REST I can also send data successfully without the form to specify? Greetings - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org -- Andreas Kühne phone: +49 177 293 24 97 mailto: kue...@trustable.de Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna Amtsgericht Hamm HRB 5868 Directors Andreas Kühne, Heiko Veit Company UK Company No: 5218868 Registered in England and Wales - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
AW: authentication @ cocoon
Good evening :) authentication is intended that not everyone can take advantage of the service on the intranet - thinking of user accounts :). What is the correct syntax for the disclosure of 'application / xml'? Best greetings -Ursprüngliche Nachricht- Von: Andreas Kuehne [mailto:kue...@trustable.de] Gesendet: Dienstag, 27. Mai 2014 21:57 An: users@cocoon.apache.org Betreff: Re: authentication @ cocoon Hi, what kind of authentication do you think of? BasicAuth? Just get the header! SSL Client Auth? Get the client certificate! Web Service Security? I got a transformer at hand ... Greetings, Andreas PS: Use 'application/xml' encoding, otherwise the stream generator assumes 'form-urlencoded' and expects a form. Good evening together, I currently use the stream generator for XML files via HTTP post to cocoon. Now I would like to introduce an authentication. My current pipeline: map:pipeline map:match pattern=get map:generate type=stream map:parameter name=form-name value=file/ / map: generate map:transform src=convert.xsl / map:serialize type=html/ / map: match / map: pipeline Is there an easy way to implement this? Furthermore, I ask myself currently, for which the form-name is required? Via REST I can also send data successfully without the form to specify? Greetings - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org -- Andreas Kühne phone: +49 177 293 24 97 mailto: kue...@trustable.de Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna Amtsgericht Hamm HRB 5868 Directors Andreas Kühne, Heiko Veit Company UK Company No: 5218868 Registered in England and Wales - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
authentication @ cocoon
Good evening together, I currently use the stream generator for XML files via HTTP post to cocoon. Now I would like to introduce an authentication. My current pipeline: map:pipeline map:match pattern=get map:generate type=stream map:parameter name=form-name value=file/ / map: generate map:transform src=convert.xsl / map:serialize type=html/ / map: match / map: pipeline Is there an easy way to implement this? Furthermore, I ask myself currently, for which the form-name is required? Via REST I can also send data successfully without the form to specify? Greetings - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
AW: Cocoon 2 - Webservice
Hello, Unfortunately, I'm only now to respond. Restful was recommended to me by my instructor. I would like to send the XML file via POST to cocoon, recycle there and spend as PDF, HTML, or RTF. Currently, I have not yet an overview if there is a ready-made opportunity to Cocoon XML to accept documents through POST? Von: Jos Snellings [mailto:jos.snelli...@upperware.biz] Gesendet: Samstag, 5. April 2014 15:23 An: users@cocoon.apache.org Betreff: Re: Cocoon 2 - Webservice Hi Klaus, As REST is a principle, it is possible to implement a service in a REST-ful manner. However, is it correct to state, as your message suggests, that the service would perform a sort of document conversion of an XML document in a specified format, to a PDF file? If this is the case, my idea would be: - cocoon 2 is a good choice, no need to upgrade - do not care about the REST religion, and just generate a pdf document Jos On Sat, Apr 5, 2014 at 3:06 PM, Klaus Nuhr spintus-mail...@web.de wrote: Hello to everyone in the mailing list :), I would like to implement a WebService via Cocoon. In this case, the client should send a XML file to my service, it will be processed accordingly and delivered as a pdf back to the client. The processing of a local XML works great. Now must be implemented as a webservice. I would have preferred RESTful, but seems all so only with cocoon 3 to come. Is there in this respect a tutorial or sample code? Greetings - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org -- La majestueuse égalité des lois, qui interdit au riche comme au pauvre de coucher sous les ponts, de mendier dans les rues et de voler du pain. -- Anatole France - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org