RE: [ANN] Apache Cocoon 2.1.5 Released

2004-05-25 Thread Carmona Perez, David
Thanks for the announcement. I see gladly Cocoon is very alive. But wouldn't be interesting to update http://cocoon.apache.org/2.1/changes.html? The latest version referenced is 2.1.3 !! http://cocoon.apache.org/news/ isn't still updated either. What's new in the new version? -Mensaje

RE: Encryption of serialized data

2004-05-25 Thread Carmona Perez, David
Use the HTTPS protocol -Mensaje original- De: Derek Hohls [mailto:[EMAIL PROTECTED] Enviado el: martes, 25 de mayo de 2004 12:42 Para: [EMAIL PROTECTED] Asunto: Encryption of serialized data Is anyone aware of any mechanism that will allow the encryption of all data coming out

RE: XSP with xsl

2004-05-25 Thread Carmona Perez, David
Perhaps you need to use XSLT instead of XSP. -Mensaje original- De: Márcio Ferreira [mailto:[EMAIL PROTECTED] Enviado el: martes, 25 de mayo de 2004 14:13 Para: [EMAIL PROTECTED] Asunto: XSP with xsl Hi, I need to test in xsp file if something happens in xml passed in

RE: [HELP]Unable to get transformer handler for file ... directory2html.xsl

2004-05-24 Thread Carmona Perez, David
Perhaps is a problem related to the space in the path. You ought to use Program%20Files instead of Program Files -Mensaje original- De: Jac R [mailto:[EMAIL PROTECTED] Enviado el: lunes, 24 de mayo de 2004 4:39 Para: [EMAIL PROTECTED] Asunto: [HELP]Unable to get transformer

RE: LogFactor

2004-05-05 Thread Carmona Perez, David
I have updated the info in the wiki. BTW is it possible to use Chainsaw instead? -Mensaje original- De: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] Enviado el: lunes, 03 de mayo de 2004 10:22 Para: [EMAIL PROTECTED] Asunto: Re: LogFactor Le 3 mai 04, à 09:32, Carmona Perez

LogFactor

2004-05-03 Thread Carmona Perez, David
Hi, Does anyone know where I can find LogFactor5, in order to see in a more user friendly way the Cocoon logs.? Or is it the same as Chainsaw? I have found in the wiki this, http://wiki.cocoondev.org/Wiki.jsp?page=LogFactorFiveHowto, but doesn't explain how to get the program. I have searched

RE: LogFactor

2004-05-03 Thread Carmona Perez, David
Thanks. Of course I will update the wiki with any useful discoverings. -Mensaje original- De: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] Enviado el: lunes, 03 de mayo de 2004 10:22 Para: [EMAIL PROTECTED] Asunto: Re: LogFactor Le 3 mai 04, à 09:32, Carmona Perez, David a écrit

RE: JXT or XSP?

2004-05-03 Thread Carmona Perez, David
I agree, I tried to make my own business objects in cocoon.xconf, and it's quite complicated. I only use it input modules and things directly related to Cocoon. -Mensaje original- De: Ugo Cei [mailto:[EMAIL PROTECTED] Enviado el: lunes, 03 de mayo de 2004 11:32 Para: [EMAIL PROTECTED]

RE: sitemap-v06.rng

2004-04-30 Thread Carmona Perez, David
RelaxNG allows to create modular schemas, separated in several files. One could create a generic one, and include customizations for specific component types in external files. -Mensaje original- De: David Crossley [mailto:[EMAIL PROTECTED] Enviado el: viernes, 30 de abril de 2004 6:34

RE: Best way to merge two xml files

2004-04-30 Thread Carmona Perez, David
Hi, Other ways is to use the xinclude transformer (you can generate dynamically the xincludes), or use the XSLT document function. I have tried these methods, and all of them work ok. -Mensaje original- De: Tony Edwards [mailto:[EMAIL PROTECTED] Enviado el: viernes, 30 de abril de

sitemap-v06.rng

2004-04-29 Thread Carmona Perez, David
Hi all, I propose to change the RelaxNG validation file sitemap-v06.rng in this way: Component declaration like map:generator, map:transformer, map:serializer, and similars would need to be: define name=map.generator element name=map:generator

sitemap.java

2004-04-29 Thread Carmona Perez, David
Hi all, Where can I find the generated sitemap.java in order to debug some problems I have? In Cocoon 2.0.4 I could find it in the configured work directory of my servlet. Thanks for any help. David. * Este correo ha sido procesado

RE: RegexpURIMatcher problem

2004-04-29 Thread Carmona Perez, David
Have you looked at the Cocoon wiki? There is a lot of useful documentation. -Mensaje original- De: Jakob [mailto:[EMAIL PROTECTED] Enviado el: jueves, 29 de abril de 2004 14:14 Para: [EMAIL PROTECTED] Asunto: Re: RegexpURIMatcher problem Thanks Bruno, that did the trick. A little

RE: RegexpURIMatcher problem

2004-04-29 Thread Carmona Perez, David
easy to browse through 3rd party code. -Mensaje original- De: news [mailto:[EMAIL PROTECTED] nombre de Jakob Fix Enviado el: jueves, 29 de abril de 2004 15:43 Para: [EMAIL PROTECTED] Asunto: Re: RegexpURIMatcher problem Carmona Perez, David DPerezCar at fcc.es writes: Have you looked

RE: sitemap-v06.rng

2004-04-29 Thread Carmona Perez, David
PROTECTED] Asunto: Re: sitemap-v06.rng Hi, Carmona Perez, David [EMAIL PROTECTED] writes: I propose to change the RelaxNG validation file sitemap-v06.rng in this way: Component declaration like map:generator, map:transformer, map:serializer, and similars would need to be: [Snipped concrete

RE: URLEncoding of special characters

2004-04-22 Thread Carmona Perez, David
You have to configure the serializer encoding like in this sample: map:serializer name=xml-iso logger=serializ.xml src=org.apache.cocoon.serialization.XMLSerializer mime-type=text/xml encodingISO-8859-1/encoding /map:serializer -Mensaje original- De: news [mailto:[EMAIL

XSP and sitemap parameters

2004-04-21 Thread Carmona Perez, David
Hi, Does anybody know how to pass sitemap parameters to an XSP page? Can I do? map:generate type='xsp' map:parameter name='my-param' value='something'/ /map:generate How do I retrieve this parameter from the XSP code? Thanks for any answer.

RE: XSP and sitemap parameters

2004-04-21 Thread Carmona Perez, David
Thanks. I think there is other way xsp:exprparameters.getParameter("my-param")/xsp:expr -Mensaje original-De: beyaNet Consultancy [mailto:[EMAIL PROTECTED]Enviado el: miércoles, 21 de abril de 2004 15:30Para: [EMAIL PROTECTED]Asunto: Re: XSP and sitemap parameters try,

RE: XSP and sitemap parameters

2004-04-21 Thread Carmona Perez, David
PROTECTED] Asunto: Re: XSP and sitemap parameters Carmona Perez, David a écrit : Thanks. I think there is other way xsp:exprparameters.getParameter(my-param)/xsp:expr parameters requiers 2 parms if i'm not wrong : parameters.getParameter(your-parm,defaultvalue

RE: cocoon under eclipse

2004-04-20 Thread Carmona Perez, David
I use Tomcat 4.1.x with Eclipse 2.1.x successfully. For that I use the Sysdeo plugin: http://www.sysdeo.com/eclipse/tomcatPlugin.html . -Mensaje original- De: Flavio Palumbo [mailto:[EMAIL PROTECTED] Enviado el: lunes, 19 de abril de 2004 17:10 Para: [EMAIL PROTECTED] Asunto: Re:

RE: SAXParseException: Content is not allowed in prolog.

2004-04-20 Thread Carmona Perez, David
easy to accidentally insert some white space at the start of the file or something. -Original Message- From: Carmona Perez, David [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 April 2004 2:36 a.m. To: Cocoon (E-mail) Subject: RV: SAXParseException: Content is not allowed in prolog

RE: Validator Transformer

2004-04-19 Thread Carmona Perez, David
You were right. It has been corrected -Mensaje original- De: news [mailto:[EMAIL PROTECTED] nombre de Martin Holz Enviado el: viernes, 16 de abril de 2004 14:49 Para: [EMAIL PROTECTED] Asunto: Re: Validator Transformer Carmona Perez, David [EMAIL PROTECTED] writes: I've created

SAXParseException: Content is not allowed in prolog.

2004-04-19 Thread Carmona Perez, David
Hi all, I have a problem with Cocoon that I find a little hard to debug. My pipeline is something like: map:read src=myfile.xml/ map:transform type=xinclude/ !--Till here XML received is well formed-- map:transform type=saxon src=mystylesheet.xsl/ map:generate type=html/ And receive the

RV: SAXParseException: Content is not allowed in prolog.

2004-04-19 Thread Carmona Perez, David
transformer. Has this happened to anyone else? -Mensaje original- De: Carmona Perez, David Enviado el: lunes, 19 de abril de 2004 16:24 Para: Cocoon (E-mail) Asunto: SAXParseException: Content is not allowed in prolog. Hi all, I have a problem with Cocoon that I find a little hard

RE: SAXParseException: Content is not allowed in prolog.

2004-04-19 Thread Carmona Perez, David
Sorry, I meant map:generate instead of map:read -Mensaje original- De: Upayavira [mailto:[EMAIL PROTECTED] Enviado el: lunes, 19 de abril de 2004 16:37 Para: [EMAIL PROTECTED] Asunto: Re: SAXParseException: Content is not allowed in prolog. Carmona Perez, David wrote: Hi all, I have

RE: SAXParseException: Content is not allowed in prolog.

2004-04-19 Thread Carmona Perez, David
What is strange it that the fatal errors happen after the endDocument sax event is received!!! I've discovered this thanks to the LogTransformer. -Mensaje original- De: Carmona Perez, David Enviado el: lunes, 19 de abril de 2004 16:49 Para: [EMAIL PROTECTED] Asunto: RE

RE: Improvements to sitemap-v06.rng

2004-04-14 Thread Carmona Perez, David
: David Crossley [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 14 de abril de 2004 5:49 Para: [EMAIL PROTECTED] Asunto: Re: Improvements to sitemap-v06.rng *** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** Carmona Perez, David wrote

RE: cocoon under eclipse

2004-04-14 Thread Carmona Perez, David
CatalogManager.properties Maybe this is the cause of the problem. Thanks a lot Flavio Palumbo -- Original Message -- Reply-To: [EMAIL PROTECTED] Subject: RE: cocoon under eclipse Date: Tue, 13 Apr 2004 17:39:55 +0200 From: Carmona Perez, David [EMAIL PROTECTED] To: [EMAIL PROTECTED

Validator Transformer

2004-04-13 Thread Carmona Perez, David
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** Hi all, I've created a transformerthat can be inserted in any stage of an XML pipeline, in order to validate its contents. This can be a powerful tool for debugging and

RE: cocoon under eclipse

2004-04-13 Thread Carmona Perez, David
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** It seems a problem with the classpath, some core component of Cocoon is missing. Search for the existence of org/apache/cocoon/webapps/session/ContextManager.class in a JAR file.

RE: Resources inherited in sub-sitemaps

2004-04-08 Thread Carmona Perez, David
] Enviado el: miércoles, 07 de abril de 2004 21:23 Para: Cocoon (E-mail) Asunto: Re: Resources inherited in sub-sitemaps Hi, This might help you... http://marc.theaimsgroup.com/?l=xml-cocoon-devm=107607554627091w=2 -Tuomo On Wed, 7 Apr 2004, Carmona Perez, David wrote: Hi all, Are resources

RE: Anchor in an action

2004-04-08 Thread Carmona Perez, David
/map:act Okay. You say it doesn't work. What does it do that is wrong? Upayavira -Mensaje original- De: Upayavira [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 07 de abril de 2004 15:25 Para: [EMAIL PROTECTED] Asunto: Re: Anchor in an action Carmona Perez, David wrote: Hi all

RE: Anchor in an action

2004-04-08 Thread Carmona Perez, David
that is wrong? Upayavira -Mensaje original- De: Upayavira [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 07 de abril de 2004 15:25 Para: [EMAIL PROTECTED] Asunto: Re: Anchor in an action Carmona Perez, David wrote: Hi all, I've read in the wiki, http://wiki.cocoondev.org

RE: PatternException when expanding sitemap variables

2004-04-08 Thread Carmona Perez, David
' pattern='{nuevo-url}' to map:match type='hay-valor' pattern='{request-attr:nuevo-url}' Does anyone know if what has happened to me is a Cocoon bug or not? -Mensaje original- De: Carmona Perez, David Enviado el: jueves, 08 de abril de 2004 12:59 Para: [EMAIL PROTECTED] Asunto: RE

RE: PatternException when expanding sitemap variables

2004-04-08 Thread Carmona Perez, David
map:match type='hay-valor' pattern='{nuevo-url}' map:redirect-to uri='{1}'/ /map:match /map:act HTH Carsten -Original Message- From: Carmona Perez, David [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 2:31 PM To: [EMAIL PROTECTED] Subject: RE

RE: PatternException when expanding sitemap variables

2004-04-08 Thread Carmona Perez, David
. It should work this way (without a closing slash at the action element): map:act type=pon-idioma map:match type='hay-valor' pattern='{nuevo-url}' map:redirect-to uri='{1}'/ /map:match /map:act HTH Carsten -Original Message- From: Carmona Perez, David [mailto

RE: Resources inherited in sub-sitemaps

2004-04-07 Thread Carmona Perez, David
not, but maybe they will be in a future version...it sure would be nice. John Carmona Perez, David wrote: Hi all, Are resources inherited in sub-sitemaps? It seems that not. How can I inherit them. Thanks in advance for any help

RE: Documentation broken!

2004-04-07 Thread Carmona Perez, David
Para: [EMAIL PROTECTED] Asunto: RE: Documentation broken! Carmona Perez, David dijo: Strange, because the other documentation links work for me. And I have tried two browsers: IE 6.0 and Mozilla 1.6. This is the empty content I receive on this link: htmlbody/body/html Don't worry

RE: Resources inherited in sub-sitemaps

2004-04-07 Thread Carmona Perez, David
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** If I used to have this construct: map:call resource=myresource map:parameter name=a value=A/ map:parameter name=b value=B/ /map:call I must do this in order to encode

Anchor in an action

2004-04-07 Thread Carmona Perez, David
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** Hi all, I've read in the wiki, http://wiki.cocoondev.org/Wiki.jsp?page=SitemapVariableSubstitution, the following: you use the new anchor syntax. With sitemap variable anchors you

RE: Flow Session Variables

2004-04-07 Thread Carmona Perez, David
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** There is a way by using the SessionAttributeModule input module with this syntax: map:transform src='mystylesheet.xsl' map:parameter name='mysessionattr'

RE: Anchor in an action

2004-04-07 Thread Carmona Perez, David
map:redirect-to uri='/{#i:myvar}'/ /map:act /map:match /map:act -Mensaje original- De: Upayavira [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 07 de abril de 2004 15:25 Para: [EMAIL PROTECTED] Asunto: Re: Anchor in an action Carmona Perez, David wrote

RE: Documentation broken!

2004-04-06 Thread Carmona Perez, David
! *** Este correo ha sido procesado por el Antivirus del Grupo FCC ***-*** Le 6 avr. 04, à 16:06, Carmona Perez, David a écrit : ...The sitemap documentation is broken:   http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html Works fine here. -Bertrand

RE: Documentation broken!

2004-04-06 Thread Carmona Perez, David
-Mensaje original- De: Antonio Gallardo [mailto:[EMAIL PROTECTED] Enviado el: martes, 06 de abril de 2004 16:14 Para: [EMAIL PROTECTED] Asunto: Re: Documentation broken! Carmona Perez, David dijo: The sitemap documentation is broken: http://cocoon.apache.org/2.1/userdocs/concepts

RE: encodeURL transformer

2004-04-06 Thread Carmona Perez, David
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** If you know Java, you can try to debug the code of the encoder transformer. -Mensaje original- De: Davide [mailto:[EMAIL PROTECTED] Enviado el: martes, 06 de abril de 2004

Wildcard matcher and **

2004-04-06 Thread Carmona Perez, David
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** Hi all, How can I match the following URLs: - myresource - /myresource - myfolder/myresource but not: - armyresource I have tried: map:match

Input modules nesting

2004-04-01 Thread Carmona Perez, David
Hi all, Does anyone know if I can nest invocations to input modules in this way: map:parameter name="abc" value="{moduleA:{moduleB:_expression_}}"/ ? Thanks in advance for any help.

RE: cocoon protocol not available

2004-03-02 Thread Carmona Perez, David
Why don't you try with a newer version of Cocoon. E.g. with Cocoon 2.0.4, 2.1.2, 2.1.3 it has worked ok for me. -Mensaje original- De: Meyer, Christian [mailto:[EMAIL PROTECTED] Enviado el: martes, 02 de marzo de 2004 12:48 Para: '[EMAIL PROTECTED]' Asunto: cocoon protocol not available

RE: Cocoon efficiency and .jar files

2004-02-27 Thread Carmona Perez, David
I think when required, because class loader errors are detected when the class is used. Remove unnecessary jars in order to increase efficiency. David -Mensaje original- De: carl latimer [mailto:[EMAIL PROTECTED] Enviado el: viernes, 27 de febrero de 2004 11:47 Para: [EMAIL

RE: Failed to execute pipeline

2004-02-26 Thread Carmona Perez, David
Probable cause: You have an XML file somewhere with has a bad encoding. You are using an editor that is not XML aware and using some non-English character. David -Mensaje original- De: franck LAMY [mailto:[EMAIL PROTECTED] Enviado el: jueves, 26 de febrero de

Validating transformer

2004-02-26 Thread Carmona Perez, David
In order to improve the quality of my app, I would like to have a transformer that: given a DTD, schema or something similar, it could validate the XML data received. Does anybody know if there is already one? Thanks in advance for any help. David

RE: JXPathMetaModule configuration and sample use for function, package

2004-02-18 Thread Carmona Perez, David
Why don't you consult the jxpath web page? http://jakarta.apache.org/commons/jxpath/ I have used under Cocoon 2.0.4 custom functions without problems, but don't remember the details. David -Mensaje original- De: Roman Hrivik [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 18

RE: Is there a sitemap DTD?

2004-02-18 Thread Carmona Perez, David
I've seen a schema that I attach in this message. David -Mensaje original- De: Jim Bloggs [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de febrero de 2004 0:08 Para: [EMAIL PROTECTED] Asunto: Is there a sitemap DTD? Greetings Cocoon Users! Where can I find the sitemap DTD

RE: combining coocon with my web application

2004-02-18 Thread Carmona Perez, David
You can have more than one servlet per web application, it is a matter of defining in web.xml the address patterns that go to each servlet. For example, I combined successfully Cocoon and Struts. David -Mensaje original- De: reza x [mailto:[EMAIL PROTECTED]

RE: IE explorer problem

2004-02-16 Thread Carmona Perez, David
Why don't you use a final version of Cocoon 2.1 instead of a milestone, like i.e. 2.1.4? David -Mensaje original- De: Andrey Almirov [mailto:[EMAIL PROTECTED] Enviado el: lunes, 16 de febrero de 2004 11:25 Para: [EMAIL PROTECTED] Asunto: IE explorer problem Hello All! 1. I

xmlns namespace references not removed by the HTML serializer.

2004-02-16 Thread Carmona Perez, David
Hi all, Does anybody know why xmlns namespace references are not removed by the HTML serializer?. In my browser I can see some code like this: html xmlns:xf=ima.xf head META http-equiv=Content-Type content=text/html; charset=UTF-8 link xmlns:i18n=http://apache.org/cocoon/i18n/2.1;

RE: xmlns namespace references not removed by the HTMLserializer.

2004-02-16 Thread Carmona Perez, David
Thanks for all answers, it works ok. :) David -Mensaje original- De: Derek Hohls [mailto:[EMAIL PROTECTED] Enviado el: lunes, 16 de febrero de 2004 13:05 Para: [EMAIL PROTECTED] Asunto: Re: xmlns namespace references not removed by the HTMLserializer. See:

RE: File downloading problem

2004-02-13 Thread Carmona Perez, David
A solution that works for me is to use this reader (attached with this message) adapted from Cocoon 2.0.4, that should replace the buggy one that comes with Cocoon 2.1.2. David -Mensaje original- De: tonyo [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 21 de

RE: FileGenerator making two HTTP requests

2004-02-13 Thread Carmona Perez, David
And is there any known workaround? I have already tried to detect the first request with this action: public class RepeatedPdfRequestAction extends AbstractAction { /** @see org.apache.cocoon.acting.Action#act(org.apache.cocoon.environment.Redirector,

RE: Database pool and dynamic URLs

2004-01-27 Thread Carmona Perez, David
... hth, Frank - Original Message - From: Carmona Perez, David [EMAIL PROTECTED] To: Cocoon (E-mail) [EMAIL PROTECTED] Sent: Monday, January 26, 2004 4:54 PM Subject: Database pool and dynamic URLs Dear Cocooners, I've read an article about connection pooling in http://wiki.cocoondev.org

Database pool and dynamic URLs

2004-01-26 Thread Carmona Perez, David
Dear Cocooners, I've read an article about connection pooling in http://wiki.cocoondev.org/Wiki.jsp?page=ConnectionPooling . The technique explained there isn't useful for my case, because the user, password, and database name are not known beforehand, they are dynamically constructed. Any

RE: Database pool and dynamic URLs

2004-01-26 Thread Carmona Perez, David
more? Thanks Jorg Carmona Perez, David wrote: Dear Cocooners, I've read an article about connection pooling in http://wiki.cocoondev.org/Wiki.jsp?page=ConnectionPooling . The technique explained there isn't useful for my case, because the user, password, and database name are not known

Sitemap variables substitution limits

2004-01-21 Thread Carmona Perez, David
Hi all, Does anyone know why I can't use the following syntax: map:match pattern=* map act type='{0}' . /map:act /map:match What are the limits of variables substitution? I have used them successfully e.g. in the pattern and src attributes. Can they be

RE: [map:aggregate] passing sitemap parameter

2004-01-21 Thread Carmona Perez, David
You must set a parameter to a value, thorugh an action or a matcher. In this case, who sets the test parameter? David -Mensaje original- De: Jan Hoskens [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 21 de enero de 2004 10:48 Para: [EMAIL PROTECTED] Asunto:

Gzip pipeline processor

2004-01-13 Thread Carmona Perez, David
Hi everybody, I've created a new ProcessingPipeline, in order to compress with gzip. I want finer control and integration with Cocoon that the standard servlet filters may offer. It works ok, but the problem I have with it, is that the browser is terribly slow when getting the different

RE: Jetty and XSLT with document()

2004-01-05 Thread Carmona Perez, David
As a workaround to the problem, why dont try to use another protocol like: context:/myPath/myFile.xml or cocoon:/url ? David -Mensaje original- De: Jan Hoskens [mailto:[EMAIL PROTECTED] Enviado el: lunes, 05 de enero de 2004 14:53 Para: [EMAIL PROTECTED] Asunto:

RE: map:select parameter value from xsp?

2003-12-31 Thread Carmona Perez, David
Use an action for this purpose. David -Mensaje original- De: julien bloit [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 31 de diciembre de 2003 11:31 Para: [EMAIL PROTECTED] Asunto: map:select parameter value from xsp? Hi, Is there a simple way to set a sitemap parameter

gzip compression

2003-12-15 Thread Carmona Perez, David
Hi all, Does someone how can I make some action that activates compressing output data using GZip? Gzip compression is an HTTP 1.1 standard feature. Ideally it would be great if it could be like an action, so that it's easy to activate it on or off. I have tried this code: import

RE: Saxon and NullPointerException

2003-12-02 Thread Carmona Perez, David
/ /component +-- David -Mensaje original- De: Joerg Heinicke [mailto:[EMAIL PROTECTED] Enviado el: lunes, 01 de diciembre de 2003 18:00 Para: [EMAIL PROTECTED] Asunto: Re: Saxon and NullPointerException On 01.12.2003 10:56, Carmona Perez, David wrote: Hi all, Does anyone know

RE: Insert an image

2003-12-02 Thread Carmona Perez, David
Its as easy as: ?xml version='1.0'? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version='1.0' exclude-result-prefixes=#default xsl:template match=/ html img src=myImage.gif/ /html /xsl:template

2 generators in a request

2003-12-02 Thread Carmona Perez, David
Hi all, I'm using DocBook under Cocoon. In the chunked version of the standard DocBook stylesheets, the transformation step generates a set of files.. map match=**.html map:generate src=my-source.xml !-This steps generates in myTempDirectory/ the chunks-- map:transform src=html/chunk.xsl

Saxon and NullPointerException

2003-12-01 Thread Carmona Perez, David
Hi all, Does anyone know why I receive a NullPointerException when I place saxon-6.5.3.jar in the WEB-INF/lib file in an installation of Cocoon 2.1.2 that used to run ok? I used the Cocoon bundled with the latest version of Forrest. Are there any conflicts with Xalan? Thanks in advance for

RE: Saxon and NullPointerException

2003-12-01 Thread Carmona Perez, David
I have applied the patch to Saxon, documented in http://wiki.cocoondev.org/Edit.jsp?page=DocbookTransformation , and it continues to fail... David -Mensaje original- De: Carmona Perez, David Enviado el: lunes, 01 de diciembre de 2003 10:56 Para: Cocoon (E-mail) Asunto: Saxon

RE: Insert an image

2003-12-01 Thread Carmona Perez, David
What kind of image? A vectorial one through SVG? David -Mensaje original- De: Josep Riudavets [mailto:[EMAIL PROTECTED] Enviado el: lunes, 01 de diciembre de 2003 16:25 Para: [EMAIL PROTECTED] Asunto: Insert an image Hi all ... How can I do for inserting an

RE: Insert an image

2003-12-01 Thread Carmona Perez, David
EMAIL PROTECTED] Asunto: Re: Insert an image A jpg image It is placed into /cocoon/images/ directory ... - Original Message - From: Carmona Perez, David To: [EMAIL PROTECTED] Sent: Monday, December 01, 2003 4:33 PM Subject: RE: Insert an image What kind of image?

RE: how to use output of transform in sitemap

2003-11-24 Thread Carmona Perez, David
XSPAction or ServerPagesAction? David -Mensaje original- De: Lars Huttar [mailto:[EMAIL PROTECTED] Enviado el: jueves, 20 de noviembre de 2003 23:34 Para: [EMAIL PROTECTED] Asunto: RE: how to use output of transform in sitemap Hi all, To answer my own question, a good way to

Possible bug in XSP generator

2003-11-20 Thread Carmona Perez, David
Hi all, I have this snippet in an XSP file: xsp:logic for (java.util.Iterator it = ajs.getMods().iterator(); it.hasNext(); ) { String mod = it.next().toString(); xsp:exprmod/xsp:exprbr/ } /xsp:logic and the following code is generated: for (java.util.Iterator it =

RE: Possible bug in XSP generator

2003-11-20 Thread Carmona Perez, David
Additional note: If I change xsp:exprmod/xsp:expr to spanxsp:exprmod/xsp:expr/span then it is working ok. Must xsp:expr be enclosed inside another tag? David -Mensaje original- De: Carmona Perez, David [mailto:[EMAIL PROTECTED] Enviado el: jueves, 20 de

RE: Possible bug in XSP generator

2003-11-20 Thread Carmona Perez, David
:55 Para: [EMAIL PROTECTED] Asunto: Re: Possible bug in XSP generator Try this: xsp:logic for (java.util.Iterator it = ajs.getMods().iterator(); it.hasNext(); ) { /xsp:logic xsp:exprit.next().toString()/xsp:exprbr/ xsp:logic } /xsp:logic Best Regards, Antonio Gallardo Carmona Perez, David

RE: Possible bug in XSP generator

2003-11-20 Thread Carmona Perez, David
You're right, I haven't taken this detail into account David -Mensaje original- De: Antonio Gallardo [mailto:[EMAIL PROTECTED] Enviado el: jueves, 20 de noviembre de 2003 10:19 Para: [EMAIL PROTECTED] Asunto: RE: Possible bug in XSP generator Carmona Perez, David dijo: Thanks

Validating XML

2003-11-20 Thread Carmona Perez, David
Hi all, In order to increase the quality control of my app, does anyone know if there is any easy method of checking that the HTML generated is valid, and the XML in each pipeline step conforms certain schema or DTD? In a production environment it would be switched off.

RE: XSLT Reference Book

2003-11-20 Thread Carmona Perez, David
http://www.zvon.org/xxl/XSLTreference/Output/ this is a very good reference David -Mensaje original- De: apurva zaveri [mailto:[EMAIL PROTECTED] Enviado el: jueves, 20 de noviembre de 2003 16:44 Para: [EMAIL PROTECTED] Asunto: XSLT Reference Book Hello Everyone, Can anyone

RE: Possible bug in XSP generator

2003-11-20 Thread Carmona Perez, David
On 20.11.2003 16:17, Carmona Perez, David wrote: What's bad with HTML mails, they have a nicer appearance?. Nah, mails could be really easily read as pure text without any need for styling. And I don't want to use the styling other people like. And if you provide multipart as you did the mail size increases

ResourceReader problem

2003-11-12 Thread Carmona Perez, David
Hi all, I have a strange problem with the minimal sitemap shown below. With Internet Explorer 6, I receive the following error: Internet Explorer cannot download t.pdf from localhost. Internet Explorer was not able to open this Internet site. The request site is either unavailable

RE: SVG to SWF

2003-11-12 Thread Carmona Perez, David
You have always the option of studying the source code!!! David -Mensaje original- De: Carl Yestrau [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 12 de noviembre de 2003 16:56 Para: [EMAIL PROTECTED] Asunto: SVG to SWF I would like to use cocoon to convert simple svg images

RE: RV: ResourceReader problem

2003-11-12 Thread Carmona Perez, David
consuming for large files. When I have time, I'll try to improve this. David -Mensaje original- De: Carmona Perez, David Enviado el: miércoles, 12 de noviembre de 2003 16:57 Para: [EMAIL PROTECTED] Asunto: RE: RV: ResourceReader problem Yes to always return true David

RE: Woody and Flow Script

2003-11-12 Thread Carmona Perez, David
You don't need to wait to the next release. You can download a nightly build and take only the source code of the Woody block. The only problem is what may happen if something is not working. David -Mensaje original- De: Danny Bols [mailto:[EMAIL PROTECTED] Enviado el:

Diff for Patches

2003-11-12 Thread Carmona Perez, David
Hi all, Does anyone know how to get the diff tool to create patches?. I'm working under Windows. David

RE: Is somebody using JXforms?

2003-11-11 Thread Carmona Perez, David
: lunes, 10 de noviembre de 2003 13:19 Para: [EMAIL PROTECTED] Asunto: RE: Is somebody using JXforms? xsp? I though you use XMLForm. Sylvain -Message d'origine- De: Carmona Perez, David [mailto:[EMAIL PROTECTED] Date: lundi, 10. novembre 2003 13:14 À: [EMAIL PROTECTED] Objet: RE

RE: Woody error summary

2003-11-10 Thread Carmona Perez, David
? David -Mensaje original- De: Bruno Dumon [mailto:[EMAIL PROTECTED] Enviado el: viernes, 07 de noviembre de 2003 15:06 Para: [EMAIL PROTECTED] Asunto: RE: Woody error summary On Fri, 2003-11-07 at 15:03, Carmona Perez, David wrote: I would be glad to contribute to the project

RE: Woody error summary

2003-11-10 Thread Carmona Perez, David
Perez, David wrote: I've added the new wi:validation-errors tag that show a summary of errors that may have happened, and can be embedded inside the wt:form-template tag. What do you think? Can you please post a patch to Bugzilla? But before doing that, please substitute the hardcoded English

RE: Is somebody using JXforms?

2003-11-10 Thread Carmona Perez, David
PROTECTED] Asunto: RE: Is somebody using JXforms? Hi, I'm still using XMLForm with Cocoon 2.1.2 and all things work well. What is exactly your problem? Regards Sylvain -Message d'origine- De: Carmona Perez, David [mailto:[EMAIL PROTECTED] Date: vendredi, 7. novembre 2003 15:02 À: Cocoon

RE: Is somebody using JXforms?

2003-11-10 Thread Carmona Perez, David
that this message is produced by the repeat tag. Have you the same problem?? Regards Sylvain -Message d'origine- De: Carmona Perez, David [mailto:[EMAIL PROTECTED] Date: lundi, 10. novembre 2003 09:51 À: [EMAIL PROTECTED] Objet: RE: Is somebody using JXforms? The problem

RE: Woody custom validation

2003-11-07 Thread Carmona Perez, David
Thanks Bruno, Is woody2.js functional or still unstable? David -Mensaje original- De: Bruno Dumon [mailto:[EMAIL PROTECTED] Enviado el: jueves, 06 de noviembre de 2003 17:54 Para: [EMAIL PROTECTED] Asunto: Re: Woody custom validation On Thu, 2003-11-06 at 17:19, Carmona Perez

RE: Woody custom validation

2003-11-07 Thread Carmona Perez, David
custom validation On Thu, 2003-11-06 at 17:33, Carmona Perez, David wrote: Another issue, While in the provided example form.isValid is called? Isn't always the form valid when showForm() returns? Not necessarily, the normal form processing cycle can be interrupted (e.g. from an eventhandler

RE: Woody custom validation

2003-11-07 Thread Carmona Perez, David
at 17:19, Carmona Perez, David wrote: How can I do in flow script custom validation?, i.e. validation that is very app specific and Woody provided validations aren't enough. The only solution I see is to make a custom version of woody.js. Surely there must be something easier. See the docs

RV: Woody custom validation

2003-11-07 Thread Carmona Perez, David
And also, does anybody know to create a validation error that applies to the full form, not just a given field. Thanks in advance for any help. David -Mensaje original- De: Carmona Perez, David Enviado el: viernes, 07 de noviembre de 2003 11:55 Para: [EMAIL PROTECTED] Asunto

Rhino debugger

2003-11-07 Thread Carmona Perez, David
Hi all, Does anybody know how to can the Rhino _javascript_ debugger be aware of source file changes? The only solution I know is to restart the servlet. Thanks in advance. David

RE: RV: Woody custom validation

2003-11-07 Thread Carmona Perez, David
Thanks Bruno, We could have both of them, for greater flexibility. It makes sense to have errors that apply to the full form, and don't need to be shown next to a field.. David -Mensaje original- De: Bruno Dumon [mailto:[EMAIL PROTECTED] Enviado el: viernes, 07 de noviembre

RE: Woody and encoding forms.

2003-11-07 Thread Carmona Perez, David
This is an encoding problem. It seems UTF-8 interpreted as the Western encoding (sorry I don't remember its name) David -Mensaje original- De: Marcin Okraszewski [mailto:[EMAIL PROTECTED] Enviado el: viernes, 07 de noviembre de 2003 14:21 Para: [EMAIL PROTECTED] Asunto: Woody

  1   2   >