Re: Generation of xml from xml applying xslt

2006-03-02 Thread Warrell . Harries
This stuff works 100% Please post your sitemap, XSL and XML files to the mailing list if you want some help. Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED]

Re: XSLT-Cinclude Transformer do not work

2006-03-02 Thread Warrell . Harries
files in your application I have found there are more comprehensible and appropriate sitemap components for the jobs I end up doing. I would argue that dependence on cinclude is like using server-side includes as the cornerstone of a web-app. Hope this helps Warrell Harries | IT Services, West

Re: Generation of xml from xml applying xslt

2006-03-03 Thread Warrell . Harries
ylesheet I'm sure you are aware, when debugging, simplify, simplify, simplify. Hope this helps. I'm sure the problem is hidden by the unnecessary complexity of the pipeline definition and the XSL. Regards Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House O

Re: Generation of xml from xml applying xslt

2006-03-03 Thread Warrell . Harries
should generate this namespace declaration anyway. Perhaps you are having trouble because you aren't outputting /page to close the element. Hope this helps Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED

Re: Migrating Cocoon site for static presentation

2006-03-06 Thread Warrell . Harries
I'll have a look at that since it should lend itself to this technique. Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] J.D. Williams [EMAIL PROTECTED] J.D. Williams [EMAIL PROTECTED] 05

Warrell Harries is out of the office.

2006-03-18 Thread Warrell . Harries
I will be out of the office starting 18/03/2006 and will not return until 22/03/2006. I will respond to your message when I return.

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Warrell . Harries
, to handle such Processing Exceptions in Cocoon you should take a look at :- http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html if, of course, you are using Cocoon 2.1. Hope this helps Warrell Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Warrell . Harries
rse, you will also provide templates for the sql:row elements generated when there are no errors! Hope this helps Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] Oleg Konovalov [EMAIL PR

Re: Handling SQL Transformer exceptions

2006-03-28 Thread Warrell . Harries
at build\webapp\stylesheets\system\error2html.xslt Hope this helps and you don't abandon Cocoon because it takes a declarative, separation of concerns approach which is orthogonal (at right angles) to the more common imperative one. Warrell Harries | IT Services, West Sussex County Council

Re: Handling SQL Transformer exceptions

2006-03-31 Thread Warrell . Harries
as the generator, 2) Transform using the SQLTransformer 3) terminate the pipeline with map:serialize type=xml/ If you don't see anything (make sure you use the browser view source) then something more fundamental is amiss, Cheers Warrell Harries | IT Services, West Sussex County Council

Re: Handling SQL Transformer exceptions

2006-03-31 Thread Warrell . Harries
nd it is looking that your difficulties are beyond the scope of this mailing list. Are you in the UK? Try producing a test matecer as above and this might get you into the system such that you have a fighting chance of maintaining it. Good Luck Warrell Harries | IT Services, West Sussex County Coun

Re: Question on using CForms with XSLT and aggregation

2006-04-26 Thread Warrell . Harries
to be the real value of using continuations because all of your form flow can now be managed in a single simple _javascript_ source file rather than dispersed throughout your xhtml and sitemap. I think if you take a look at the tutorial and use the sendPage stuff you should be OK, Regards Warrell

Re: cocoon

2006-05-04 Thread Warrell . Harries
Cocoon with the latest IBM JDK and upgrading the servlet container JDK too. I'm sorry I can't be more specific but this might point you in the right direction. Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL

Re: cocoon 2.1.8 PortalEngine obtaining User/Group Info in the Sitemap

2006-05-08 Thread Warrell . Harries
it will be worth it. Regards Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] Jens Maukisch [EMAIL PROTECTED] 20/04/2006 19:10 Please respond to users@cocoon.apache.org To [EMAIL PROTECTED] users

Re: User Management Application in Cocoon, maybe based on CForms

2006-05-09 Thread Warrell . Harries
groups. It's not entirely what you describe (does not plug into the authentication framework for instance) but is suitable for asset control people to provision and deprovision systems. You might find the Custom Transformer source useful if you want it. Regards Warrell Harries | IT Services

Warrell Harries is out of the office.

2006-05-13 Thread Warrell . Harries
I will be out of the office starting 13/05/2006 and will not return until 12/07/2009. I will respond to your message when I return.

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
Hi Sharda,The simplest way is to build the WAR file as in the INSTALL.TXT and import this into WSAD.You may be better off not bothering with WSAD as the whole point of Cocoon is that you can build fully featured applications without having to develop Java code as you can link components in a

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
You have to make a shared library of the rhino-continuations jar and there is another fix for the Cache stuff which I can't remember at the moment cos I haven't got my material here. It ain't straightforward by any means (bad old WebSphere) so, as I said, cocncentrate on developing your

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
I have just deployed cocoon.war to IBM WebSphere Application Server, 5.1.1.9 and there was no problem. It is only the Forms block and something else I recall that needs the modifications I described. Have you deployed cocoon as a war file with a context. You don't need to do anything else and the

Re: DB access without Tomcat

2007-06-15 Thread warrell harries
Hi Mauro, Yes, it's quite possible. I have done it for DB2 which was a bit of a challenge as I recall. Remember to put the JDBC Driver classes into the web.xml - there may be one or two other things, perhaps in the .conf file that you use for the CLI approach, but it does work. I've had some

Re: Cocoon database access strategy

2007-06-18 Thread warrell harries
Hi, Does the database you are using support stored procedures (even MySql now does)? If so, write the complex SQL as a strored procedure and then execute the stored procedure from the SQLTransformer, possibly using the ancestor construct that the SQLTransformer has specifically to support nested

Re: Cocoon database access strategy

2007-06-18 Thread warrell harries
of the developers could address the plans for that technology - will it still be supported in versions 2.2 and beyond? warrell harries [EMAIL PROTECTED] 06/18/07 9:46 AM Hi, Does the database you are using support stored procedures (even MySql now does)? If so, write the complex SQL as a strored procedure

Re: Cocoon database access strategy

2007-06-22 Thread warrell harries
Hi Derek,Ard and Rob, This is an interesting thread because it touches on the received wisdom that 'business-logic' belongs in Java classes. This is even promoted on the web-site under the XSLT FAQ. At the risk of being heretical, I'm not sure that is something I believe in any longer (or have

Re: Cocoon database access strategy

2007-06-25 Thread warrell harries
Hi Ard, I understand your comic sarcasm and I think I know where you are coming from ;-) In the final analysis, it seems to depend on where you place the centre of gravity of your application at the outset. If you start building an Object based system and then add persistence you are probably

Re: Cocoon database access strategy

2007-06-25 Thread warrell harries
I realise my postings can sound a pompous so I reckon Ard was just saying Different Horses for Different Courses but using Hippo's and the Dutch Masters as a surreal juxtaposition On 25/06/07, Derek Hohls [EMAIL PROTECTED] wrote: Maybe its because I am not Dutch but I really do not get

Re: Cocoon database access strategy

2007-07-02 Thread warrell harries
The answet to that one is - it all depends.. on which Application Container, DBMS and JDBC driver you are using. It is good that you have discovered that you can do so much with the SQLTransformer. As you know, I am very fond of using this component. I have no qualms about generating sql:query

Re: Cocoon database access strategy

2007-07-02 Thread warrell harries
What a great idea - 20 years ago (or even 10) it might have occurred to me! Of course, Cocoon wasn't even dream't of then. Your tongue-in-cheek joke is much appreciated but it does reflect the machismo in the industry where guys (and it is invariably young'ish men) who compete to invent the most

Re: Cocoon database access strategy

2007-07-02 Thread warrell harries
Hey Ard, Please understand that I'm really happy to be having this discussion and that I could never get annoyed or irritated about such things. Thanks again1 Warrell On 02/07/07, Ard Schrijvers [EMAIL PROTECTED] wrote: If you feel annoyed or irritated, don't, because 1) I was merely

Re: Offline Generation and link crawler problem

2007-07-16 Thread warrell harries
Hi Leonardo, Have you got the following view defined in your sitemap? map:views map:view from-position=last name=links map:serialize type=links/ /map:view /map:views As I understand it, this definition must be there to allow the recursion to wotk, Cheers Warrell On 16/07/07,

jTDS Sybase Result Set from Stored Procedure call

2007-07-17 Thread warrell harries
Hi, Has anyone had this problem (and found a solution)? I'm using the trusty SQLTransformer on Cocoon 2.10 and jTDS 1.2.1 against Sybase ASA 12.50 When invoking Sybase stored procedures I don't get the ResultSet back as I would expect (I don't get them at all). There is a some discussion about

Fwd: jTDS Sybase Result Set from Stored Procedure call

2007-07-17 Thread warrell harries
-- Forwarded message -- From: warrell harries [EMAIL PROTECTED] Date: Tue, 17 Jul 2007 18:00:07 +0100 Subject: jTDS Sybase Result Set from Stored Procedure call To: users@cocoon.apache.org Hi, Has anyone had this problem (and found a solution)? I'm using the trusty

Re: Problem with SQLTransformer

2007-07-26 Thread warrell harries
ps, thanks for pointing that out, Florian. Perhaps it's because I have been (who hasn't?) bewildered by the vagaries of Xalan and namespaces enough times to always use the sql: prefix ;-) On 26/07/07, Dev at weitling [EMAIL PROTECTED] wrote: warrell harries wrote: From the xml snippet

Re: Problem with SQLTransformer

2007-07-26 Thread warrell harries
From the xml snippet it appears that you have missed out the sql: prefix One of those infuriating 'can't see for looking' things perhaps On 26/07/07, Michel Gutierrez [EMAIL PROTECTED] wrote: Hi, There is certainly a stupid reason but i've spend a few hours to make the SQLTransformer work

Re: Novice question

2007-08-08 Thread warrell harries
Hi, This request is somewhat vague. Cocoon is designed to process XML. I would suggest keeping your XML and using the the XSL and SQLTransformers to update the database and possibly write your own Custom transformer to implement whatever behaviour you require to be triggered. However, you are

Re: offline generation

2007-08-17 Thread warrell harries
http://cocoon.apache.org/2.1/userdocs/offline/cli.html On 16/08/07, Lincoln Mitchell [EMAIL PROTECTED] wrote: Is offline generation much easier these days in cocoon? If so, where is the most up to date documentation on it? Linc

Re: CInclude POST (by Payload)

2007-08-29 Thread warrell harries
Hi Andrew, I had a similar need for this sort of component when invoking SOAP Web Services from Cocoon. I took the WebServiceProxyGenerator code and adapted it to be a Transformer. I had to change one of the headers to include the SOAP method but apart from that it is pretty much unchanged.

Re: URL translations/rewriting

2007-08-30 Thread warrell harries
Can you use the {request-param:lon1} input module? e.g. redirect-touri=cocoon:/stops?lat1={request-param:lat1}amp;lon1={request-param:lon1}amp;lat2={request-param:lat2}amp;lon2={request-param:lon2}/ On 30/08/2007, Ken Gerrard [EMAIL PROTECTED] wrote: Hello. I've been using Cocoon for a few

Re: Custom DOM transformer

2007-11-16 Thread warrell harries
Surely some mistake (probably a typo) but your pipeline should be :- map:pipeline map:match pattern=tentative map:generate type=stream map:parameter name=defaultContentType value=text/xml/ /map:generate map:transform type=testTransformer / map:serialize type=xml/ /map:match

Re: Custom DOM transformer

2007-11-16 Thread warrell harries
Hi Jean-Claude, What generator are you using in your pipeline match? Can you show us the sitemap? You would need to use the Request generator or another one that 'loads' the pipeline with the contents of the HTTP Request. Cheers On 16/11/2007, Jean-Claude Vogel [EMAIL PROTECTED] wrote: Hello

Re: Starting with Cocoon

2007-11-17 Thread warrell harries
Hi, Have you followed the threads in the 2.10 release e.g. http://cocoon.apache.org/2.1/howto/howto-explore-samples.html One of the advantages of Cocoon is that you do not need to get involved in the Cocon servlet e.g. web.xml or the conventional configuration e.g. cocoon.xconf. You only need

Re: Starting with Cocoon

2007-11-17 Thread warrell harries
the knowledge. Thank you. warrell harries wrote: Hi, Have you followed the threads in the 2.10 release e.g. http://cocoon.apache.org/2.1/howto/howto-explore-samples.html One of the advantages of Cocoon is that you do not need to get involved in the Cocon servlet e.g. web.xml

Re: Starting with Cocoon

2007-11-18 Thread warrell harries
You can build a deployable war file by building to the target war. I believe this is documented but, as with all things open-source, you have to be prepared to dig around until you find the way. The simplest way to get your head around Cocoon is to use the Jetty based distribution until you

Re: Export database to XML file

2008-01-08 Thread warrell harries
No problem? First use the Web App version to develop your core pipelines then look at the CLI documentation, write your XSLT and SQLTransformer Query and let your config generate the responses to a file. Give it a go and when you have a specific problem the members of this list will come to your

Re: Convert escaped xml back to xml or SAX events

2008-03-03 Thread warrell harries
You could use Saxon e.g. :- ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl= http://www.w3.org/1999/XSL/Transform; xmlns:saxon=http://saxon.sf.net/; xsl:template match=/ xsl:copy-of select=saxon:parse(XPathToYourXMLAsTextHere)/ /xsl:template /xsl:stylesheet On 29/02/2008,

Re: SQL-Transformer: SQL query with multiple statements

2008-03-27 Thread warrell harries
Surely you are joking Dr Feynman! Apologies to the great man http://www.gorgorat.com/ What about :- SELECT person_id, age FROM persons WHERE person_id between $id and $id + 1000 Alternatively, depending on which DBMS and to give you more flexibility put your SQL in a stored proc and call that

Re: Strange XSLT transformer behaviour?

2008-04-22 Thread warrell harries
Hi Heather, Remember that XSLT is a set of rules to apply to your input XML document. You have defined a rule whose output will triggered when the root of your input XML document Since all XML documents have a root then your template will fire and output the HTML that you have defined. No odd

Re: Query Database Produce Excel Document

2008-05-14 Thread warrell harries
I have done exactly this (even under Cocoon CLI) but don't have the code to hand. It's quite straightforward except that the sendmail transformer invoked the pipeline to build the s/s which took so long that the sendmail connection was dropped. To solve this I ran one CLI to build the s/s and then

Re: External Entity in sitemap

2008-08-20 Thread warrell harries
Hi Heather, You should certainly follow the tutorial on how to use catalogs to make the XML Entity known to Cocoon. This worked for me with some large DTDs that I needed to make available to Cocoon 2.1x. On the related question of how to get an XML fragment into your sitemap you could invoke a

Re: External Entity in sitemap

2008-08-20 Thread warrell harries
solid approach if possible. Heather From: warrell harries [mailto:[EMAIL PROTECTED] Sent: 20 August 2008 14:09 To: users@cocoon.apache.org; [EMAIL PROTECTED] Subject: Re: External Entity in sitemap Hi Heather, You should certainly follow the tutorial

Re: embedded xindice

2008-08-26 Thread warrell harries
Hi, From the distribution have a look at http://localhost:/samples/blocks/xmldb/welcome There is enough there to get you started. As this is (I believe) the eXist codebase you could check out that project site http://exist.sourceforge.net/ Cheers, Warrell 2008/8/26 takpoli [EMAIL

Re: embedded xindice

2008-08-26 Thread warrell harries
Woops, my apologies, Vadim. Is this the code in Cocoon? I was referring to the 2.1x distribution - I guess it hasn't made it to 2.2 yet

Re: Inserting XML XMLDB

2008-10-06 Thread warrell harries
Hi Jose, The way I do it is to have a stylesheet such as this :- *?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl= http://www.w3.org/1999/XSL/Transform; xsl:param name=ref/ xsl:param name=user/ xsl:param name=when/ xsl:param name=notes/ xsl:template match=page page

Re: mapping xml 2 java using cocoon (block)

2009-02-05 Thread warrell harries
Hi Robby, Cocoon is about keeping your application model in XML and then transforming this document model using Java components. It looks like you want to use it the other way around. That is to say, you would get further with Cocoon if you intend to transform Product XML elements to XHTML.

Re: [2.2] map:generate where the source is an url

2009-02-24 Thread warrell harries
You can! Using different types of generators allow you to consume the different styles of Web services. This is what makes Cocoon so good for application development. Google for some more info on how to do it. I remember writing a few contributions with regard to version 2.1x 2009/2/24 Magnus

Re: Cocoon 2.1.11, Java 6 and Maven

2009-06-12 Thread warrell harries
Have you tried building Cocoon from the command line using build.bat? Baby steps... 2009/6/12 Peter Horlock peter.horl...@googlemail.com Hi, I just joined a company using Cocoon 2.1.11. Java 6 and Maven. For them everything works fine, for me I get a ton of errors in Eclipse - mostly

Re: Cocoon 2.1.11, Java 6 and Maven

2009-06-12 Thread warrell harries
u - what about build.sh 2009/6/12 Peter Horlock peter.horl...@googlemail.com uuuhm. I wrote: cocoon-2.1.11$ cocoon.sh Which means I am on a Linux system and I ran cocoon.sh which is the Linux equivalent to build.bat

Re: Cocoon 2.1.11, Java 6 and Maven

2009-06-15 Thread warrell harries
One of the nice things about the Cocoon 2.1x line is that oldies like me can just use a text editor and the command line. I never found Eclipse was worth the hassle and I was never quite sure what was going on behind the scenes. That risk can stifle progress and burn precious time when you start a

Re: Stand alone Cocoon

2009-06-26 Thread warrell harries
I haven't looked at version 3.0 but I have done just what you describe using 2.1x and the CLI technique. Have you looked at the process for packaging Coccon as an offline application. There is some recent comment on the mailing list about it and thre is plenty of material on the web. Enjoy - it is

Re: Stand alone Cocoon

2009-06-26 Thread warrell harries
Small is beautiful :) I have a lot to be modest about 2009/6/26 Ellis Pritchard el...@mobi1.co.uk Could you just use your working cocoon application as a web-service? e.g. Use commons http to call it? Nice scalability implications... Ellis. On 26 Jun 2009, at 09:38, Steven Dolg

Re: Trouble with Dynamic Chart

2009-08-07 Thread warrell harries
Have you looked at FINS? http://www.lucamorandini.it/fins/faq.html 2009/8/6 sh kh techlogs...@yahoo.com I'm following the Cocoon 2.2 tutorial. I created a dynamic chart with a java class implementing JFreeChart. I want to view the rendered chart in cocoon. I'm using flowscript and

Re: PDF export using cocoon

2009-08-20 Thread warrell harries
It's an XML framework... so, in short, no :) 2009/8/19 anandhthiyagarajan anandhthiyagara...@gmail.com Hi everyone Is there any possibility to generate the PDF documents using cocoon without generating xml files. I m working in Ruby on Rails. Any help would be appreciated. Thanks

Re: PDF export using cocoon

2009-08-21 Thread warrell harries
could call a URL from ruby I guess and cocoon will generate the pdf based on the URL? Regards, Jeroen warrell harries wrote: It's an XML framework... so, in short, no :) 2009/8/19 anandhthiyagarajan anandhthiyagara...@gmail.com mailto: anandhthiyagara...@gmail.com Hi everyone

Re: Starting out with Cocoon 2.2

2009-09-10 Thread warrell harries
IMHO, developers tend to mirror the general population in that the majority follow the herd. The habits of imperative Java programming and the not-invented-here syndrome meant that Cocoon was only ever going to appeal to a minority of enlightened developers. Maven is a head f*ck for the average

Re: using Authentication-fw in cocoon 2.1.10! HELP!!!

2009-10-01 Thread warrell harries
Hi Maria, I have the same problem - I gues one must use multiple matchers and pass these around from pipeline to pipeline and use the inputmodule {uri} Did you solve this problem? 2009/9/6 Maria Grigorieva mag-s...@hotmail.com The main problem is that pages first and five open in new window.

Re: File upload without full form submit.

2010-01-11 Thread warrell harries
Hi Tomek, To do this sort of thing I sometimes use bad old showModalDialog and attach this to a button onclick event. This function is supported by Firefox and IE and doesn't trigger the submit of a Cocoon form. Nasty, but it works for intranets... Cheers W 2010/1/10 Tomek Piechowicz

Re: Calling LaTeX from within Cocoon

2010-04-29 Thread warrell harries
Definitely possible. You could have a look at the FINS project as a good example of how to to this sort of thing. In that case they use XML as an interface to JFreeChart. You can write a custom serializer and/or transformer. Of course the preferred way is to use XSL:FO and a number of people have

Re: Work Opportunity

2011-01-19 Thread warrell harries
Hi Peter, I have a company, Cocoon Technology, that could help. My number is 07976232632. I am based near Portsmouth. Hope to hear from you, Regards Warrell On 17 Jan 2011 11:24, Peter Sparkes pe...@didm.co.uk wrote: Hi, I maintain a number of websites, for different companies, using the

Re: Support / Consultancy for our Cocoon 2.1.9 platform

2011-02-16 Thread warrell harries
I have a company, Cocoon Technology, that could help. My number is 07976232632. I am based near Portsmouth. Hope to hear from you, Regards Warrell On 12 February 2011 12:36, Alec Bickerton alec.bicker...@net-m.ch wrote: Can anyone suggest a company that provides support for Cocoon 2.1. I've

Re: Re: Support amp;amp; Traxtransformers

2011-02-23 Thread warrell harries
Hi Alec, Having considered this issue my suggestion is to use a custom transformer which invokes the external content provider with values from the pipeline document and sets the user agent header from the orginal request. The response from the external request is then aggregated or replaces the

Re: Support / Consultancy for our Cocoon 2.1.9 platform

2011-02-23 Thread warrell harries
Here is the reference to support my posting about your problem with using the document function. My reply seems to have been delayed... http://www.mail-archive.com/users@cocoon.apache.org/msg34182.html

Re: Passing XML to webservice?

2011-02-24 Thread warrell harries
Cocoon 2.1.9 platform Gesendet: Mi, 23. Feb 2011 Von: warrell harries Here is the reference to support my posting about your problem with using the document function. My reply seems to have been delayed... http://www.mail-archive.com/users@cocoon.apache.org/msg34182.html --- original Nachricht

Re: Setting URLConnection User-Agent String

2011-03-01 Thread warrell harries
/WebServiceProxyGenerator.java It could be that this will be sufficient for your requirements. Best regards, Warrell On 28 February 2011 16:13, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Warrell, On 2/28/2011 6:41 AM, warrell

Re: Setting URLConnection User-Agent String

2011-10-11 Thread warrell harries
Yep, do it in the setup public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException { super.setup(resolver,objectModel,src,par); try { Source inputSource = resolver.resolveURI(super.source); this.source =

Re: beginner q: possible to set extension .xsl as type='xslt' by default?

2012-10-16 Thread warrell harries
Hi, Depending on your sitemap components set-up (see the top of the file e.g. map:transformers default=xslt) the default Transformer should be the XSLT one. Try omitting the type altogether. Remember that the Pipeline is key so don't try 'chaing' xslt from within your .XSLT file. Attaching the

Re: beginner q: possible to set extension .xsl as type='xslt' by default?

2012-10-16 Thread warrell harries
meant 'chaining' :) On 16 October 2012 15:12, warrell harries warrell.harr...@gmail.com wrote: Hi, Depending on your sitemap components set-up (see the top of the file e.g. map:transformers default=xslt) the default Transformer should be the XSLT one. Try omitting the type altogether

Re: Using FOP 1.1 with Cocoon 2.1.11

2013-02-09 Thread warrell harries
I believe it is. Certainly, I have used 1.0...iirc On 9 Feb 2013 08:17, Peter Sparkes pe...@didm.co.uk wrote: Hi, Is it possible to use FOP 1.1 with Cocoon 2.1.11 Thanks Peter --**--**- To unsubscribe, e-mail:

Re: [ANN] Apache Cocoon 2.1.12 Released

2013-03-20 Thread warrell harries
Thanks very much for keeping the Cocoon 2.1 flame burning. I'm still building on the 2.11 platform so I look forward to upgrading to this release. All the best Warrell On 20 March 2013 14:41, Cédric Damioli cdami...@apache.org wrote: Apache Cocoon 2.1.12 Released

Re: Inter Server Communications

2013-05-17 Thread warrell harries
Hi Peter, I use a version of the proxy transformer. If the bundled one doesn't work for you it is easy to roll your own. Cheers Warrell On 17 May 2013 16:21, Peter Sparkes pe...@didm.co.uk wrote: Hi I have an application in which I require to send a POST request from the server to another

Re: Accessing application/json message body of POST request

2014-03-16 Thread warrell harries
Hi Bardo, The simplest way that I have found to handle json posts is to use the text generator. Alternatively, you are free to write a json generator which would convert json to xml as this is the default data format of cocoon. I have been successfuly using cocoon to handle json (the

Re: Cocoon 2 - Webservice

2014-04-07 Thread warrell harries
It's as simple as just using the stream generator. map:match pattern=webService map:generate type=stream/ map:transform src=doYourStuff.xsl/ map:serialize type=xml/ /map:match Take Baby Steps and it will become clear Regards Warrell On 7 April 2014 16:48, spintus-mail...@web.de wrote:

Upgrade of HSSF to XSSF Excel serializer, anyone?

2014-05-12 Thread warrell harries
Hi Cocooners, I have just run into the 65535 upper limit on the number of rows in an Excel workbook as serialized using the gnumeric schema. Of course, I tried substituting the latest poi-3.10 jar from the excellent POI project for 3.0.2.jar that has worked well so far. Alas, some of the methods

Re: compile-build.xml:79: java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI

2014-05-13 Thread warrell harries
Try the standalone pure ant build outside of Eclipse environment e.g. from a command line Cheers W On 13 May 2014 13:55, Paul G. Joseph pjos...@gmail.com wrote: Hi there, I am trying to compile Cocoon 2.1.11 in Eclipse (Luna, version 4.4). I get: BUILD FAILED

Re: Upgrade of HSSF to XSSF Excel serializer, anyone?

2014-05-13 Thread warrell harries
-3-formatting.aspx as a good place to start. Cheers Warrell On 9 May 2014 09:58, warrell harries warrell.harr...@gmail.com wrote: Hi Cocooners, I have just run into the 65535 upper limit on the number of rows in an Excel workbook as serialized using the gnumeric schema. Of course, I

Re: authentication framework

2014-05-27 Thread warrell harries
Hi Peter, This is an action that should be declared in the root sitemap. Have you built the war file with the authentication block enabled? Cheers, Warrell On 27 May 2014 14:28, Peter Sparkes pe...@didm.co.uk wrote: Hi I can't get the * authentication framework sample to to work in

Using Node.js as a Generator

2014-06-04 Thread warrell harries
I have posted a simple way of using Node.js with Cocoon http://warrell.blogspot.co.uk/2014/05/extending-life-of-my-cocoon.html I hope this may be of some help to anyone similarly minded, Thanks Warrell

Re: Using Node.js as a Generator

2014-06-04 Thread warrell harries
Many thanks Francesco! On 4 June 2014 08:27, Francesco Chicchiriccò ilgro...@apache.org wrote: On 04/06/2014 09:22, warrell harries wrote: I have posted a simple way of using Node.js with Cocoon http://warrell.blogspot.co.uk/2014/05/extending-life-of-my-cocoon.html I hope this may

Re: Using Node.js as a Generator

2014-06-04 Thread warrell harries
: On 06/04/2014 09:22 AM, warrell harries wrote: I have posted a simple way of using Node.js with Cocoon http://warrell.blogspot.co.uk/2014/05/extending-life-of-my-cocoon.html I hope this may be of some help to anyone similarly minded, Thanks Warrell Hi Warrell, cool stuff! We

Re: Problems building cocoon-2.1.12

2014-06-15 Thread warrell harries
Hi Peter, I can't say what your build problem is (except that the error message indicates a missing file... dependencies again?) but I am surprised you are still using Java 1.4. Is there a reason for not moving onto 1.7? On 15 Jun 2014 16:56, Peter Sparkes pe...@didm.co.uk wrote: Hi I

Re: Migration from 2.1 to 2.2

2014-07-21 Thread warrell harries
Hi, One reason that many Cocoon users have stayed with the 2.1x stream is that some very useful blocks never made the transition to 2.2 Personally, the hassle of migrating to 2.2 was not worth the gains it offered (Spring meh). As we are all aware Web application development has evolved in many

Re: Help needed moving from 2.1.11

2016-01-06 Thread warrell harries
Hi Peter, I would recommend moving to 2.12 first (and probably staying there). IMHO 2.2 isn't worth the candle and 3.0 misses the point of using Cocoon in the first place. I have a similar set-up as you although I use a blocks based build so that my 'applications' are seperate from the core. I

Re: cocoon and cocoon-webapp together

2016-06-25 Thread warrell harries
What version of Cocoon? Use 2.12 and deploy the web app to Tomcat 7 What's the problem with that? Best wishes Warrell On Sat, 25 Jun 2016, 17:58 Hans-Heinrich Braun, wrote: > I am bringing my application to openshift. > It seems that i cannot integrate

Re: Matching HTML GET parameters in sitemap

2016-06-29 Thread warrell harries
You could use the select matcher which allows you to alter flow through the pipeline based on a parameter value On Wed, 29 Jun 2016, 00:01 Charles Burd, wrote: > In a Cocoon 2.1 installation, I'm trying to get a sitemap pipeline match > to differentiate between a URL that has

RE: [2.1] cinclude using a pipeline as a generator source

2016-05-10 Thread warrell Harries
15:10, Christopher Schultz wrote: On 5/7/16 7:38 AM, warrell harries wrote: cocoon:// is understood as standard Awesome. I was hoping it would be something simple like that. You can use something like The RequestModule is standard, and the NormalizePathInputModule comes from this project.

Re: [2.1] cinclude using a pipeline as a generator source

2016-05-07 Thread warrell harries
Hi Chris cocoon:// is understood as standard Use :/ to go relative to the root Xpath rules  On 7 May 2016 12:12, "Christopher Schultz" wrote: All, I've got a Cocoon setup with a pipeline whose transformer contains something like this:

Re: [2.1] cinclude using a pipeline as a generator source

2016-05-07 Thread warrell harries
the quick reply! > > > > On 5/7/16 7:38 AM, warrell harries wrote: > >> cocoon:// is understood as standard > > > > Awesome. I was hoping it would be something simple like that. > > > >> Use :/ to go relative to the root > > > > I'm having

Re: Matching HTML GET parameters in sitemap

2016-06-30 Thread warrell harries
> Once I figured how to implement it, all was well. > > Charles > > On Jun 29, 2016, at 1:37 AM, warrell harries-4 [via Cocoon] wrote: > > You could use the select matcher which allows you to alter flow through > the pipeline based on a parameter value > > On Wed, 29 Ju

Re: How to configure TraxProcessor in 2.2?

2019-12-04 Thread warrell harries
Hi Mark, I never could get 2.2 working  However, I'm using 2.12 every day, all over the world - mostly with Saxon for XSLT 2.0 All I can advise, use 2.12... Best regards Warrell On Wed, 4 Dec 2019, 9:46 pm Mark H. Wood, wrote: > I'm using Cocoon 2.2. I need to pass a custom XSLT

Re: [ANN] Apache Cocoon 2.1.13 Released

2020-07-30 Thread warrell harries
Great news! Well done! The download is still showing version 2.12 Many thanks from a die-hard cocooner On Thu, 30 Jul 2020 at 11:12, Cédric Damioli wrote: > Apache Cocoon 2.1.13 Released > - > > The Apache Cocoon Community is proud to announce the new release

Re: using cocoon 2.1 in the long-term, security concerns

2021-07-19 Thread warrell harries
The Tomcat version must be updated to address these concerns. That should do it On Mon, 19 Jul 2021, 13:03 Vincent Neyt, wrote: > Hi Cocoon users, > > I'd like to ask your opinion on the long-term security risks of running > Cocoon on a server. The colleague responsible for the servers at my >

Re: CVE-2023-49733: Apache Cocoon's StreamGenerator is vulnerable to XXE injection

2023-11-30 Thread warrell harries
Hi Cedric, Does this build still use the infamous Log4J v1. 2 jar I know it's actually benign due to no use of the jndi but security vulnerability scanners usually complain. Thanks for your work on this. Best regards Warrell On Thu, 30 Nov 2023, 11:16 Cédric Damioli, wrote: > Severity:

  1   2   >