Re: ESQL QUERY
On 11.Jul.2002 -- 03:54 PM, Carlos Maté wrote: Hi. In my cocoon2 based application, queries in a xsp page using esql taglib are executed ¡¡ two times !! although, of course, they are only written once. It doesn't happen always, but happen. I think it's related with the form-validator but I'm not sure. And I need the form-validator. Can you help me, please? Example, please. I do use both without problem. Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add SUMMARY: to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xsl vs cocoon
ok, imagine i have an xsp page witch contains a input file field named "x". i want that the content of the field "x" will be a stylesheet which will be applied on a fixed file "b.xml". so how can you do that ? can you give an example ? thanks. PS:sorry fot HTML e-mails,i'm using IncrediMail which can't deliver other thing than HTML! ---Message original--- De : [EMAIL PROTECTED] Date : mercredi 10 juillet 2002 21:40:56 A : [EMAIL PROTECTED] Sujet : Re: Réf. : RE: xsl vs cocoon Othman Haddad wrote: it's partially true, because right now (which is a pitty) there's no sitemap element that can get a parameter value (which is sometimes very important)...There is a RequestParamAction and a RequestParameterExistsAction,and various components can take a UseRequestParameter parameter(os similar). Or did you have a different meaning for "parameter"in mind?J.Pietschmann-Please check that your question has not already been answered in theFAQ before posting. http://xml.apache.org/cocoon/faq/index.htmlTo unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]. IncrediMail - La messagerie électronique a enfin évolué - Cliquer ici
RE: Looking for help in the upcomming release - (i've tested it)
Thanks for your feedback, Josema. I've just refactored i18n and JSP samples, they can be accessed from: '/cocoon/samples/welcome' page. Hopefully, will have time to look also at XSP samples to add 'Back' links. For the form I've created - seems that it was not a good idea since result of the submit comes in a form of request parameters which is not very readable. I'll try add some JavaScript to post the result in needed form, though, I'm afraid that it won't be sooner than tomorrow. Konstantin From: Josema Alonso [mailto:[EMAIL PROTECTED]] Dear Friends, My name is Josema Alonso and I'm from Spain. Please, excuse my english if sometimes I do not write something properly, but I always try to do my best. I'm a Cocoon newbie. Well, not so. I used version 1.8 for some time and learned a lot with it. Now I've been following this list for some three months and finally I'm going to start a Cocoon project in a few days. You'll hear from me about it... I read Carsten message about the new release and I thought I could send my first post, playing the beta tester role. Though I see Konstantin is writing a form, I'm posting this here for you to know, but will fill the form once ready, too. I have installed: - Windows XP Professional - Tomcat 4.0.4 - Cocoon 2.0.3 CVS branch as stated in Carsten's message THE GOOD - - I built it and installed in Tomcat without problems. - I tried all the samples using IE6.0.2600.000 except the DELI ones and the portal authentication ones. Everything went fine excep the ones noted below. THE (NOT SO) BAD --- - A couple things I would like to see fixed are just a couple links. I do not remember if they were the same in previous versions. After clicking the XSP examples or the Internationalization ones I have to go back to the samples using the back button in my browser. Annoying in the cacheable examples when you have to go back 5 times after testing all of them. The 'back to samples' link is present in the JSP Reader sample, but this one doen't work properly since it takes you to the http://localhost:8080/cocoon page (assuming default installation, of course). - I reached an exception in the Python Generator. Probably I missed some .jar cause I'e never used Python. Error trace at the end of the message. - The 'Yahoo Screen Scrape' under Dynamic Content Examples did not work for me. I just got a blank page. - I did not test the portal and authentication samples since I only built Cocoon using the 'clean' option. Should I try using the -Dinclude.scratchpad.libs' option? I think that's all. Hope it helps. Best. *** Python Generator Sample Error Trace *** An error occurred The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Exception in ScriptGenerator.generate() More precisely: org.apache.cocoon.ProcessingException: Exception in ScriptGenerator.generate(): com.ibm.bsf.BSFException: unable to load language: jpython extra info full exception chain stacktrace show Original exception : com.ibm.bsf.BSFException: unable to load language: jpython at com.ibm.bsf.BSFManager.loadScriptingEngine(BSFManager.java:324) at com.ibm.bsf.BSFManager.exec(BSFManager.java:478) at org.apache.cocoon.generation.ScriptGenerator.generate(ScriptGe nerator.java:1 93) at org.apache.cocoon.components.pipeline.CachingEventPipeline.pro cess(CachingEv entPipeline.java:250) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr ocess(CachingS treamPipeline.java:399) at org.apache.cocoon.www.sitemap_xmap.matchN104D9(D:\Java\tomcat4 .0.4\work\Stan dalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sit emap_xmap.java :6184) at org.apache.cocoon.www.sitemap_xmap.process(D:\Java\tomcat4.0.4 \work\Standalo ne\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap _xmap.java:293 9) at org.apache.cocoon.www.sitemap_xmap.process(D:\Java\tomcat4.0.4 \work\Standalo ne\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap _xmap.java:250 4) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManage r.java:154) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet. java:999) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFilterCh ain.java:193) at
RE: Please help with SourceWritingTransformer
I seem to have done everything right and was testing out the SourceWritingTransformer and can't get it to write to a file. I have the pipeline map:match pattern=test/*.xsp map:generate type =serverpages src=test/{1}.xsp/ map:transform type=sql map:parameter name=use-connection value=dev_database/ /map:transform map:transform src=test/metadata.xsl/ map:transform type=xslt-with-parameters src=test/source.xsl map:parameter name=page-title value={page-title}/ /map:transform map:transform type=tofile2 map:parameter name=serializer value=xml/ /map:transform map:serialize type=xml/ /map:match I know that everything up to the second transformation works (until the tofile2 trans which is the SWT). The input to the SWT looks like this: ?xml version=1.0 encoding=UTF-8 ? source:write xmlns:source=http://apache.org/cocoon/source/1.0; src= context://my.xml KnowledgeObject xmlns:sql=http://apache.org/cocoon/SQL/2.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; ...stuff.. /KnowledgeObject /source:write Can you try with a src containing only the path and no context: at all? I think it may be the problem. Gurus will confirm, but I think that Writable source are URLs that can written to. context:// is a pseudo protocol, that is probably not handled correctly bu the SWT. Try with a path, I think SWT will be happier. Note for developpers: may be, the context:// could be considered a Writable Source. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ESQL QUERY
This is what I can see in core.log DEBUG (2002-07-12) 09:25.27:272 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/XIncludeTransformer: Parse type is XML DEBUG (2002-07-12) 09:25.27:273 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/LogKitLogger: Retrieving a org.apache.cocoon.components.parser.JaxpParser from the pool DEBUG (2002-07-12) 09:25.27:274 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/LogKitLogger: Returning a org.apache.cocoon.components.parser.JaxpParser to the pool DEBUG (2002-07-12) 09:25.27:275 [core.datasources.sga_db] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/LogKitLogger: Retrieving a org.apache.avalon.excalibur.datasource.JdbcConnection from the pool DEBUG (2002-07-12) 09:25.27:276 [core.datasources.sga_db] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/LogKitLogger: Pinging database after 243551ms of inactivity. DEBUG (2002-07-12) 09:25.27:279 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/FrmMotivosSolicitud_xsp: esql query: INSERT INTO SGMOSOTO SELECT SG_SQ_CO_MOTIVO_SOLI.NEXTVAL, 'PROBANDO' FROM DUAL WHERE NOT EXISTS (SELECT null FROM SGMOSOTO WHERE MOSO_DS_MOTIVO_SOLICITUD = 'PROBANDO') DEBUG (2002-07-12) 09:25.27:283 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/FrmMotivosSolicitud_xsp: esql query: SELECT MOSO_CO_MOTIVO_SOLICITUD, MOSO_DS_MOTIVO_SOLICITUD FROMSGMOSOTO DEBUG (2002-07-12) 09:25.27:284 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-196/FrmMotivosSolicitud_xsp: esql query: INSERT INTO SGMOSOTO SELECT SG_SQ_CO_MOTIVO_SOLI.NEXTVAL, 'PROBANDO' FROM DUAL WHERE NOT EXISTS (SELECT null FROM SGMOSOTO WHERE MOSO_DS_MOTIVO_SOLICITUD = 'PROBANDO') DEBUG (2002-07-12) 09:25.27:292 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-196/FrmMotivosSolicitud_xsp: esql query: SELECT MOSO_CO_MOTIVO_SOLICITUD, MOSO_DS_MOTIVO_SOLICITUD FROMSGMOSOTO DEBUG (2002-07-12) 09:25.27:357 [core.datasources.sga_db] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-196/LogKitLogger: Returning a org.apache.avalon.excalibur.datasource.JdbcConnection to the pool DEBUG (2002-07-12) 09:25.27:358 [core.datasources.sga_db] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/LogKitLogger: Returning a org.apache.avalon.excalibur.datasource.JdbcConnection to the pool The xsp page NuevoMotivoSolicitud: xsp:page xmlns:xi=http://www.w3.org/2001/XInclude; xmlns:error=http://apache.org/cocoon/error/2.0; language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:xsp-formval=http://apache.org/xsp/form-validator/2.0; xmlns:session=http://apache.org/xsp/session/2.0; SGA_APLICACION sga_id=frm_motivos_solicitud sga_titulo=Configuraci@CTE_ACENTO_O@n de Motivos de Solicitud xsp:logic String eliminar = xsp-request:get-parameter name=ELIMINAR/; String nuevo= xsp-request:get-parameter name=NUEVO/; String nuevaDescripcion = xsp-request:get-parameter name=INPUT_AREA_DESCRIPCION/; if (nuevaDescripcion != null) { nuevaDescripcion = nuevaDescripcion.toUpperCase(); } String motivo = xsp-request:get-parameter name=SELECT_MOTIVO/; /xsp:logic esql:connection esql:poolsga_db/esql:pool if (nuevo!=null) { ![CDATA[if ( (nuevo.equals(si)) (nuevaDescripcion!=null) (nuevaDescripcion.length() !=0) (nuevaDescripcion.length() @CTE_MAX_MOSO_DS_MOTIVO_SOLICITUD@) )]] { /xsp:logic esql:execute-query esql:query INSERT INTO SGMOSOTO SELECT SG_SQ_CO_MOTIVO_SOLI.NEXTVAL, 'xsp:exprnuevaDescripcion/xsp:expr' FROM DUAL WHERE NOT EXISTS (SELECT null FROM SGMOSOTO WHERE MOSO_DS_MOTIVO_SOLICITUD = 'xsp:exprnuevaDescripcion/xsp:expr') /esql:query esql:results esql:row-results /esql:row-results /esql:results esql:no-results /esql:no-results /esql:execute-query xsp:logic } } /xsp:logic SGA_FORMULARIO sga_alias=FrmMotivosSolicitud sga_titulo=Motivos de las solicitudes SGA_FILA SGA_SELECT_CONSULTA sga_nombre=SELECT_MOTIVO sga_titulo=Motivo SGA_OPCIONES_A_BUSCAR SGA_ModeloDatos_dameCodHor esql:execute-query esql:query SELECT MOSO_CO_MOTIVO_SOLICITUD,
Caching DirectoryGenerator.
I am currently using DirectoryGenerator. My concern is that it is probably a non-cacheable component, so each time a request is made, each time a listing of my directory is made. Of course, files in my directory change once in a century, so the DirectoryGenerator almost always gives the same result. If there is no caching system, I would like to make a kind of home-made caching strategy, using a separate file which timestamp would keep track of the modification in my directories (== I 'touch' this file each time I write something in my directories), so I check this timestamp against the last time the DirectoryGenerator was accessed, make a test and send a cached DirectoryGenerator result instead of launching the component. Is it possible to make that in current architecture? Is it possible to tune the caching strategy (with actions, for example). - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Another cashing question .....
. regarding cashing of images. I use a SVG image in shape of a piechart which is serialized into a jpeg and displayed in a serialized html page. Upon submitting the HTML page with choosen parameters, the same HTML page will be shown again but with different text and a new shape of the SVG piechart. However this is not the case while the image seems to be cashed, and only upon clicking the refresh button in the browser the new image will be displayed. Do anyone know how to turn this cashing of images off in cocoon 2. Thanx for your help!! Regards, Markus _ Markus Alin tel:+41 1 455 70 08 Swissrisk AG fax:+41 1 455 70 01 Räffelstrasse 32 mobile: +41 79 706 58 90 8045 Zürich mail: [EMAIL PROTECTED] Switzerland home: www.swissrisk.com _ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Looking for help in the upcomming release
Just an update to the procedure: If you use the latest CVS step 3 - setting the targetted jvm - is done now automatically by the build system. It detects the compiler version you use and chooses by itself the correct target. So, everything is getting easier. Carsten Carsten Ziegeler wrote: The Cocoon Project is working very hard to release 2.0.3 by Monday, July 15. To meet this goal -- which clearly will benefit all users -- we need some *specific* QA (quality assurance) input from the user community. To help, here's what you need to do: 1. Update your local CVS repository to the *latest* 2.0.3 branch version from CVS. 2. ./build.[sh|bat] clean 3. If you want to build for JDK 1.4 change in build.xml the following line from property name=jvm-target value=13 / to property name=jvm-target value=14 / Do not run Cocoon build for JDK 1.3 on a JDK 1.4 system or vice versa. Please note, that the build for JDK 1.3 is also targetted for JDK 1.2 4. ./build.[sh\bat] -Dinclude.webapp.libs=true webapp (or webapp-local) 5. Test *all* samples. Hit each and every sample page from links beginning at http://127.0.0.1:8080/cocoon/samples/ 6. Report back here on your findings, good or bad. 7. Make sure you describe your test environment: Platform and JVM, including version numbers. 8. If you find problems, be specific about the problem description: what page, what error, etc. 9. If you can provide a patch/info to fix the problem, even better. What we do *not* need: Please do not submit requests for XYZ features, dreams, etc. Please save these ideas for future versions. Thanks. The Cocoon Team - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForms and Schema W3C validation..
hi, i've downloaded and built the 2.1 version, because i'm interested in XMLForms.. it works fine,but i've gt a question: is it possible to create a form, validate the Data against a W3C Schema and then against a the Schematron rules embeded in the Schema W3C (will this one i think it could be logically possible if the first one does..) ? thanks for your help. IncrediMail - La messagerie électronique a enfin évolué - Cliquer ici
Re: [Q] util:include-uri relative path
On 11.Jul.2002 -- 10:03 PM, Vadim Gritsenko wrote: From: Eric Dalquist [mailto:[EMAIL PROTECTED]] I just tried using cocoon://nav_bar.xsp but it still didn't work. Looking in the core.log I found the following message: DEBUG (2002-07-11) 13:19.09:225 [core.url-factory](/cocoon/index.xsp) Thread-6/URLFactoryImpl: Making URL from cocoon://nav_bar.xsp DEBUG (2002-07-11) 13:19.09:225 [core.url-factory](/cocoon/index.xsp) Thread-6/URLFactoryImpl: Making URL - MalformedURLException in getURL: java.net.MalformedURLException: unknown protocol: cocoon at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at org.apache.cocoon.components.url.URLFactoryImpl.getURL(URLFactoryImpl.ja va:1 18) at org.apache.cocoon.www.logic.site_format_xsp.generate(C:\Program Files\Apache Group\Tomcat Hmmm... Looks like util logicsheet's code is quite outdated... Would you mind patching util logicsheet (util.xsl)? It should use source resolver to do the work. There's a util:include-source tag in util.xsl (2.1) that doesn't use URLFactory. Maybe that one does it? So, should we have include-uri and include-source be the same then? Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Q] util:include-uri relative path
My util.xsl doesn't have an include-source. There is include-uri, include-file include-expr. -Eric - Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 7:14 AM Subject: Re: [Q] util:include-uri relative path On 11.Jul.2002 -- 10:03 PM, Vadim Gritsenko wrote: From: Eric Dalquist [mailto:[EMAIL PROTECTED]] I just tried using cocoon://nav_bar.xsp but it still didn't work. Looking in the core.log I found the following message: DEBUG (2002-07-11) 13:19.09:225 [core.url-factory](/cocoon/index.xsp) Thread-6/URLFactoryImpl: Making URL from cocoon://nav_bar.xsp DEBUG (2002-07-11) 13:19.09:225 [core.url-factory](/cocoon/index.xsp) Thread-6/URLFactoryImpl: Making URL - MalformedURLException in getURL: java.net.MalformedURLException: unknown protocol: cocoon at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at org.apache.cocoon.components.url.URLFactoryImpl.getURL(URLFactoryImpl.ja va:1 18) at org.apache.cocoon.www.logic.site_format_xsp.generate(C:\Program Files\Apache Group\Tomcat Hmmm... Looks like util logicsheet's code is quite outdated... Would you mind patching util logicsheet (util.xsl)? It should use source resolver to do the work. There's a util:include-source tag in util.xsl (2.1) that doesn't use URLFactory. Maybe that one does it? So, should we have include-uri and include-source be the same then? Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ESQL QUERY
On 12.Jul.2002 -- 10:33 AM, Carlos Maté wrote: This is what I can see in core.log DEBUG (2002-07-12) 09:25.27:279 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-197/FrmMotivosSolicitud_xsp: esql query: DEBUG (2002-07-12) 09:25.27:284 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-196/FrmMotivosSolicitud_xsp: esql query: Interesting: two different threads! And in the sitemap... map:match pattern=NuevoMotivosSolicitud map:act type=form-validator map:call resource=portal /map:act map:call resource=portal What version of Cocoon are you using? Do you use the treeprocessor? How does the portal resource look like? I suspect the sitemap to be responsible for the problem you see. Change the second call to another resource and see if you find both resources executed in the log. Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add SUMMARY: to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sitemap configuration parameters
On 11.Jul.2002 -- 09:58 AM, Andrew C. Oliver wrote: I've got a number of pages that render relative links, but my application's root is subject to change. I could set the link base in every document but that would be a bit painful (to say the least). Is there a way to set a parameter in the sitemap that can be accessed in all pipelines? Or maybe some other way to achieve the same thing? Andrew, this question has been discussed at great lengths before, please refer to the archieves for a thourough discussion. options include: a) sitemap-wide parameters in 2.1 global-parameters b) DefaultsMetaModule in 2.1, setting application wide parameters in cocoon.xconf and use by {my-defaults:base-uri} for example c) set base url in stylesheet that processes all pages (could be prvided with a parameter from a) or b) d) ant task and place holders @uri-base@ e) variation of d): use sed / awk / whatever and place holders Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add SUMMARY: to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Q] util:include-uri relative path
On 12.Jul.2002 -- 07:20 AM, Eric Dalquist wrote: My util.xsl doesn't have an include-source. There is include-uri, include-file include-expr. Yeah, it's in 2.1 only. Might work just to copy this file from 2.1 and recompile 2.0.3 with it. Or try the snippet below and place it in your util.xsl: xsl:template match=util:get-source xsl:variable name=source-uri xsl:call-template name=get-string-parameter xsl:with-param name=nameuri/xsl:with-param /xsl:call-template /xsl:variable xsp:expr XSPUtil.getSourceAsString(xsl:copy-of select=$source-uri/,this.resolver) /xsp:expr /xsl:template xsl:template match=util:include-source xsl:variable name=source-uri xsl:call-template name=get-string-parameter xsl:with-param name=nameuri/xsl:with-param /xsl:call-template /xsl:variable xsp:logic { org.apache.cocoon.components.parser.Parser newParser = null; try { newParser = (org.apache.cocoon.components.parser.Parser) this.manager.lookup(org.apache.cocoon.components.parser.Parser.ROLE); XSPUtil.include(this.resolver.resolve(xsl:copy-of select=$source-uri/).getInputSource(), this.contentHandler, newParser); } catch (Exception e) { getLogger().error(Could not include source, e); } finally { if (newParser != null) this.manager.release((Component) newParser); } } /xsp:logic /xsl:template Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
using xsl:copy-of inside xsp:logic tag
In documentation of Cocoon (\docs\userdocs\xsp\logicsheet- concepts.html) I found this sample code: xsl:template match=sql:create-connection !-- *** Argument collection skipped for the sake of brevity *** -- xsp:logic SQLHelper.createConnection( xsl:copy-of select=$name/, xsl:copy-of select=$connect-url/, xsl:copy-of select=$user-name/, xsl:copy-of select=$password/, request ); /xsp:logic /xsl:template However I was trying to find similar code in samples but I don#8217;t see anything like this. In all samples code only xsp tags are used inside logic tag not standard xsl tags. I#8217;m try to do something similar. First I set XSL variable like this: xsl:variable name=loc-wxsl:value-of select=@w//xsl:variable and then try to use it to pass value to method in by helper class like above. I was also trying to write something like this: String s = xsl:copy-of select=$loc-w/; In this case I get: Error compiling: incompatible types Line 0, column 0: 1 error If I change it to: String s = (String) xsl:copy-of select=$loc- w/; I get: Error compiling: inconvertible types Line 0, column 0: 1 error This code then translated to Java is changed to: String s = (String) xspAttr.addAttribute( , select, select, CDATA, $loc-w ); Of course it is wrong because addAttribute() return void. But how was it possible that code in documentation was working? Maybe there is some syntax problem here which could be quickly pointed by some more advanced users? If not maybe somebody know how to in logicsheet take some attributes of one XML tag, and pass them to Java class, or use in inline code of XSP page. Thanks for any help or suggestions. Best regards, Arek - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Looking for help in the upcomming release
At 17:10 11.07.2002, Carsten wrote: The Cocoon Project is working very hard to release 2.0.3 by Monday, July 15. To meet this goal -- which clearly will benefit all users -- we need some *specific* QA (quality assurance) input from the user community. To help, here's what you need to do: 8. If you find problems, be specific about the problem description: what page, what error, etc. There is strange Unknown error by the index engine of Lucene!! System properties: Win 2000 Prof. jdk 1.4.0_01 tomcat 4.0.4 cvs from today when tomcat is started as a service in Windows No Error in log files The tomcat engine throw a windows exception and the process stops. it works when tomcat is started from a dos window with startup. on an system with tomcat4.0.1 and jdk1.3.1_02 and tomcat at service it work's nice. by the way the yahoo sample are blank Klaus - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using xsl:copy-of inside xsp:logic tag
On 12.Jul.2002 -- 01:53 PM, [EMAIL PROTECTED] wrote: In documentation of Cocoon (\docs\userdocs\xsp\logicsheet- concepts.html) I found this sample code: xsl:template match=sql:create-connection !-- *** Argument collection skipped for the sake of brevity *** -- xsp:logic SQLHelper.createConnection( xsl:copy-of select=$name/, xsl:copy-of select=$connect-url/, xsl:copy-of select=$user-name/, xsl:copy-of select=$password/, request ); /xsp:logic /xsl:template However I was trying to find similar code in samples but I don#8217;t see anything like this. In all samples code only xsp tags are used inside logic tag not standard xsl tags. You cannot use XSL(T) in XSPs. Only in logicsheets and stylesheets. Example logicsheets are located in xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java (Source directory, in binary distribution check cocoon-*.jar) Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add SUMMARY: to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: trouble getting return values from an Action Map
Ah, that makes sense now. Thanks, Chris! Harry -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 2:18 AM To: [EMAIL PROTECTED] Subject: Re: trouble getting return values from an Action Map On 09.Jul.2002 -- 05:39 PM, Lai, Harry wrote: If you're planning to pass multiple parameters, though, I think someone posted something about a bug with escaping the ampersand (http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101828372801806w=2) Harry, this bug stems from the fact that a sitemap is XML and is used to start an XML entity. Just like s are not usable in XML as characters. However, using the XML entity amp; and lt; instead works fine. E.g. map:redirect-to uri=some_page?foo=abcamp;bar=def/ Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Q] util:include-uri relative path
From: Christian Haul [mailto:[EMAIL PROTECTED]] On 12.Jul.2002 -- 07:20 AM, Eric Dalquist wrote: My util.xsl doesn't have an include-source. There is include-uri, include-file include-expr. Yeah, it's in 2.1 only. Might work just to copy this file from 2.1 and recompile 2.0.3 with it. Or try the snippet below and place it in your util.xsl: xsl:template match=util:get-source xsl:variable name=source-uri xsl:call-template name=get-string-parameter xsl:with-param name=nameuri/xsl:with-param /xsl:call-template /xsl:variable xsp:expr XSPUtil.getSourceAsString(xsl:copy-of select=$source- uri/,this.resolver) /xsp:expr /xsl:template xsl:template match=util:include-source xsl:variable name=source-uri xsl:call-template name=get-string-parameter xsl:with-param name=nameuri/xsl:with-param /xsl:call-template /xsl:variable xsp:logic { org.apache.cocoon.components.parser.Parser newParser = null; try { newParser = (org.apache.cocoon.components.parser.Parser) this.manager.lookup(org.apache.cocoon.components.parser.Parser.ROLE); XSPUtil.include(this.resolver.resolve(xsl:copy-of select=$source-uri/).getInputSource(), this.contentHandler, newParser); Ooooh, no! Sorry Chris, but why the hell parse source twice??? My thinking here is that everywhere else Cocoon uses resolver to resolver URIs (and factory is deprecated). Thus, include-source is not needed and include-uri has to be refactored. } catch (Exception e) { getLogger().error(Could not include source, e); } finally { if (newParser != null) this.manager.release((Component) newParser); } } And here is memory leak: no source.recycle(). Eric, Have you modified your copy as I suggested? Is it working? There is a chance to have this resolved with 2.0.3 release on Monday... Vadim /xsp:logic /xsl:template Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Q] util:include-uri relative path
I am going to take a look at it today. -Eric Dalquist - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Eric Dalquist' [EMAIL PROTECTED] Sent: Friday, July 12, 2002 8:42 AM Subject: RE: [Q] util:include-uri relative path From: Christian Haul [mailto:[EMAIL PROTECTED]] On 12.Jul.2002 -- 07:20 AM, Eric Dalquist wrote: My util.xsl doesn't have an include-source. There is include-uri, include-file include-expr. Yeah, it's in 2.1 only. Might work just to copy this file from 2.1 and recompile 2.0.3 with it. Or try the snippet below and place it in your util.xsl: xsl:template match=util:get-source xsl:variable name=source-uri xsl:call-template name=get-string-parameter xsl:with-param name=nameuri/xsl:with-param /xsl:call-template /xsl:variable xsp:expr XSPUtil.getSourceAsString(xsl:copy-of select=$source- uri/,this.resolver) /xsp:expr /xsl:template xsl:template match=util:include-source xsl:variable name=source-uri xsl:call-template name=get-string-parameter xsl:with-param name=nameuri/xsl:with-param /xsl:call-template /xsl:variable xsp:logic { org.apache.cocoon.components.parser.Parser newParser = null; try { newParser = (org.apache.cocoon.components.parser.Parser) this.manager.lookup(org.apache.cocoon.components.parser.Parser.ROLE); XSPUtil.include(this.resolver.resolve(xsl:copy-of select=$source-uri/).getInputSource(), this.contentHandler, newParser); Ooooh, no! Sorry Chris, but why the hell parse source twice??? My thinking here is that everywhere else Cocoon uses resolver to resolver URIs (and factory is deprecated). Thus, include-source is not needed and include-uri has to be refactored. } catch (Exception e) { getLogger().error(Could not include source, e); } finally { if (newParser != null) this.manager.release((Component) newParser); } } And here is memory leak: no source.recycle(). Eric, Have you modified your copy as I suggested? Is it working? There is a chance to have this resolved with 2.0.3 release on Monday... Vadim /xsp:logic /xsl:template Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Documentation confusion
From: Dan Jones [mailto:[EMAIL PROTECTED]] Hi Another newbie question, and probably a stupid one, but I find the following extract from the Cocoon 2.02 documentation a little confusing: Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible to use Cocoon build on JDK 1.3 with JDK 1.4 when it comes to database connections. So if you want to use Cocoon with JDK 1.4, you have to download the source distribution and build it by hand. It's the it is not possible... bit that I find confusing. If I'm using the Cocoon 2.02 binaries with JDK 1.4, am I OK? You are Ok until you try using SQL with Cocoon (ESQL or SQLTransformer). As Doc says, the difference which makes JDK's not compatible is in JDBC. Or do I need to go back, get the source files and build it? You can wait for 2.0.3 (Really Soon Now), it will address JDK version issues. Vadim Like I said, forgive if this is a really dumb question, but I don't quite get where the 1.3 comes into it. Cheers Dan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XML Form, extended validation and error messages
Hello, i again have a question concerning validation in connection with XMl forms. Is there a standard way how to handle validation, that cannot be done with the Schematron approach? I mean something like validating if a password is already existing in a database or running a Luhn Test for credit card validation. In the moment I would do this validation in my Action that I provide for the form handling (e.g.: the perform() method). What I would like to find out now is how to get error messages back to the page where the wrong input came from, if the validation fails. Can I access the xml file and add an error? How is it supposed to be done? By the way I got the FormTransformer plus the Schematron error messages running with i18n and will post how it worked for me next week (after I tested it a liitle bit more) Thanks in advance for any help! miHam - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Caching DirectoryGenerator.
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] I am currently using DirectoryGenerator. My concern is that it is probably a non-cacheable component, so each time a request is made, each time a listing of my directory is made. Of course, files in my directory change once in a century, so the DirectoryGenerator almost always gives the same result. If there is no caching system, I would like to make a kind of home-made caching strategy, using a separate file which timestamp would keep track of the modification in my directories (== I 'touch' this file each time I write something in my directories), so I check this timestamp against the last time the DirectoryGenerator was accessed, make a test and send a cached DirectoryGenerator result instead of launching the component. Is it possible to make that in current architecture? Is it possible to tune the caching strategy (with actions, for example). Unfortunately, no. But you can create CacheableDirectoryGenerator, which is not complex at all in your case. PS IIRC, DirectoryGenerator is (or will) being refactored in the 2.1 scratchpad. At least, there were talks about it. Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Another cashing question .....
From: Markus Alin [mailto:[EMAIL PROTECTED]] . regarding cashing of images. I use a SVG image in shape of a piechart which is serialized into a jpeg and displayed in a serialized html page. Upon submitting the HTML page with choosen parameters, the same HTML page will be shown again but with different text and a new shape of the SVG piechart. However this is not the case while the image seems to be cashed, and only upon clicking the refresh button in the browser the new image will be displayed. Do anyone know how to turn this cashing of images off in cocoon 2. Cocoon 2 can not turn of caching of images in your browser (and, it is clear from your email, that caching occurs in the browser). However, you can set some headers using action (try HttpHeaderAction) which will help you disable browser's cache (and proxy's cache). These are: Expires: 0 Pragma: no-cache Read also about IE: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q234067 PS Is it FAQ? PPS This answer applies to 2.0.3 and 2.1, but 2.1 will have ability to set expires header on pipeline level. Vadim Thanx for your help!! Regards, Markus _ Markus Alintel:+41 1 455 70 08 Swissrisk AG fax:+41 1 455 70 01 Räffelstrasse 32 mobile: +41 79 706 58 90 8045 Zürichmail: [EMAIL PROTECTED] Switzerlandhome: www.swissrisk.com _ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ESQL QUERY
I use cocoon2.0.1 My resource portal: map:resource name=portal map:generate type=serverpages src={accion}.xsp map:parameter name=validado value={validado}/ map:parameter name=ajeno value={ajeno}/ map:parameter name=primeraVez value={primeraVez}/ map:parameter name=vieneDeMod value={vieneDeMod}/ /map:generate map:transform type=xinclude/ map:act type=session-validator map:parameter name=descriptor value=context://pieles/piel.xml/ map:parameter name=validate-set value=piel-hojasestilo3/ map:transform src=context://pieles/{es.tid.sga.piel.nombre.hojasestilo}/portal.xsl map:parameter name=PSP_PERFIL value={PSP_PERFIL}/ map:parameter name=PSP_MATRICULA_RH value={PSP_MATRICULA_RH}/ map:parameter name=PSP_NOMBRE_USU value={PSP_NOMBRE_USU}/ map:parameter name=PSP_APELLIDOS_USU value={PSP_APELLIDOS_USU}/ map:parameter name=PSP_CARGO value={PSP_CARGO}/ map:parameter name=PSP_NOMBRE_TERRITORIO value={PSP_NOMBRE_TERRITORIO}/ /map:transform map:serialize type=html/ /map:act map:act type=session-validator map:parameter name=descriptor value=context://pieles/piel.xml/ map:parameter name=validate-set value=sesion3/ map:transform src=context://pieles/default/hojasestilo/portal.xsl map:parameter name=PSP_PERFIL value={PSP_PERFIL}/ map:parameter name=PSP_MATRICULA_RH value={PSP_MATRICULA_RH}/ map:parameter name=PSP_NOMBRE_USU value={PSP_NOMBRE_USU}/ map:parameter name=PSP_APELLIDOS_USU value={PSP_APELLIDOS_USU}/ map:parameter name=PSP_NOMBRE_TERRITORIO value={PSP_NOMBRE_TERRITORIO}/ map:parameter name=PSP_CARGO value={PSP_CARGO}/ /map:transform map:serialize type=html/ /map:act map:act type=session-validator map:parameter name=descriptor value=context://pieles/piel.xml/ map:parameter name=validate-set value=piel-hojasestilo-inicio/ map:transform src=context://pieles/{es.tid.sga.piel.nombre.hojasestilo}/portal.xsl/ map:serialize type=html/ /map:act map:transform src=context://pieles/default/hojasestilo/portal.xsl/ map:serialize type=html/ /map:resource I have also modified the sitemap: map:match pattern=NuevoMotivosSolicitud map:act type=form-validator map:parameter name=descriptor value=context://descriptores/NuevoMotivosSolicitud.xml/ map:parameter name=validate-set value=NuevoMotivosSolicitud/ map:call resource=portal map:parameter name=accion value=context://logica/configuracion/MotivosSolicitud/FrmMotivosSolicitud/ map:parameter name=validado value=false/ map:parameter name=ajeno value=false/ map:parameter name=primeraVez value=false/ map:parameter name=vieneDeMod value=false/ /map:call /map:act map:call resource=recursoprueba map:parameter name=accion value=context://logica/configuracion/MotivosSolicitud/FrmNuevoMotivosSolicitud/ map:parameter name=validado value=true/ map:parameter name=ajeno value=false/ map:parameter name=primeraVez value=false/ map:parameter name=vieneDeMod value=false/ /map:call /map:match map:resource name=recursoprueba map:generate type=serverpages src={accion}.xsp/ map:serialize type=xml/ /map:resource In the core.log I can't find the string recursoprueba but the queries have been executed twice. DEBUG (2002-07-12) 13:52.02:326 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-71/XIncludeTransformer: Base URI: file:/users/sga/webapps/pruebas/sga/distribucion/logica/configuracion/MotivosSolicitud/ DEBUG (2002-07-12) 13:52.02:326 [core.url-factory] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-71/URLFactoryImpl: Making URL from file:/users/sga/webapps/pruebas/sga/distribucion/logica/configuracion/MotivosSolicitud/../../../perfiles/administradorn/documentos/menu.xml DEBUG (2002-07-12) 13:52.02:337 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-71/XIncludeTransformer: URL: org.apache.cocoon.components.source.URLSource@1fda617 Suffix: DEBUG (2002-07-12) 13:52.02:338 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-71/XIncludeTransformer: Parse type is XML DEBUG (2002-07-12) 13:52.02:338 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-71/LogKitLogger: Retrieving a org.apache.cocoon.components.parser.JaxpParser from the pool DEBUG (2002-07-12) 13:52.02:338 [core] (/sg/perfil:administradorn/NuevoMotivosSolicitud) Thread-70/FrmMotivosSolicitud_xsp: esql query: INSERT INTO SGMOSOTO SELECT SG_SQ_CO_MOTIVO_SOLI.NEXTVAL, 'PRUEBA 2' FROM DUAL WHERE NOT EXISTS (SELECT null FROM SGMOSOTO WHERE MOSO_DS_MOTIVO_SOLICITUD = 'PRUEBA 2') DEBUG (2002-07-12)
Re: encoding problem with xslt
Hello Thorsten, there was a bug in Xalan with URL encoding more than a half year ago, but I don't know what's the current status. xsl:template match='c[@color=blue]' xsl:element name=a xsl:attribute name=href frameset.xsp?filename=xsl:value-of select=@sourcefile/amp;searchstring=xsl:value-of disable-output-escaping=yes select=./ /xsl:attribute xsl:value-of select=./ /xsl:element /xsl:template xsl:stylesheet You can remove disable-output-escaping, because it has no effect in Cocoon and should not been used generally, because it's an optional function in XSLT. Furthermore you can rewrite your code as a href=frameset.xsp?filename={@sourcefile}amp;searchstring={.} xsl:value-of select=./ /a It's maybe more readable. output: a href=frameset.xsp?filename=foo.xmlsearchstring=Integrations%C3%A4mter Integrationsauml;mter /a . It looks not really bad to me. I don't know exactly to which %XX the a umlaut should be transformed correctly and whether to one %XX or two, but it looks not wrong. desired output: a href=frameset.xsp?filename=foo.xmlsearchstring=Integrationsauml;mter Integrationsauml;mter /a . This is definitely not correct. You can't use a entity in URL. - using the disable-output-escaping attribute in the xsl: value-of ... element - no success deactivated in Cocoon -setting the encoding in the xsl:output ... element - no success deactivated in Cocoon, you do this in the sitemap as you did it correctly -setting the encoding in the sitemap map:transformer ... - no success Definitely not at map:transformer, but map:serializer. What I don't know is, whether it works at the pipe or only at map:serializer in map:components -spelling the string 'iso-8859-1' in uppercase and lowerscase letters makes no difference, at least with Xalan. Is there any possibility generating the desired output using the current version of cocoon? Thanks in advance, Thorsten Regards, Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Stream generator
There is a nice example how cocoon can handle posted xml data under samples/request1 uri. Still I got no idea how to process this data. Let's suppose I really want to make an order so it has to end up in some database tables. What do I do ? Do I need to write my own action? Is it posssible to use only XSP ? If an action is needed can anyone provide me with simplest action code snippet. My knowledge of cocoon classes is still very limited. Thanks ouzo -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HTML tree from a Directory generator.
Is there somewhere a XSL that outputs a HTML+javascript tree view of a directory generator output? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLForms and Schema W3C validation..
ok i'll try to do that if nobody has done it yet?!! :-) so is there anybody there who has already implement the multi schema validator in cocoon? regards ---Message original--- De : Ivelin Ivanov Date : vendredi 12 juillet 2002 13:46:50 A : Othman Haddad; cocoon user list Sujet : Re: XMLForms and Schema W3C validation.. Yes. All the prerequisites are available, but the glue hasn't been applied. Xerces validates W3C Schema. Schematron can be embedded within XML Schema documents and then extracted and applied. Examples for this are available on the Schematron site and I believe that Sun's multi schema validator have implementation for it. So I think you will need to implement the org.apache.cocoon.components.validation.Validator interface to plug in the new multischema validator. It's worth trying. -=Ivelin=- - Original Message - From: Othman Haddad To: cocoon user list Sent: Friday, July 12, 2002 5:53 AM Subject: XMLForms and Schema W3C validation.. hi, i've downloaded and built the 2.1 version, because i'm interested in XMLForms.. it works fine,but i've gt a question: is it possible to create a form, validate the Data against a W3C Schema and then against a the Schematron rules embeded in the Schema W3C (will this one i think it could be logically possible if the first one does..) ? thanks for your help. IncrediMail - La messagerie électronique a enfin évolué - Cliquer ici
RE: encoding problem with xslt
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] desired output: a href=frameset.xsp?filename=foo.xmlsearchstring=Integrations auml;mter Integrationsauml;mter /a . This is definitely not correct. You can't use a entity in URL. Of course you can, although that should be (replacing the '' with amp;) a href=frameset.xsp?filename=foo.xmlamp;searchstring=Integrationsauml;m ter Integrationsauml;mter /a Cheers, Manos - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
help needed with building C2.0.2
Hello, I get errors at build time, using j2sdk 1.4.0 with xalan and xerces from c2 into JAVA_HOME/jre/lib. [javac] E:\cocoon202_fichiers_install\cocoon-2.0.2\build\cocoon\src\org\apac he\cocoon\components\language\markup\xsp\EsqlConnection.java:66: class org.apach e.cocoon.components.language.markup.xsp.EsqlConnection must be declared abstract . It does not define void setHoldability(int) from interface java.sql.Connection . [javac] public class EsqlConnection implements Connection { [javac] ^ My problem is to make C2 work with tomcat 4.0.4 : I get JaxpParser not found. Thanks for any clue. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: encoding problem with xslt
Manos Batsis wrote: From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] desired output: a href=frameset.xsp?filename=foo.xmlsearchstring=Integrations auml;mter Integrationsauml;mter /a . This is definitely not correct. You can't use a entity in URL. Of course you can, although that should be (replacing the '' with amp;) a href=frameset.xsp?filename=foo.xmlamp;searchstring=Integrationsauml;m ter Integrationsauml;mter /a Still no. Of course you can write this in your XML input, but in the serialized output a valid URL has to be written. And auml; is not valid, the is reserved for concatenating request parameters. If this is working in some browsers, then they have some intelligence to fix developer errors. A XSLT processor should not output such errors. Regards, Joerg Cheers, Manos -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: encoding problem with xslt
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Still no. Of course you can write this in your XML input, but in the serialized output a valid URL has to be written. And auml; is not valid, the is reserved for concatenating request parameters. My apologies, I should have read the message more carefully. The transformation output will of course contain the expanded entities. I had the same problem once; the solution was to check attribute values for the entity substring (using an applet, the transformation was on the client side) and replace it with my own entity, something like _%foo; then add yet another step after the transformation to replace that with the normal entity. Not nice but it worked... Cheers, Manos - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XML Form, extended validation and error messages
From: [EMAIL PROTECTED] Hello, snip why=can't help at the moment / By the way I got the FormTransformer plus the Schematron error messages running with i18n and will post how it worked for me next week (after I tested it a liitle bit more) Great news! Looking forward to see that. Konstantin Thanks in advance for any help! miHam - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Q] util:include-uri relative path
On 12.Jul.2002 -- 08:42 AM, Vadim Gritsenko wrote: From: Christian Haul [mailto:[EMAIL PROTECTED]] try { newParser = (org.apache.cocoon.components.parser.Parser) this.manager.lookup(org.apache.cocoon.components.parser.Parser.ROLE); XSPUtil.include(this.resolver.resolve(xsl:copy-of select=$source-uri/).getInputSource(), this.contentHandler, newParser); Ooooh, no! Sorry Chris, but why the hell parse source twice??? OK, must have overlooked the toSAX() method. Sorry. Thanks for pointing it out. BTW is there an *easy* way to stay up to date with Avalon API docs? Sofar I've only managed to download a source distro occasionally since the binary one seemed not to include them Actually, I wouldn't mind to have the Avalon API docs included with C2... Afterall, extending C2 is heavily based upon Avalon knowledge. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: encoding problem with xslt
If anyone has some more ideas on this topic (non-ISO-8859-1 characters within URIs), I would greatly appreciate some more input. Conclusion for me is to avoid such characters in URIs. But this does not get easily into the heads of our customers and users. (e.g. file names) According to the old Xalan bug, we used forms with javascript. But this doesn't solve the problem generally, only our special use case. Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html entities and xsl
Hi, I suppose this is a usual question but i've not been able to find its answer so far... how can I use html entities inside an xsl?... In fact I have an html file (not created by me) in which I have to insert dynamic information which cocoon will generate. The thing is thus that I'd like to leave the html (not xhtml thow i've converted into it) file untouched and insert data inside... Any easy solutions? or at least... dose somebody know how to resolve the entities problem? Thanks in advance! -- Albert Cervera Areny Dept. Informàtica Sedifa, S.L. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: encoding problem with xslt
- Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 4:36 PM Subject: RE: encoding problem with xslt From: Jens Lorenz [mailto:[EMAIL PROTECTED]] ... If anyone has some more ideas on this topic (non-ISO-8859-1 characters within URIs), I would greatly appreciate some more input. IMHO, non-ascii characters in URIs should be avoided by all means possible. Less issues for you *and* for visitors of your site. Issues with non-ascii characters in URIs are endless (I bet you have not thought about visitors of your site exchanging bookmarks/URIs, and their systems have different encodings) Vadim Thanks for you input Vadim. But do not only think of web sites. But also of web applications. Think of a web cms for maintaining html content. Avoiding non-ISO characters ist impossible for non-english web sites. Fortunately POST method is immune to such issues. So the only option is to carry these characters via POST back to Cocoon. Jens -- jens.lorenz at interface-projects dot de interface:projects GmbH \\|// Tolkewitzer Strasse 49 (o o) 01277 Dresden oOOo~(_)~oOOo Germany - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: html entities and xsl
This sounds pretty specialized in one way and generic in another. The problem being is that the insertion point is content specific. Meaning you'll need to at least insert some kind of tag into the file. From my limited understanding this is something that Velocity is pretty good at (provided you insert some kind of velocity tag). From my understanding Cocoon has a velocity generator that is nearly completely undocumented (but provided you could grok velocity (http://jakarta.apache.org/velocity/), I'm betting you could figure out the generator (http://xml.apache.org/cocoon/userdocs/generators/velocity-generator.html). A few alternatives come to mind off hand: 1. Write generators/transformers for cocoon that are content/style specific (which I bet you'll still have to put tags in the HTML) 2. Find a way to use the Velocity generator and add the tags 3. Work with your content-management group (assumption) who maintains the HTML, come up with something that is XHTML based and perhaps transitional. They'll gain some new skills that they may value, and you'll get something cleaner. You could probably create a few not wonderful (from an achedemic standpoint) xml stylesheets that left you with seperation between your data and the (barely xsl) xhtml page without requiring them to become xsl geniuses overnight. Basically have a big block of html with some xsl copy statements in it at the appropriate places. Later you can move to greater seperation of data and style as the group picks up your xml/xsl skills. Or thats my thinking. Someone please step in and correct me if I'm off base. thankse, -Andy Albert Cervera Areny wrote: Hi, I suppose this is a usual question but i've not been able to find its answer so far... how can I use html entities inside an xsl?... In fact I have an html file (not created by me) in which I have to insert dynamic information which cocoon will generate. The thing is thus that I'd like to leave the html (not xhtml thow i've converted into it) file untouched and insert data inside... Any easy solutions? or at least... dose somebody know how to resolve the entities problem? Thanks in advance! - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: encoding problem with xslt
- Original Message - From: Joerg Heinicke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 4:45 PM Subject: Re: encoding problem with xslt If anyone has some more ideas on this topic (non-ISO-8859-1 characters within URIs), I would greatly appreciate some more input. Conclusion for me is to avoid such characters in URIs. But this does not get easily into the heads of our customers and users. (e.g. file names) According to the old Xalan bug, we used forms with javascript. But this doesn't solve the problem generally, only our special use case. Joerg Joerg, which Xalan bug are you referring to ? I browsed the list of open bugs, but only found related bugs. IMHO this is not a bug, but a lack of specification. W3C has a draft about an IRI (internationalized URI), but until this gets adopted and implemented we'll have to deal with the mess. Jens -- jens.lorenz at interface-projects dot de interface:projects GmbH \\|// Tolkewitzer Strasse 49 (o o) 01277 Dresden oOOo~(_)~oOOo Germany - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: encoding problem with xslt
From: Jens Lorenz [mailto:[EMAIL PROTECTED]] - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 4:36 PM Subject: RE: encoding problem with xslt From: Jens Lorenz [mailto:[EMAIL PROTECTED]] ... If anyone has some more ideas on this topic (non-ISO-8859-1 characters within URIs), I would greatly appreciate some more input. IMHO, non-ascii characters in URIs should be avoided by all means possible. Less issues for you *and* for visitors of your site. Issues with non-ascii characters in URIs are endless (I bet you have not thought about visitors of your site exchanging bookmarks/URIs, and their systems have different encodings) Vadim Thanks for you input Vadim. But do not only think of web sites. But also of web applications. Think of a web cms for maintaining html content. Avoiding non-ISO characters ist ^^^ :) impossible for non-english web sites. Fortunately POST method is immune to such issues. So the only option is to carry these characters via POST back to Cocoon. It is also the safest way and compatible among all browsers/platforms (if platform supports this encoding, of course). Take care, Vadim Jens -- jens.lorenz at interface-projects dot de interface:projects GmbH \\|// Tolkewitzer Strasse 49 (o o) 01277 Dresden oOOo~(_)~oOOo Germany - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html entities and xsl
From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] This sounds pretty specialized in one way and generic in another. The problem being is that the insertion point is content specific. Meaning you'll need to at least insert some kind of tag into the file. Sometimes yes, and sometimes it is not necessary (it depends on your content), see below... From my limited understanding this is something that Velocity is pretty good at (provided you insert some kind of velocity tag). Inclusion is better way, it is native to Cocoon and you don't have to include yet-another-not-so-small-library. From my understanding Cocoon has a velocity generator that is nearly completely undocumented (but provided you could grok velocity (http://jakarta.apache.org/velocity/), I'm betting you could figure out the generator (http://xml.apache.org/cocoon/userdocs/generators/velocity-generator.htm l). Yes, it has. A few alternatives come to mind off hand: 1. Write generators/transformers for cocoon that are content/style specific (which I bet you'll still have to put tags in the HTML) Simple XSLT which adds include tag will suffice in most cases. 2. Find a way to use the Velocity generator and add the tags 3. Work with your content-management group (assumption) who maintains the HTML, come up with something that is XHTML based and perhaps transitional. They'll gain some new skills that they may value, and you'll get something cleaner. You could probably create a few not wonderful (from an achedemic standpoint) xml stylesheets that left you with seperation between your data and the (barely xsl) xhtml page without requiring them to become xsl geniuses overnight. Basically have a big block of html with some xsl copy statements in it at the appropriate places. Later you can move to greater seperation of data and style as the group picks up your xml/xsl skills. Or thats my thinking. Someone please step in and correct me if I'm off base. Regarding: have an html file (not created by me) in which I have to insert dynamic information which cocoon will generate. The thing is thus that I'd like to leave the html (not xhtml thow i've converted into it) file untouched and insert data inside... Any easy solutions? or at least... dose somebody The simplest, and well-known, and documented, and with lots of samples way is sitemap aggregation. You have your source page intact, and you add some dynamic content to it. Post-process aggregated result with XSLT, and you are done. Regarding entities, I believe that is something which can be handled by entity resolution catalog. You will have to add DTD declaration to your document though. See entity catalog demos and docs. Vadim thankse, -Andy Albert Cervera Areny wrote: Hi, I suppose this is a usual question but i've not been able to find its answer so far... how can I use html entities inside an xsl?... In fact I have an html file (not created by me) in which I have to insert dynamic information which cocoon will generate. The thing is thus that I'd like to leave the html (not xhtml thow i've converted into it) file untouched and insert data inside... Any easy solutions? or at least... dose somebody know how to resolve the entities problem? Thanks in advance! - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: encoding problem with xslt
Hmm, I didn't test it a long time and didn't find a correlating bug by a short view on Xalan bug list. It was a bug in our application that mü was transformed to mü. (For people with different encoding: u umlaut == A+~ and 1/4.) I had in mind (and written in our bugzilla) that it was a Xalan bug, maybe that's wrong. It sounds a bit like the description of the original post on this thread. At least we solved it with POST form. Joerg Jens Lorenz wrote: - Original Message - From: Joerg Heinicke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 4:45 PM Subject: Re: encoding problem with xslt If anyone has some more ideas on this topic (non-ISO-8859-1 characters within URIs), I would greatly appreciate some more input. Conclusion for me is to avoid such characters in URIs. But this does not get easily into the heads of our customers and users. (e.g. file names) According to the old Xalan bug, we used forms with javascript. But this doesn't solve the problem generally, only our special use case. Joerg Joerg, which Xalan bug are you referring to ? I browsed the list of open bugs, but only found related bugs. IMHO this is not a bug, but a lack of specification. W3C has a draft about an IRI (internationalized URI), but until this gets adopted and implemented we'll have to deal with the mess. Jens -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems running cocoon 2.0.2 on iPlanet application server 6.5
Has anyone configured cocoon 2.0.2 on iPlanet Application server 6.5. Is it stable on iPlanet server 6.5 on windows 2000? Does any one have guidelines or steps for this installation? I have configured cocoon 2.0.2 on iAS 6.5 (tried on NT and 2000). I could get it to work, but performance is bad. Plus this morning cocoon servlet crashed giving following message: SERVLET-execution_failed: Error in executing servlet org.apache.cocoon.servlet.CocoonServlet: java.lang.InternalError: assertion failed. I recycled iPlanet to fix this issue. We are using cocoon in apache-tomcat for current production environment and trying to migrate to iAS 6.5 on window 2000. Software versions used: IAS 65. JDK 1.3.1 OS: Windows 2000 Server Cocoon 2.0.2 Thanks Mohan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: encoding problem with xslt
- Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 5:05 PM Subject: RE: encoding problem with xslt snip/ Thanks for you input Vadim. But do not only think of web sites. But also of web applications. Think of a web cms for maintaining html content. Avoiding non-ISO characters ist ^^^ :) Ooops. This happens when somebody near you forces you to think in two languages at once (one written, one spoken) ... sorry. But now you know the german equivalent for is (if you didn't know yet). impossible for non-english web sites. Fortunately POST method is immune to such issues. So the only option is to carry these characters via POST back to Cocoon. It is also the safest way and compatible among all browsers/platforms (if platform supports this encoding, of course). Take care, Vadim Jens -- jens.lorenz at interface-projects dot de interface:projects GmbH \\|// Tolkewitzer Strasse 49 (o o) 01277 Dresden oOOo~(_)~oOOo Germany - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
map parameter and resource
Hello, my problem is to : have resources generate / transform / serialize so that I get XML, but using a parameter. then I want to aggregate these 2 XML documents and transform / serialize by another stylesheet. Thanks for any help about resources using a parameter then be aggregated. Read the sitemap's DTD, seems not easy. Using C2.0.2. (have to use a release version). Babs - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Lucene, CocoonIndexer
I have created an index of some XML documents but I'm not thrilled with the way the index is built. Text appears to get indexed with the innermost XML tag it is found in. For example, if I had a fragment like the following: title personAlice's/person guide to the great novels of the date1800's/date /title and I then used the following search term: title:Alice or title:1800, I would not get a match. I would need to search for person:Alice or date:1800 respectively. Since all the tags within the title tag contain text that are clearly part of the title, I want a user who is searching through the collection to be able to do title specific searches that match any word within the title tag, regardless of whether it has other XML tags wrapped around it. Has anyone run into this issue? I'm not sure how to go about implementing what I want. Is this something I could do in Cocoon, or would I have to modify something in the LuceneXMLIndexer component? Suggestions appreciated. I imagine someone has run into this and has already come up with a workable solution. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: encoding problem with xslt
- Original Message - From: Joerg Heinicke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 5:23 PM Subject: Re: encoding problem with xslt Hmm, I didn't test it a long time and didn't find a correlating bug by a short view on Xalan bug list. It was a bug in our application that mü was transformed to mü. (For people with different encoding: u umlaut == A+~ and 1/4.) I had in mind (and written in our bugzilla) that it was a Xalan bug, maybe that's wrong. It sounds a bit like the description of the original post on this thread. At least we solved it with POST form. Joerg Thank you very much Joerg. This smells a lot like UTF-8 encoding. java String s = new String(mü); byte[] data = s.getBytes(ISO-8859-1); String decoded = new String(data,UTF-8); System.out.println(decoded); /java gives mü. So Xalan encoded your string UTF-8. This is the recommend encoding for URIs (see RFC 2718). So this is no bug of Xalan. And this leads to the real problem. URL being encoding UTF-8 and servlet container encoding being ISO-8859-1. Solution: ? Jens -- jens.lorenz at interface-projects dot de interface:projects GmbH \\|// Tolkewitzer Strasse 49 (o o) 01277 Dresden oOOo~(_)~oOOo Germany - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
embedded svg
I have an xsl.fo file with embedded svg. I want to convert the file to pdf. It works fine without the svg. It works fine with stand alone FOP When I run it in cocoon 2.1-dev I get nothing, no errors just a blank screen. Help please. Peter - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems running cocoon 2.0.2 on iPlanet application server 6.5
-Original Message- From: Kulkarni, Mohan (GEL, MSX) [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 11:27 AM To: '[EMAIL PROTECTED]' Cc: Brown, Wes (GEL, MSX) Subject: Problems running cocoon 2.0.2 on iPlanet application server 6.5 Has anyone configured cocoon 2.0.2 on iPlanet Application server 6.5. Is it stable on iPlanet server 6.5 on windows 2000? Does any one have guidelines or steps for this installation? I have cocoon 2.0.2 runing on iAS6.5 and Cocoon is stable. I have configured cocoon 2.0.2 on iAS 6.5 (tried on NT and 2000). I could get it to work, but performance is bad. Plus this morning cocoon servlet crashed giving following message: SERVLET-execution_failed: Error in executing servlet org.apache.cocoon.servlet.CocoonServlet: java.lang.InternalError: assertion failed. I've never seen this and my performance seems to be OK. I recycled iPlanet to fix this issue. We are using cocoon in apache-tomcat for current production environment and trying to migrate to iAS 6.5 on window 2000. I found many problems with the iAS stability and compliance. I would suggest moving to something else if you can. Artur... Software versions used: IAS 65. JDK 1.3.1 OS: Windows 2000 Server Cocoon 2.0.2 Thanks Mohan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble getting return values from an Action Map
Thanks to both of you. It is working now. Leona - Original Message - From: Lai, Harry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 09, 2002 5:39 PM Subject: RE: trouble getting return values from an Action Map Hi Leona, I think there was some discussion about changing how the redirect-to works, but I believe that in Cocoon 2.0.2, you can't provide parameters via a map:parameter sub-element. That is, when you redirect to summary, your playerID parameter is being ignored. One possible workaround I've seen mentioned on this list is: map:act type=gs-login map:redirect-to uri=summary?playerID={playerID}/ ... If you're planning to pass multiple parameters, though, I think someone posted something about a bug with escaping the ampersand (http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101828372801806w=2) Anyway, hope that helps! Harry -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 5:09 PM To: [EMAIL PROTECTED] Subject: Re: trouble getting return values from an Action Map On 09.Jul.2002 -- 03:13 PM, Leona Slepetis wrote: Hi All, I've gone through the samples and archives and still am having trouble getting return values from an Action. map:act type=gs-login map:redirect-to uri=summary map:parameter name=playerID value={playerID}/ map:match pattern=summary map:parameter name=playerID value={1}/ Leona, I've deleted all but the relevant lines. Since you send a redirect response to the browser, processing ends. The browser requests a new page. For this (second) request, no action is run, thus no values are set. client cocoon -gs-login- (action) ---redirect-to-summary summary--- ---summary If you need to keep the value, you could a) use cocoon: protocol in a generator b) put summary in a resource and call it c) store value e.g. in session Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add SUMMARY: to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ftp://213.253.31.132/jworkbook/gnumeric-xml.pdf - gnumeric file formatdoc relocated
Hi all, The new url for the gnumeric-xml.pdf doc from object-refinery.com is at ftp://213.253.31.132/jworkbook/gnumeric-xml.pdf. Thanks, Andy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : Lucene, CocoonIndexer
Hello all, -Message d'origine- De : icewind [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 12 juillet 2002 17:48 title personAlice's/person guide to the great novels of the date1800's/date /title -cut- Has anyone run into this issue? I'm not sure how to go about implementing what I want. Is this something I could do in Cocoon, or would I have to modify something in the LuceneXMLIndexer component? For specific needs like that, we implemented an XML search engine using both Lucene and Cocoon, the difference is that indexing is completely configurable. You'll find more information at http://sdx.culture.fr (in French). You define fields with some properties, and you populate them using an XSLT transformation or a SAX filter applied to your XML document. Than you get an XSP logicsheet for querying, paging, viewing of results, etc. Version 1.1 runs on Cocoon 1.8 and Lucene 1, version 2 (in development but usable) runs on Cocoon 2 and Lucene 1.2. GPL. Have fun, Martin Sévigny - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems running cocoon 2.0.2 on iPlanet application server 6.5
Thanks Artur for your reply. Are you running iAS 6.5 on windows 2000 or unix platform?. I would appreciate if I can get sample web.xml, ias-web.xml and sitemap.xmap (if anything special handling needed) for this setup. Any ias parameters to be changed to get better performance. May be my settings are not good in iAS or ias-web.xml. Also I have copied all the cocoon jars in one directory and added in iAS classpath instead of deploying under each cocoon based webapp. Hope this has nothing to do with poor performance. We are seeing double the time taken to process the same page compared to tomcat. Thanks I appreciate your feed back and help on this. Mohan Kulkarni -Original Message- From: Artur Bialecki [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 11:18 AM To: [EMAIL PROTECTED] Subject: RE: Problems running cocoon 2.0.2 on iPlanet application server 6.5 -Original Message- From: Kulkarni, Mohan (GEL, MSX) [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 11:27 AM To: '[EMAIL PROTECTED]' Cc: Brown, Wes (GEL, MSX) Subject: Problems running cocoon 2.0.2 on iPlanet application server 6.5 Has anyone configured cocoon 2.0.2 on iPlanet Application server 6.5. Is it stable on iPlanet server 6.5 on windows 2000? Does any one have guidelines or steps for this installation? I have cocoon 2.0.2 runing on iAS6.5 and Cocoon is stable. I have configured cocoon 2.0.2 on iAS 6.5 (tried on NT and 2000). I could get it to work, but performance is bad. Plus this morning cocoon servlet crashed giving following message: SERVLET-execution_failed: Error in executing servlet org.apache.cocoon.servlet.CocoonServlet: java.lang.InternalError: assertion failed. I've never seen this and my performance seems to be OK. I recycled iPlanet to fix this issue. We are using cocoon in apache-tomcat for current production environment and trying to migrate to iAS 6.5 on window 2000. I found many problems with the iAS stability and compliance. I would suggest moving to something else if you can. Artur... Software versions used: IAS 65. JDK 1.3.1 OS: Windows 2000 Server Cocoon 2.0.2 Thanks Mohan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble getting return values from an Action Map
On 12.Jul.2002 -- 11:46 AM, Leona Slepetis wrote: Thanks to both of you. It is working now. Leona Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add SUMMARY: to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLForms and Schema W3C validation..
None that I heard of. There were plans some time ago to integrate JARV [1], but nothing materialized. [1] http://iso-relax.sourceforge.net/JARV/ -=Ivelin=- - Original Message - From: Othman Haddad To: cocoon user list ; [EMAIL PROTECTED] Sent: Friday, July 12, 2002 8:32 AM Subject: Re: XMLForms and Schema W3C validation.. ok i'll try to do that if nobody has done it yet?!! :-) so is there anybody there who has already implement the multi schema validator in cocoon? regards ---Message original--- De : Ivelin Ivanov Date : vendredi 12 juillet 2002 13:46:50 A : Othman Haddad; cocoon user list Sujet : Re: XMLForms and Schema W3C validation.. Yes. All the prerequisites are available, but the glue hasn't been applied. Xerces validates W3C Schema. Schematron can be embedded within XML Schema documents and then extracted and applied. Examples for this are available on the Schematron site and I believe that Sun's multi schema validator have implementation for it. So I think you will need to implement the org.apache.cocoon.components.validation.Validator interface to plug in the new multischema validator. It's worth trying. -=Ivelin=- - Original Message - From: Othman Haddad To: cocoon user list Sent: Friday, July 12, 2002 5:53 AM Subject: XMLForms and Schema W3C validation.. hi, i've downloaded and built the 2.1 version, because i'm interested in XMLForms.. it works fine,but i've gt a question: is it possible to create a form, validate the Data against a W3C Schema and then against a the Schematron rules embeded in the Schema W3C (will this one i think it could be logically possible if the first one does..) ? thanks for your help. IncrediMail - La messagerie électronique a enfin évolué - Cliquer ici
current build not possible
Hello, I can not build the current cvs checkout, because of javadoc. I can comment this out in the build.xml and everything works ok. The error message: file:D:/xml-cocoon2/build.xml:1519: No source files and no packages have been specified. Win2k Sun JDK 1.4.0_01 Joerg - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stream generator XMLForms
On Fri, Jul 12, 2002 at 09:32:12AM -0400, Andrew C. Oliver wrote: enlightenment on this question is found here: http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html I do not think that is the solution for my problem. From what I have read( maybe I'm wrong ) XMLForms are good for collecting data on server side for example in DOM Node. What I would like to do is to send xml data to server (prepared by client), do some businness processing and send response to client. In my case the client is a simple C++ application using MSXML ouzo PS. I would be grateful for any quick tutorial -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stream generator XMLForms
my appolgoies, I misunderstood the question. Leszek Gawron wrote: On Fri, Jul 12, 2002 at 09:32:12AM -0400, Andrew C. Oliver wrote: enlightenment on this question is found here: http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html I do not think that is the solution for my problem. From what I have read( maybe I'm wrong ) XMLForms are good for collecting data on server side for example in DOM Node. What I would like to do is to send xml data to server (prepared by client), do some businness processing and send response to client. In my case the client is a simple C++ application using MSXML ouzo PS. I would be grateful for any quick tutorial - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Q] util:include-uri relative path
On 12.Jul.2002 -- 08:42 AM, Vadim Gritsenko wrote: From: Christian Haul [mailto:[EMAIL PROTECTED]] { org.apache.cocoon.components.parser.Parser newParser = null; try { newParser = (org.apache.cocoon.components.parser.Parser) this.manager.lookup(org.apache.cocoon.components.parser.Parser.ROLE); XSPUtil.include(this.resolver.resolve(xsl:copy-of select=$source-uri/).getInputSource(), this.contentHandler, newParser); Ooooh, no! Sorry Chris, but why the hell parse source twice??? My thinking here is that everywhere else Cocoon uses resolver to resolver URIs (and factory is deprecated). Thus, include-source is not needed and include-uri has to be refactored. } catch (Exception e) { getLogger().error(Could not include source, e); } finally { if (newParser != null) this.manager.release((Component) newParser); } } OK, gimme a hint: why does the following result in no output at all while the other one works fine? public static void includeSource(String uri, String base, SourceResolver resolver, ContentHandler contentHandler) throws RuntimeException { if (base != null) base = (base != ? base : null); Source source = null; try { source = resolver.resolveURI(uri, base, null); resolver.toSAX(source, contentHandler); } catch (Exception e) { throw new RuntimeException(Error including source +uri+ +base+:+e.getMessage()); } finally { if (source != null) resolver.release(source); } } Oh, of course I couldn't find an error message anywhere. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Q] util:include-uri relative path
From: Christian Haul [mailto:[EMAIL PROTECTED]] On 12.Jul.2002 -- 08:42 AM, Vadim Gritsenko wrote: From: Christian Haul [mailto:[EMAIL PROTECTED]] { org.apache.cocoon.components.parser.Parser newParser = null; try { newParser = (org.apache.cocoon.components.parser.Parser) this.manager.lookup(org.apache.cocoon.components.parser.Parser.ROLE); XSPUtil.include(this.resolver.resolve(xsl:copy-of select=$source-uri/).getInputSource(), this.contentHandler, newParser); Ooooh, no! Sorry Chris, but why the hell parse source twice??? My thinking here is that everywhere else Cocoon uses resolver to resolver URIs (and factory is deprecated). Thus, include-source is not needed and include-uri has to be refactored. } catch (Exception e) { getLogger().error(Could not include source, e); } finally { if (newParser != null) this.manager.release((Component) newParser); } } OK, gimme a hint: why does the following result in no output at all while the other one works fine? Hint: two start document events, two end document events. See my other email, my proposed patch uses include consumer. (not sure though why no output) Vadim public static void includeSource(String uri, String base, SourceResolver resolver, ContentHandler contentHandler) throws RuntimeException { if (base != null) base = (base != ? base : null); Source source = null; try { source = resolver.resolveURI(uri, base, null); resolver.toSAX(source, contentHandler); } catch (Exception e) { throw new RuntimeException(Error including source +uri+ +base+:+e.getMessage()); } finally { if (source != null) resolver.release(source); } } Oh, of course I couldn't find an error message anywhere. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTML tree from a Directory generator.
ROSSEL Olivier wrote: Is there somewhere a XSL that outputs a HTML+javascript tree view of a directory generator output? Why aren't you using the directory2html.xsl merged with the simple-xml2html.xsl? http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/webapp/samples/ common/style/xsl/html/directory2html.xsl http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/webapp/samples/ hello-world/style/xsl/simple-xml2html.xsl Joerg - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Looking for help in the upcomming release
Hi, Klaus Bertram wrote: There is strange Unknown error by the index engine of Lucene!! System properties: Win 2000 Prof. jdk 1.4.0_01 tomcat 4.0.4 cvs from today This may not help, but: The Lucene folks have released a version 1.2 a month ago. The files are available at http://jakarta.apache.org/builds/jakarta-lucene/release/v1.2/ Is there any reason not to update? when tomcat is started as a service in Windows No Error in log files The tomcat engine throw a windows exception and the process stops. it works when tomcat is started from a dos window with startup. on an system with tomcat4.0.1 and jdk1.3.1_02 and tomcat at service it work's nice. by the way the yahoo sample are blank Klaus - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Q] util:include-uri relative path
On 12.Jul.2002 -- 04:24 PM, Vadim Gritsenko wrote: From: Christian Haul [mailto:[EMAIL PROTECTED]] Hint: two start document events, two end document events. See my other email, my proposed patch uses include consumer. (not sure though why no output) Ah, beautiful! Yes! Now, if you really want to make this a happy evening for me, tell me why I can't use the logicsheet-util.xsl twice, and I'll promise to patch commit the corrected util.xsl today :-) Problem (need 2.1 to illustrate): In examples there's an example of including the colorized source of an XSP in itself. (Server Pages - Util) It uses exactly the bad approach suggested earlier with a forgotten recycle(), but, anyway. If we fix the issue with logicsheet-utils I will correct it :-) Actually, it contains a string representation and the included colorized source. I've just corrected some paths so that it should work. Update from CVS. But: only the first is displayed. Reason is the second call to get nested parameters returns . Hence when the first table is commented out, the second (the colorized one) appears... TIA, Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JNDI Dependency? (was Re: Looking for help in the upcomming release)
You know, something else that bugs me is this error message: op-warning: ** * * Classes of the optional package JNDI are not * available. Apache Cocoon builds without them. * * JNDI is required for the ldap generator and the parentcm generator. * * Recovery: * Get the jndi.jar from Sun and place the jar in the lib/optional dir * *** JNDI is integrated into the JDK 1.4; it's no longer available as a separate package. Shouldn't the build recognize that? Ryan Hoegg ISIS Networks Ryan Hoegg wrote: Hi, Tested using Linux, JDK1.4, Tomcat 4.0.4. Initial Results: Build Failed. Error details follow: BUILD FAILED file:/usr/local/cocoon-CVS/xml-cocoon2/build.xml:1519: No source files and no packages have been specified. build.xml snippet: 1505: !-- === -- 1506: !-- Creates the API documentation for JDK 1.4 -- 1507: !-- === -- 1508: target name=javadocs14 if=jdbc3.present 1509:javadoc additionalparam=-subpackages ${packages} 1510: sourcepath=${build.src} 1511: destdir=${build.javadocs} 1512: author=true 1513: version=true 1514: use=false 1515: noindex=true 1516: windowtitle=${Name} API 1517: doctitle=${Name} 1518: bottom=Copyright #169; ${year} Apache Software Foundation. All R$ 1519: stylesheetfile=${resource.dir}/javadoc.css 1520: classpath refid=classpath/ 1521:/javadoc 1522: /target Finally, the results of # find /usr/local/cocoon-CVS -name javadoc.css /usr/local/cocoon-CVS/src/resources/javadoc.css Any ideas? Ryan Hoegg ISIS Networks Carsten Ziegeler wrote: The Cocoon Project is working very hard to release 2.0.3 by Monday, July 15. To meet this goal -- which clearly will benefit all users -- we need some *specific* QA (quality assurance) input from the user community. To help, here's what you need to do: 1. Update your local CVS repository to the *latest* 2.0.3 branch version from CVS. 2. ./build.[sh|bat] clean 3. If you want to build for JDK 1.4 change in build.xml the following line from property name=jvm-target value=13 / to property name=jvm-target value=14 / Do not run Cocoon build for JDK 1.3 on a JDK 1.4 system or vice versa. Please note, that the build for JDK 1.3 is also targetted for JDK 1.2 4. ./build.[sh\bat] -Dinclude.webapp.libs=true webapp (or webapp-local) 5. Test *all* samples. Hit each and every sample page from links beginning at http://127.0.0.1:8080/cocoon/samples/ 6. Report back here on your findings, good or bad. 7. Make sure you describe your test environment: Platform and JVM, including version numbers. 8. If you find problems, be specific about the problem description: what page, what error, etc. 9. If you can provide a patch/info to fix the problem, even better. What we do *not* need: Please do not submit requests for XYZ features, dreams, etc. Please save these ideas for future versions. Thanks. The Cocoon Team - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Looking for help in the upcomming release
Hi, Tested using Linux, JDK1.4, Tomcat 4.0.4. Initial Results: Build Failed. Error details follow: BUILD FAILED file:/usr/local/cocoon-CVS/xml-cocoon2/build.xml:1519: No source files and no packages have been specified. build.xml snippet: 1505: !-- === -- 1506: !-- Creates the API documentation for JDK 1.4 -- 1507: !-- === -- 1508: target name=javadocs14 if=jdbc3.present 1509:javadoc additionalparam=-subpackages ${packages} 1510: sourcepath=${build.src} 1511: destdir=${build.javadocs} 1512: author=true 1513: version=true 1514: use=false 1515: noindex=true 1516: windowtitle=${Name} API 1517: doctitle=${Name} 1518: bottom=Copyright #169; ${year} Apache Software Foundation. All R$ 1519: stylesheetfile=${resource.dir}/javadoc.css 1520: classpath refid=classpath/ 1521:/javadoc 1522: /target Finally, the results of # find /usr/local/cocoon-CVS -name javadoc.css /usr/local/cocoon-CVS/src/resources/javadoc.css Any ideas? Ryan Hoegg ISIS Networks Carsten Ziegeler wrote: The Cocoon Project is working very hard to release 2.0.3 by Monday, July 15. To meet this goal -- which clearly will benefit all users -- we need some *specific* QA (quality assurance) input from the user community. To help, here's what you need to do: 1. Update your local CVS repository to the *latest* 2.0.3 branch version from CVS. 2. ./build.[sh|bat] clean 3. If you want to build for JDK 1.4 change in build.xml the following line from property name=jvm-target value=13 / to property name=jvm-target value=14 / Do not run Cocoon build for JDK 1.3 on a JDK 1.4 system or vice versa. Please note, that the build for JDK 1.3 is also targetted for JDK 1.2 4. ./build.[sh\bat] -Dinclude.webapp.libs=true webapp (or webapp-local) 5. Test *all* samples. Hit each and every sample page from links beginning at http://127.0.0.1:8080/cocoon/samples/ 6. Report back here on your findings, good or bad. 7. Make sure you describe your test environment: Platform and JVM, including version numbers. 8. If you find problems, be specific about the problem description: what page, what error, etc. 9. If you can provide a patch/info to fix the problem, even better. What we do *not* need: Please do not submit requests for XYZ features, dreams, etc. Please save these ideas for future versions. Thanks. The Cocoon Team - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: map parameter and resource
From: Barbara Post [mailto:[EMAIL PROTECTED]] Hello, my problem is to : have resources generate / transform / serialize so that I get XML, but using a parameter. Request parameter? then I want to aggregate these 2 XML documents and transform / serialize by another stylesheet. map:aggregate map:part src=part1?param1=value1amp;param2=value2/ map:part src=part2?param1=value1amp;param2=value2/ /map:aggregate map:transform src=style.xsl/ map:serialize/ Vadim Thanks for any help about resources using a parameter then be aggregated. Read the sitemap's DTD, seems not easy. Using C2.0.2. (have to use a release version). Babs - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Lucene, CocoonIndexer
From: icewind [mailto:[EMAIL PROTECTED]] I have created an index of some XML documents but I'm not thrilled with the way the index is built. Text appears to get indexed with the innermost XML tag it is found in. For example, if I had a fragment like the following: title personAlice's/person guide to the great novels of the date1800's/date /title and I then used the following search term: title:Alice or title:1800, I would not get a match. I would need to search for person:Alice or date:1800 respectively. Since all the tags within the title tag contain text that are clearly part of the title, I want a user who is searching through the collection to be able to do title specific searches that match any word within the title tag, regardless of whether it has other XML tags wrapped around it. Has anyone run into this issue? I'm not sure how to go about implementing what I want. Is this something I could do in Cocoon, or would I have to modify something in the LuceneXMLIndexer component? Look into LuceneIndexContentHandler, characters() method. Ok, I see that it appends text only to bodyText and current tag... Simple solution would be to add text to every field in stack (in characters(), for(;;) instead of if()), but better solution is to have not stack of StringBuffers (see this.elementStack), but stack of indexes in single string buffer (this.bodyText). This solution will utilize memory more efficiently. Vadim Suggestions appreciated. I imagine someone has run into this and has already come up with a workable solution. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What is Xscript and how is it related to the Cocoon 2 environment?
What is Xscript and how is it related to the Cocoon 2 environment? Thanks in advance, Mark Gaither - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Feedback form for release comments
Thanks to Konstantin Piroumian, we now have a form for release comments on the web site. You can access it via: http://xml.apache.org/cocoon/feedback.html Thanks Konstantin and thanks in advance for any additional release-related comments! -- Diana - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Stream generator XMLForms
-Original Message- From: Leszek Gawron [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 2:42 PM To: [EMAIL PROTECTED] Subject: Re: Stream generator XMLForms On Fri, Jul 12, 2002 at 09:32:12AM -0400, Andrew C. Oliver wrote: enlightenment on this question is found here: http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlfor m-wizard.html I do not think that is the solution for my problem. From what I have read( maybe I'm wrong ) XMLForms are good for collecting data on server side for example in DOM Node. What I would like to do is to send xml data to server (prepared by client), do some businness processing and send response to client. In my case the client is a simple C++ application using MSXML ouzo That sure sounds like a description of a SOAP RPC to me. [EMAIL PROTECTED] Author of Soap Programming with Java - Sybex; ISBN: 0782129285 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stream generator XMLForms
Maybe you should be looking at Axis instead of Cocoon for this kind of task. http://xml.apache.org/axis/ -=Ivelin=- - Original Message - From: Leszek Gawron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 12, 2002 2:42 PM Subject: Re: Stream generator XMLForms On Fri, Jul 12, 2002 at 09:32:12AM -0400, Andrew C. Oliver wrote: enlightenment on this question is found here: http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html I do not think that is the solution for my problem. From what I have read( maybe I'm wrong ) XMLForms are good for collecting data on server side for example in DOM Node. What I would like to do is to send xml data to server (prepared by client), do some businness processing and send response to client. In my case the client is a simple C++ application using MSXML ouzo PS. I would be grateful for any quick tutorial -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED] _\\()//_ .'/()\'. Phone: +48(600)341118 / // \\ \ \\ // recursive: adj; see recursive | \__/ | - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Monday Night: Free POI, lots of Pizza, And all the info you can takein one night about POI and the Cocoon HSSF Serializer!
http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!
I wonder how many ppl do Cocoon on East Coast? If more than 3 then it's enough to have a sort of workshop on Outer Banks some time :) I'd love to come, but it's no way to arrange a trip from DC on that short notice -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!
Sorry about that. Maybe you can come when Conrad D'Cruz and I do our Cocoon talk in October. I posted something about the talk earlier on the poi list but it didn't occur to me to post it to Cocoon until I gave the talk to my wife tonight and realized it was just about as much about Cocoon as POI. I plan to give the talk again, somewhere, sometime. Got shot down for the ApacheCon version, but maybe I'll use it as an excuse to get a free trip to some other JUG sometime. -Andy Argyn Kuketayev wrote: I wonder how many ppl do Cocoon on East Coast? If more than 3 then it's enough to have a sort of workshop on Outer Banks some time :) I'd love to come, but it's no way to arrange a trip from DC on that short notice -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!
More than 3? Actually, I've kinda been wondering where folks on this list are from. I have started to assume that most folks are actually outside the US. Anyway, this newbie is in NY. -Original Message- From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:56 PM To: '[EMAIL PROTECTED]' Subject: RE: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! I wonder how many ppl do Cocoon on East Coast? If more than 3 then it's enough to have a sort of workshop on Outer Banks some time :) I'd love to come, but it's no way to arrange a trip from DC on that short notice -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What is Xscript and how is it related to the Cocoon 2 environment?
From: Mark Gaither [mailto:[EMAIL PROTECTED]] What is Xscript and how is it related to the Cocoon 2 environment? Xscript is Cocoon's logicsheet allowing creating XML 'variables' and storing them in the request/session/application context (similar to java beans). You can transform variables with xslt (stored in other variable) and output them. Vadim Thanks in advance, Mark Gaither - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What is Xscript and how is it related to the Cocoon 2 environment?
I found some hits by searching on Yahoo but I dunno what relates to Cocoon. -Original Message- From: Mark Gaither [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 6:04 PM To: [EMAIL PROTECTED] Subject: What is Xscript and how is it related to the Cocoon 2 environment? What is Xscript and how is it related to the Cocoon 2 environment? Thanks in advance, Mark Gaither - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Monday Night: Free POI, lots of Pizza, And all the info you can takein one night about POI and the Cocoon HSSF Serializer!
... and I want to add to the attractions for this meeting. Of course a distant second to some home made POI from Hawaii ;-) ALHOA!!! Andy ... you go boy!! Publisher Sybex has sent me a bunch of their new releases for door prizes. I just got the box tonight and will be bringing them to the meeting. The two titles I can remember are ... XSLT programming and Programming SOAP with Java. I can provide a detailed list tomorrow if anyone is interested. If not .. just show up .. draw a number and win one of the hottest titles on the shelves these days. Good luck to all. Conrad PS: http://www.netswirl.com/publications.htm for details on the Cocoon 2 book. Andy and I are planning a two part presentation on Cocoon 2 in October but will introduce it at the July Tri JUG meeting. Andrew C. Oliver wrote: http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!
Yet another cocoon newbie from DC Robert Bourdeau wrote: More than 3? Actually, I've kinda been wondering where folks on this list are from. I have started to assume that most folks are actually outside the US. Anyway, this newbie is in NY. -Original Message- From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:56 PM To: '[EMAIL PROTECTED]' Subject: RE: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! I wonder how many ppl do Cocoon on East Coast? If more than 3 then it's enough to have a sort of workshop on Outer Banks some time :) I'd love to come, but it's no way to arrange a trip from DC on that short notice -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Feedback form for release comments
Just wanted to point out that this form fails with Netscape 6.2 Ryan Hoegg Diana Shannon wrote: Thanks to Konstantin Piroumian, we now have a form for release comments on the web site. You can access it via: http://xml.apache.org/cocoon/feedback.html Thanks Konstantin and thanks in advance for any additional release-related comments! -- Diana - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What is Xscript and how is it related to the Cocoon 2 environment?
- Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED]; 'Mark Gaither' [EMAIL PROTECTED] Sent: Friday, July 12, 2002 10:49 PM Subject: RE: What is Xscript and how is it related to the Cocoon 2 environment? From: Mark Gaither [mailto:[EMAIL PROTECTED]] What is Xscript and how is it related to the Cocoon 2 environment? Xscript is Cocoon's logicsheet allowing creating XML 'variables' and storing them in the request/session/application context (similar to java beans). You can transform variables with xslt (stored in other variable) and output them. Thanks Vadim. I could not find such a succinct and clear explaination at the Cocoon site nor via Google. It would be nice if your words found their way into at least the comment section of the xscript.xsl. Thanks from Texas, Mark Gaither - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!
I was going to present Cocoon fot Novajug (north va JUG) in september 2001. maybe I've to try again -Original Message- From: Ryan Hoegg [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 13, 2002 12:26 AM To: [EMAIL PROTECTED] Subject: Re: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! Yet another cocoon newbie from DC Robert Bourdeau wrote: More than 3? Actually, I've kinda been wondering where folks on this list are from. I have started to assume that most folks are actually outside the US. Anyway, this newbie is in NY. -Original Message- From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:56 PM To: '[EMAIL PROTECTED]' Subject: RE: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! I wonder how many ppl do Cocoon on East Coast? If more than 3 then it's enough to have a sort of workshop on Outer Banks some time :) I'd love to come, but it's no way to arrange a trip from DC on that short notice -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy --- -- Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]