Re: How to transform XML-URL-parameters a into a parse-able XML in a pipeline ?

2010-05-17 Thread Sébastien Geindre
/Parameter /Parameters /Request -Original Message- From: Sébastien Geindre [mailto:sebastien.gein...@meteo.fr] Sent: Wednesday, May 12, 2010 1:49 PM To: users@cocoon.apache.org Subject: How to transform XML-URL-parameters a into a parse-able XML in a pipeline ? Hi all, What i need

C2.2 jetty:run

2008-04-11 Thread Sébastien Geindre
I have pb to start my application with maven and jetty plugin [INFO] Starting jetty 6.1.5 ... 2008-04-11 08:48:27.173::INFO: jetty-6.1.5 2008-04-11 08:48:27.779::WARN: EXCEPTION java.lang.NullPointerException at javax.naming.spi.NamingManager.getPlusPath(libgcj.so.9) at

C2.2and java6 ?

2008-04-11 Thread Sébastien Geindre
hi all, are C2.2 and java6 compatible ? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

anyware ne préconise plus cocoon ?

2008-03-21 Thread Sébastien Geindre
bjr à tous, Je ne souhaite en aucun cas lancer un troll sur anyware et coocon...Sylvain et Anyware ont apporté tellement à la communauté cocoon qu'il serait stupide de jeter la pierre à quiconque. Par contre, j'aimerais bien connaître les raisons qui ont poussé Anyware a délaissé Cocoon et

Re: GZIP Stream Generator

2008-02-19 Thread Sébastien Geindre
I agree ! This is the best way to do what i want... Thanks all ! Alexander Daniel a écrit : On 18.02.2008, at 16:50, Sébastien Geindre wrote: Have you ever heard about a king of stream generator that could rread a gzip compress xml data flow, gunzip it and generate sax events ? Does

Pb with jetty:run and tomcat deploy war : GRAVE: Error listenerStart

2008-02-19 Thread Sébastien Geindre
Hi all, when i deploy a c2.2 project war, my container (tomcat) said : GRAVE: Error listenerStart 19 févr. 2008 12:06:15 org.apache.catalina.core.StandardContext start GRAVE: Erreur de démarrage du contexte [/flysafeWS] suite aux erreurs précédentes and i have no more error than Error

Re: Pb with jetty:run and tomcat deploy war : GRAVE: Error listenerStart

2008-02-19 Thread Sébastien Geindre
Resolved by using RC2 dependance in pom.xml. Sébastien Geindre a écrit : Hi all, when i deploy a c2.2 project war, my container (tomcat) said : GRAVE: Error listenerStart 19 févr. 2008 12:06:15 org.apache.catalina.core.StandardContext start GRAVE: Erreur de démarrage du contexte

GZIP Stream Generator

2008-02-18 Thread Sébastien Geindre
hi all, Have you ever heard about a king of stream generator that could rread a gzip compress xml data flow, gunzip it and generate sax events ? Does this kind of generator exist ? Thanks Sébastien. - To unsubscribe,

Re: GZIP Stream Generator

2008-02-18 Thread Sébastien Geindre
Grzegorz Kossakowski a écrit : Sébastien Geindre pisze: hi all, Have you ever heard about a king of stream generator that could rread a gzip compress xml data flow, gunzip it and generate sax events ? Does this kind of generator exist ? Is this data stored in gzipped file? If so, we

different behavior between jetty and tomcat deployment...

2008-02-05 Thread Sébastien Geindre
hello everybody, i work with C2.2, and tomcat 5.5 i have a simple sitemap with streamgenerator map:match pattern=GET map:generate type=stream map:parameter name=form-name value=myrequest/ /map:generate map:serialize type=xml/ /map:match when i run this

Re: How Mounting your block at the root level ??

2008-01-22 Thread Sébastien Geindre
?? Sébastien Geindre pisze: In documentation i can read : Mounting your block at the root level You can mount your block at the root level in the application URI space, so that instead of using (for example) the URI http://localhost:/myBlock/foo/bar to request a page, you would request

How Mounting your block at the root level ??

2008-01-21 Thread Sébastien Geindre
'. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) The question is is it possible to change the URL : http://myMachine:port/myWebApplication/myBlock/resource to http://myMachine:port/resource ??? -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__

Re: IncludeTransformer

2008-01-17 Thread Sébastien Geindre
Second approach : use transformer given by franco (http://www.mail-archive.com/users@cocoon.apache.org/msg39623.html), but it seems to not be compatible with C2.2. public class HTTPPostTransformer extends AbstractTransformer implements Recyclable, Composable { ... this

Re: IncludeTransformer

2008-01-17 Thread Sébastien Geindre
I never try, but I will shortly (like.. Today) for exactly the same reasons Sébastien (to fetch data from a remote WFS). STX is a bit more tricky that XSLT but in a simple series of WFS calls, it should be quite obvious. The great benefit of STX is that it's SAX driven (so I don't expect

Re: IncludeTransformer

2008-01-15 Thread Sébastien Geindre
); How can i handle it in C2.2 ? Third approach (season3 !!!) : C2.2 block !!! thanks for helping. -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How to transform a subset of xml stream ?

2008-01-14 Thread Sébastien Geindre
[/cinclude:name] seems ok. [cinclude:value] xml data : OK [/cinclude:value] -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

IncludeTransformer

2008-01-14 Thread Sébastien Geindre
hi all, I wonder if i need to set all http header parameters when i user IncludeTransformer or CIncludeTransformer requesting an external xml ressrouce via http post any idea ? thanks. -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

Re: How to transform a subset of xml stream ?

2008-01-11 Thread Sébastien Geindre
Ard Schrijvers a écrit : Hi, I have the following xml stream example A.../A wfs:GetFeature/wfs:GetFeature /example I'd like to call my WFS transformer which make a call to a WebFeatureService with wfs:GetFeature xml stream in parameters, and keep A/ tag in the response. th

Re: How to transform a subset of xml stream ?

2008-01-10 Thread Sébastien Geindre
the stream for later processing. Some of them have a number of triggering elements, with a field to store the current state i.e. which of several buffers should currently be used for the recording. Andrew. -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

Re: How to transform a subset of xml stream ?

2008-01-10 Thread Sébastien Geindre
A.../A wfs:featureCollection/ xml response of WFS web service /example -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

How to transform a subset of xml stream ?

2007-12-21 Thread Sébastien Geindre
A.../A wfs:featureCollection/ xml response of WFS web service /example How can i write my sitemap to do that ? Transform a subset of xml stream ? thanks for help ! -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

time out on pipeline execution ?

2007-12-03 Thread Sébastien Geindre
hi everybody !!! naive question : is there any timeout on the execution of a pipeline ? of execution of custom transformer ? if it is, how can i manage it ? i am playing with C2.2 thanks again ! -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

Re: Passing ApplicationServer system properties to the cocoon log4jconfigurator

2007-11-30 Thread Sébastien Geindre
/ /root if you have any clue... Best regards, Raphaël - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Sébastien Geindre
Bonjour, is it impossible or my explanation are too 'messy' or my english too scrambled ?? just let me know... thanks. Seb Sébastien Geindre a écrit : Hello everybody, i need to make a conditional treatment in my sitemap : generator -- transformer A -(if condition on xml

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Sébastien Geindre
should be called.. I thought about kinf of xpathselector perhaps, i have to do this with flowscipt thanks for answered, and started the discussion. it 's pipeline design question, and it seems thaht i am lost :-) Florian Sébastien Geindre wrote: Bonjour, is it impossible or my

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Sébastien Geindre
intention. if flowscript are not elegant, what is the best practice ? Please drop a line which solution you'll have chosen, perhaps others may appreciate for their own problems. no problem ! Bye, Florian Sébastien Geindre wrote: the B1 transformer post http request to a webservice the B2

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Sébastien Geindre
a hashmap. will the transformer B1 be able to process the same xml data ? thanks for help. Robin [1] http://localhost/cocoondox/2.1/userdocs/concepts/actions.html [2] http://wiki.apache.org/cocoon/XSPAction -Original Message- From: Sébastien Geindre [mailto:[EMAIL PROTECTED] Sent

Re: xpath condition on xml data in sitemap

2007-11-21 Thread Sébastien Geindre
) - transformer B2 --| my schema is not very clear : generator transformer A if condition on xml from transformerA -- transformer B1 else - transformer B2 transformer C serializer the condition is computed on xml data and global variables How can i do that ?? thanks for your help. -- Sébastien

xpath condition on xml data in sitemap

2007-11-20 Thread Sébastien Geindre
--| How can i make this condition on xml data in the stipe map ? Which component should i use ? the condition could be an xpath expression... thanks for your help. -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

Re: logging with C2.2

2007-10-29 Thread Sébastien Geindre
Grzegorz Kossakowski a écrit : Sébastien Geindre pisze: hi everybody !! a dummy question about log4j in cocoon 2.2 I need to add logger to my class, and to class of library i use in a transformer. The only log4j.xml file is in target/rcl/webapp/WEB-INF/cocoon I could modify it, but when i

Re: logging with C2.2

2007-10-29 Thread Sébastien Geindre
it, is there any web page that explain the way to manage log ? -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: logging with C2.2

2007-10-29 Thread Sébastien Geindre
i use the reloading classloader plugin, customLog4JXconf [1] is an optional parameter of cocoon:rcl, but i realize it has nothing to do with cocoon itself, just with the maven plugin project. i was lost. i am still lost. in fact i do not know where to set this parameter for the cocoon:rcl

logging with C2.2

2007-10-26 Thread Sébastien Geindre
is it possible to add logger to this generated log4j.xml file ? i try customLog4jXconf properties in rclwrapper.properties, but it is also regenerated... thanks ! -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

Re: global variable in C2.2

2007-10-12 Thread Sébastien Geindre
Thank you Leszek ! It's clear and simple ! Leszek Gawron a écrit : Sébastien Geindre wrote: hi everybody ! who could explain the 'best practice' way to get global variable in C2.2 ? foo.properties in META-INF/cocoon/properties with foo=bar how get this foo variable in : - sitemap use

global variable in C2.2

2007-10-12 Thread Sébastien Geindre
hi everybody ! who could explain the 'best practice' way to get global variable in C2.2 ? foo.properties in META-INF/cocoon/properties with foo=bar how get this foo variable in : - sitemap - flowscript - xsl style sheet - own component - .. ?? Thanks for your time. -- Sébastien Geindre

Re: conception pipe/sitemap ?

2007-10-11 Thread Sébastien Geindre
java (qui utilise une librairie), quel est le bon choix ? quels sont les implications coté perf ? cache ? mémoire utilisée ?? à+ -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - Liste francophone

conception pipe/sitemap ?

2007-10-08 Thread Sébastien Geindre
, ... ???) ?? - récupérer des données spatiales (gml:polygon) d'un partie de ce flux, - faire une opération java (intersection zone avec JTS) - aiguiller le pipeline en fonction du résultat, avec le flux XML recu en entrée. 2/ faire le test dans une XSL ?? - mais bof la SoC.. 3/ ?? -- Sébastien Geindre DPREVI/AERO

Re: conception pipe/sitemap ?

2007-10-08 Thread Sébastien Geindre
/07, Sébastien Geindre [EMAIL PROTECTED] wrote: Bjr à tous, La boite outil cocoon est suffisamment vaste pour que l'on s'y perde dans certains cas non nominal... Et comme il n'y a pas de question stupides, je me lance... Je récupère un flux xml de données (streamGenerator) Je dois ensuite

Re: Design question about C2.2 if/else in sitemap

2007-09-27 Thread Sébastien Geindre
dummy questions : how, in C2.2, get variables from xml configuration file, in sitemap, in xsl transformer ??? thanks. Sébastien Geindre a écrit : Hi all, design question : a client post an xml file to my cocoon application. I need to handle this xml data and check spatial selection

Design question about C2.2 if/else in sitemap

2007-09-25 Thread Sébastien Geindre
on the sitemap, else on the other way. How can i implement it, with C2.2 ? Best practices ? Thanks for your ideas. -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: XSLT Transformation error in C2.2

2007-09-17 Thread Sébastien Geindre
Another question about xsl 1.0 : why when i apply such template xsl:template match=foo foobis xsl:attribute name=idbis select=@id/ /foobis /xsl:template on following xml : foo id=long_id/ i obtain : with xalan foobis idbis=/ with saxon foobis idbis=long_id/ it work with

Re: C2.2 jx:template generator changes time !!

2007-09-14 Thread Sébastien Geindre
Joerg Heinicke a écrit : On 13.09.2007 11:54 Uhr, Sébastien Geindre wrote: fd:pattern-MM-dd'T'hh:mm:ss.000'Z'/fd:pattern jx:formatDate value=${data.endValidityTime} pattern=-MM-dd'T'HH:mm:ss.SSS'Z'/ It seems that 12 is weird time for jx generator... What I notice in your

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-13 Thread Sébastien Geindre
So general advice for all people: if you develop new components don't declare them in a sitemap. So, in order to use saxon transformer (XSLT 2.0), we have to declare it as spring component ? How ? (newbie in spring...) Thanks Grek !! -- Sébastien Geindre DPREVI/AERO/DEV

C2.2 jx:template generator changes time !!

2007-09-13 Thread Sébastien Geindre
/endValidityTime OK It seems that 12 is weird time for jx generator... Any idea ?? -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

XSLT Transformation error in C2.2

2007-09-11 Thread Sébastien Geindre
trouver la fonction : if at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:608) it works with C2.1 Any idea ? Thanks Grzegorz, ;-) ! -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr

Re: XSLT Transformation error in C2.2

2007-09-11 Thread Sébastien Geindre
?? Tobia Conforto a écrit : Sébastien Geindre wrote: I try to do this in a xslt stylesheet : xsl:variable name=top select=if(($type='cb') and ($typeName!='wims:statusweatherproduct')) then 'max_fub' else 'top'/ if (...) then ... else ... is not an XPath 1.0 expression! You have a few

Re: XSLT Transformation error in C2.2

2007-09-11 Thread Sébastien Geindre
Askild Aaberg Olsen a écrit : Sébastien Geindre wrote: Hi all, I use C2.2. I try to do this in a xslt stylesheet : xsl:variable name=top select=if(($type='cb') and ($typeName!='wims:statusweatherproduct')) then 'max_fub' else 'top'/xsl:variable but cocoon refuses, and says : Caused

Re: CInclude POST (by Payload)

2007-09-05 Thread Sébastien Geindre
Joerg Heinicke a écrit : On 30.08.2007 11:08 Uhr, Sébastien Geindre wrote: It seems that dom serialization ommit namespace declaration... But only when they are unused or does it create non-well-formed XML? it creates a non-well-formed xml. It just ommit namespace... My wfs web service

CForms and C2.2

2007-09-05 Thread Sébastien Geindre
-- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CForms and C2.2

2007-09-05 Thread Sébastien Geindre
Thank you Grzegorz, so up to you, if i need complex design with C2.2, i should use dojo instead of old C2.1 home made solution. It sounds good. Do we have any samples of the use of dojo component with C2.2 ?? Grzegorz Kossakowski a écrit : Sébastien Geindre pisze: hi all, hi Greg

Re: CInclude POST (by Payload)

2007-08-30 Thread Sébastien Geindre
-mail: [EMAIL PROTECTED] -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CInclude POST (by Payload)

2007-08-30 Thread Sébastien Geindre
a block to be posted instead of the whole document. Sébastien Geindre wrote: Hi Andrew, Before trying C2.2 implementation with servlet bloc and servlet service transformer, i try to use your WSProxy transformer. In the transform method, protected org.w3c.dom.Document transform

how to write my own transfomer with C2.2

2007-08-28 Thread Sébastien Geindre
that already does this thing (posting xml data to http server) ? If not, how could i write my own in C2.2 ? Any documentation ? thanks -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ meteo.fr - To unsubscribe, e

C2.2 mvn dependencies

2007-08-24 Thread Sébastien Geindre
'org.apache.cocoon.forms.impl.servlet' while setting bean property 'connections' with key [forms]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.apache.cocoon.forms.impl.servlet' is defined thank you ! -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre

Re: C2.2 mvn dependencies

2007-08-24 Thread Sébastien Geindre
Grzegorz Kossakowski a écrit : Sébastien Geindre pisze: hi all, i try to mirgate my C2.1 application to C2.2 when i use cforms, i understood that i need to : - connect my block with the CForms block (i do not use ajax) servlet:connections entry key=forms value-ref

Re: C2.2 mvn dependencies

2007-08-24 Thread Sébastien Geindre
Grzegorz Kossakowski a écrit : Sébastien Geindre pisze: Grzegorz Kossakowski a écrit : I 've found this dependency dependency groupIdorg.apache.cocoon/groupId artifactIdcocoon-forms-impl/artifactId version1.0.0-M3/version /dependency is it the right one ? Yes. OK

pipeline architecture

2007-07-04 Thread Sébastien Geindre
that - ??? Thank you for your shared experience. -- Sébastien Geindre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Gzip serializer

2007-07-02 Thread Sébastien Geindre
hi all, do we have a gzipserializer available ?? Thanks ! Seb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Utilisation du Validation Transformer

2007-05-04 Thread Sébastien Geindre
Bjr à tous, Qui parmi vous aurait déjà utiliser le transformer 'validationTransformer' afin de valider des flux XML à l'aide de schema Dès que le schema import un autre, le composant lance une exception Merci, -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93

Re: use of validation transformer

2007-05-04 Thread Sébastien Geindre
Nobody use this validation transformer ? Sébastien Geindre a écrit : hi all, A post from Andreas the 16 May 2006 has no response : I have a problem with the validation block. As soon as I include an import tag in my schema I get the following error: An error has occured

use of validation transformer

2007-05-02 Thread Sébastien Geindre
with complex schema. Any idea about this error ??$ Cordialement, -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

How to generate xml from request witrh jx generator ??

2007-04-11 Thread Sébastien Geindre
${cocoon.parameters[myparam]}/myparam /GWPRequest Here are the results, very weird... Something i miss... http://localhost:8080/cocoon/foo GWPRequest cocoonParameters[r/w]:{myparam=foo}/cocoon aaa/ /GWPRequest Regards, -- Sébastien Geindre

Re: How to generate xml from request witrh jx generator ??

2007-04-11 Thread Sébastien Geindre
Here the make-gwprequest-from-param.jx file , very simple too : ?xml version=1.0 encoding=UTF-8? GWPRequest xmlns:jx=http://apache.org/cocoon/templates/jx/1.0; cocoon${cocoon.parameters}/cocoon myparam${cocoon.parameters[myparam]}/myparam /GWPRequest it is :

Re: How to generate xml from request witrh jx generator ??

2007-04-11 Thread Sébastien Geindre
] -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to generate xml from request witrh jx generator ??

2007-04-11 Thread Sébastien Geindre
Jeroen Reijn a écrit : Great that it works. About the jx template syntax for getting the parameter: They are both correct and should both work. It works with standard cocoon distribution. The fact is that i use cocoon with embedded eXist database, so it does not work for me in that case.

flowscript et log4j

2007-03-22 Thread Sébastien Geindre
hivemind-managed objects log4j.category.??? = DEBUG -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93 - Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:[EMAIL

Re: SPAM!!!! Variables globales à une appli cation

2007-03-20 Thread Sébastien Geindre
Merci ! OK pour les variables globales définies dans la site map à partir des inputs modules, mais comment les utiliser dans des stylesheets xsl ou bien des flowscript ? olivier nouguier a écrit : Helo, http://cocoon.apache.org/2.1/userdocs/concepts/modules.html

Re: Variables globales à une application

2007-03-20 Thread Sébastien Geindre
:[EMAIL PROTECTED] Autres commandes : mailto:[EMAIL PROTECTED] -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93 - Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire

Re: Packaging cocoon 2.1.10 web application ??

2007-03-19 Thread Sébastien Geindre
Bertrand Delacretaz a écrit : On 3/17/07, Thomas Scheithauer [EMAIL PROTECTED] wrote: ...Might that help you? http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16... Thanks both of you. So i tried, but it does not seem to be compatible with cocoon(2.1.10. I've got the following error :

Re: Packaging cocoon 2.1.10 web application ??

2007-03-16 Thread Sébastien Geindre
: [EMAIL PROTECTED] -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Packaging cocoon 2.1.10 web application ??

2007-03-16 Thread Sébastien Geindre
From webapps/cocoon, ../.. resolved to the top level Tomcat directory. For me, and probably most people, Tomcat rebuilds or updates are a lot less frequent than Cocoon rebuilds, so once in place, that file doesn't change much. Cocoon and Tomcat live in my /usr/local/java directory, but the

Packaging cocoon 2.1.10 web application ??

2007-03-15 Thread Sébastien Geindre
, flowscript, ressources, java class ... How do you organize it ? Thanks. -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

XMLDBTransformer

2007-03-06 Thread Sébastien Geindre
hi all, where can i find documentation aboit th XMLDBTransformer ? in order to load xml document in eXists collection. Merci ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XMLDBTransformer

2007-03-06 Thread Sébastien Geindre
again. Sébastien Geindre wrote: hi all, where can i find documentation aboit th XMLDBTransformer ? in order to load xml document in eXists collection. Merci ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: access eXist Db from Cocoon with XQueryTransformer

2007-03-02 Thread Sébastien Geindre
post request, then requests the eXists database by XQuery (extension with API JTS), and then format the XML return... Any opinion about kind of architecture ?? (It is just a proof of concept, not intended to be on production...) -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84

Re: access eXist Db from Cocoon with XQueryTransformer

2007-03-02 Thread Sébastien Geindre
Donald Thomason a écrit : On Fri, 02 Mar 2007 10:27:43 +0100 Sébastien Geindre [EMAIL PROTECTED] wrote: At first, i intend to use JTS in XQuery function which could call java function, implemented with the JTS API. But performance could be a problem... In fact i'd like to do spatial query

Re: access eXist Db from Cocoon with XQueryTransformer

2007-03-01 Thread Sébastien Geindre
thomason a écrit : on 2/27/07 9:59 AM, Sébastien Geindre at [EMAIL PROTECTED] wrote: i need to execute a xquery on the eXist cocoon embedded database, in a cocoon pipe. Thanks for your answer, but in your case, your db is external, so REST maybe the right way. in mine, the db

access eXist Db from Cocoon with XQueryTransformer

2007-02-27 Thread Sébastien Geindre
= get the xml return back = transform it in right format = XML reply XQueryTransformer should be what i nedd, but it does not seem to ba part of the distribution... Is there another way to do that ? thanks. -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84

Request eXist BD from cocoon pipe

2007-02-21 Thread Sébastien Geindre
, ...) Which technology should i use ? How do i have to architecture that ? XMLDBTransformer XQueryGenerator XMLDB API Java throught xsp do you know any links, documentations, examples ? -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93

Re: récupérer un flux XML

2007-02-13 Thread Sébastien Geindre
francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:[EMAIL PROTECTED] Autres commandes : mailto:[EMAIL PROTECTED] -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93

call script shell in a cocoon pipeline

2007-02-01 Thread Sébastien Geindre
javascript, the xmlData flow ? -- map:parameter name=xmlData value=Value/ /map:call !-- the call of java return XML data -- !-- transformation of XML data -- !-- end of pipe -- /map Merci. -- Sébastien Geindre

Re: upload an xml file and parse it in a pipeline

2007-01-31 Thread Sébastien Geindre
Packages.java.lang.String(?xml version='1.0' ?doc + your_data + /doc); var xml = new Packages.org.apache.cocoon.xml.StringXMLizable(s); var builder = Packages.org.apache.cocoon.xml.dom.DOMBuilder(); xml.toSAX(builder); var document = builder.getDocument(); Andre Sébastien Geindre wrote: Hi all, I've

Re: upload an xml file and parse it in a pipeline

2007-01-31 Thread Sébastien Geindre
Andre Juffer a écrit : Sébastien Geindre wrote: Thanck, it works better I try an explanation : was it because my xml data where not put in the pipe as SAX event but as juste one big sax event with all de document inside ? I guess it is just that the data that you have is treated

upload an xml file and parse it in a pipeline

2007-01-30 Thread Sébastien Geindre
Hi all, I've a form with an upoad widget. I'd like to get the xml data which are uploaded and give it to an internal pipeline. What i've done transform xml data : information is transformed to lt;informationgt; anyone could help ? Thancks -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL

Re: passe de paramètre du sitemap vers flow script

2007-01-29 Thread Sébastien Geindre
Jean-Baptiste Quenot a écrit : * Sébastien Geindre: Comment récupérer dans un flow le flux xml fourni par le generator ?? C'est l'inverse il faut récupérer le flux xml depuis le FlowScript en utilisant loadDocument(cocoon://pipeline) Par contre attention aux performances

pass parameters from sitemap to flowscript, and fork scriptshell thread

2007-01-29 Thread Sébastien Geindre
= // Java call, to fork shell script thread (param) cocoon.sendPage(show-result-pipeline, {bizData : results} ); } Merci à tous. -- Sébastien Geindre DPREVI/AERO/DEV [EMAIL PROTECTED] 05 61 07 84 93 - To unsubscribe, e-mail

Re: pass parameters from sitemap to flowscript, and fork scriptshellthread

2007-01-29 Thread Sébastien Geindre
example above your pipeline will have stored as a DOM object in your function and you could handle the DOM to string conversion in your Java class, but I think this points you in the right direction. If you have more questions, feel free to ask! Kind regards, Jeroen Reijn Sébastien Geindre

upload and character encoding with cforms

2007-01-26 Thread Sébastien Geindre
stream = uploadWidget.getValue().getInputStream(); var reader = new java.io.BufferedReader(new java.io.InputStreamReader(stream)); var line; while ((line=reader.readLine())!=null) buf.append(line).append(\n); reader.close(); } return buf.toString(); -- Sébastien Geindre

Re: Aplly transformation to a xml post data

2007-01-19 Thread Sébastien Geindre
Thanx, i've found this page http://cocoon.apache.org/2.1/861.daisy.html which describe what you 'v mentioned. Jason Johnston wrote: Sébastien Geindre wrote: hello all, I handle a upload request send by cocoon forms with flowscript : var uploadWidget = form.lookupWidget(upload); var

xsd schema for cocoon name space ??

2007-01-19 Thread Sébastien Geindre
Hi all, Do you know xsd schema exist for all the cocoon namespace ft, fd, fb,...? in order to have automatic completion with xml tools. Merci. Sébastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Aplly transformation to a xml post data

2007-01-18 Thread Sébastien Geindre
hello all, I handle a upload request send by cocoon forms with flowscript : var uploadWidget = form.lookupWidget(upload); var stream = uploadWidget.getValue().getInputStream(); I'd like to transform the upload stream (which is XML) via a pipeline : cocoon.processPipelineTo( 'uri',

Re: Aplly transformation to a xml post data

2007-01-18 Thread Sébastien Geindre
Steven D. Majewski wrote: On Jan 18, 2007, at 5:54 AM, Sébastien Geindre wrote: hello all, I handle a upload request send by cocoon forms with flowscript : var uploadWidget = form.lookupWidget(upload); var stream = uploadWidget.getValue().getInputStream(); I'd like to transform

Pb on depedencies in cocoon2.2 with maven

2007-01-09 Thread Sébastien Geindre
Hello everybody, I've tried the tutorial /Your first Cocoon application using Maven 2 /http://cocoon.zones.apache.org/daisy/cdocs/g2/g1/g2/1159.html The web application does not well package. It seems that several dependencies are wrong. Did anybody succeed with this tutorial ? DO i have to

Maven archetype for cocoon ??

2006-12-15 Thread Sébastien Geindre
Hi all, Everything is in the subject !! In order to start a cocoon project, handle by maven and developped with eclipse, i'd like to use maven archetype metadata for cocoon. Did you ear about it ? sébastien. - To

Cocoon and XML Database

2006-12-14 Thread Sébastien Geindre
Hi all, I'd like to use an XML Database to store technical data. It should be an free and open source database. Do you know which DBs i could be interested in ? Is there any integration with cocoon already made ? like cocoon and XIndice Xindice community seems to be 'on vacation', is the

Base de données XML (Xindice)

2006-12-13 Thread Sébastien Geindre
Bonjour à tous, Je m'apprête à intégrer une base de données XML et Cocoon. Il semble que XIndice soit pré-intégrer, mais cela m'est encore flou... Y a t-il une BD qui s'y prête mieux qu'une autre ? Connaissez vous des pointeurs web qui référence des bons documents d'intégration ? Quelles

Use xslt2.0

2006-12-07 Thread Sébastien Geindre
Hi all, Thanx for anwsered previous post (do we have to post to just say 'thank you' ??!! ;-) ) My question is about the use of XSLT Transformer. I'd like to compare date, and xslt2.0 seems to have better function like using the minus operator as follows: date12005-04-05/date1

Re: Pass parameters to a generator

2006-12-05 Thread Sébastien Geindre
Ard Schrijvers wrote: Hi, Is it possible to give parameters to a directory generator ? and how to ? Imagine, cocoon receive a httprequest with post data, first, we transform the data included in th request map:generate type=stream map:parameter name=form-name value=requestData/

Manipulate date with xsl

2006-12-04 Thread Sébastien Geindre
hello, I'd like to add x hours to a date, e.G. : 2006-11-14T16:30:00.000Z + 9h20 = 2006-11-15T01:50:00.000Z Is there any xslt library for date manipulating ? Thanx, Sébastien. In XML, from meta productScalelocal/productScale productTypeice/productType

Pass parameters to a generator

2006-12-04 Thread Sébastien Geindre
Hi, Is it possible to give parameters to a directory generator ? and how to ? Imagine, cocoon receive a httprequest with post data, first, we transform the data included in th request map:generate type=stream map:parameter name=form-name value=requestData/ /map:generate Then transform

  1   2   >