AW: All hope lost: Can FragmentExtractor serve SVG images to IE (socket write error) ?
TK To my 2.0 times I also had the problem. The problem was gone since I use TK cocoon 2.1. I guess it has something to do with pipeline caching, but TK have never tested. Torsten, thanks for the quick feedback. My understanding was that 2.1 is still alpha. Do you have any system in production, yet? We are quite close to release date... Best regards, Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: All hope lost: Can FragmentExtractor serve SVG images to IE (socket write error) ?
All of this works fine when requesting the page using Netscape Navigator (valid page and images, no errors in log file). As soon as I use the Microsoft Internet Explorer to request the same page, the HTML page is returned, but the svg image has not been served properly. According to the log file there was a java.net.SocketException: Software caused connection abort: socket write error (details included below), I remember that other software (Squeak) had a somewhat similar problem which was solved by changing something in the networking layer. The browsers were different regarding opening new connections. I think Netscape created one connection to download one file after another while MSIE created a connection for every single file on a webpage. Something like that. It took some time to fix that problem... Thank you, Andreas. I am afraid this is way too deep for my java skills. You don't have any source code files/ changes by any chance? Best regards, Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
Lionel, I followed your instructions, but I still have problems. Tomcat works, but I can't lanch cocoon. it sais: HTTP Status 404 - /cocoon/ type Status report message /cocoon/ description The requested resource (/cocoon/) is not available. Do you have sugestions what am I doing wrong? I get only Tomcat's index.jsp It appears in "work" directory on my eclipse server and that's all! Thank you in advance! Galia Lionel Crine [EMAIL PROTECTED] wrote: With the tomcat plugin : 2.1I think you have setup the windows-preference-tomcat.I repeat it :1/choose the version you have. 4.1.x is good.2/choose the tomcat root directory3/choose the server.xml file4/i had my tomcat project to my classpath (i'm not sure it's necessary).5/ If you want to debug Tomcat (check the "execute in debug mode)the parameter for the JVM :The JRE by default is not working (or something like that)!!!So you have to change it the another.6/ Go in window-preferences-java-installed JREs7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4)8/notch it.9/Come back to windows-preference-tomcat-JVM parameter10/select the new JVMSome optionnal things :In window-preferences-java-Classpath Variablescreate a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOMEIn the properties of the project :11/java Build Path-source : be sure WEB-INF/classes of your project is here12/java Build Path-librairies : add the cocoon libraries (.jar) and yours.Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME13/Tomcat : I notched "is a tomcat project" (check if this is your context) "update automatically server.xml" and "reloadable = true".Hope that help a little.I may have forgotten some things so tell me.PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/)LionelAt 04:11 04/06/2003 -0700, you wrote:Yes, please! I'll be grateful!GaliaLionel Crine <[EMAIL PROTECTED]>wrote:Sorry I'm lost :Whould you like me to send the configuration for eclipse to work withcocoon and tomcat and sdk 1.4 ?If yes, tell me.At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration?I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia-- Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!?Free online calendar with sync to Outlook(TM).-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!?Free online calendar with sync to Outlook(TM). Do you Yahoo!? Free online calendar with sync to Outlook(TM).
Re: How to debug COCOON with ECLIPSE and TOMCAT?
don't forget to create a tomcat project pointing to your cocoon root directory. At 06:21 05/06/2003 -0700, you wrote: Lionel, I followed your instructions, but I still have problems. Tomcat works, but I can't lanch cocoon. it sais: HTTP Status 404 - /cocoon/ type Status report message /cocoon/ description The requested resource (/cocoon/) is not available. Do you have sugestions what am I doing wrong? I get only Tomcat's index.jsp It appears in work directory on my eclipse server and that's all! Thank you in advance! Galia Lionel Crine [EMAIL PROTECTED] wrote: With the tomcat plugin : 2.1 I think you have setup the windows-preference-tomcat. I repeat it : 1/choose the version you have. 4.1.x is good. 2/choose the tomcat root directory 3/choose the server.xml file 4/i had my tomcat project to my classpath (i'm not sure it's necessary). 5/ If you want to debug Tomcat (check the execute in debug mode) the parameter for the JVM : The JRE by default is not working (or something like that)!!! So you have to change it the another. 6/ Go in window-preferences-java-installed JREs 7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4) 8/notch it. 9/Come back to windows-preference-tomcat-JVM parameter 10/select the new JVM Some optionnal things : In window-preferences-java-Classpath Variables create a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOME In the properties of the project : 11/java Build Path-source : be sure WEB-INF/classes of your project is here 12/java Build Path-librairies : add the cocoon libraries (.jar) and yours. Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME 13/Tomcat : I notched is a tomcat project (check if this is your context) update automatically server.xml and reloadable = true. Hope that help a little. I may have forgotten some things so tell me. PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/) Lionel At 04:11 04/06/2003 -0700, you wrote: Yes, please! I'll be grateful! Galia Lionel Crine wrote: Sorry I'm lost : Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ? If yes, tell me. At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia -- Best regards, g Do you Yahoo!? Free http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.comonline calendar with sync to Outlook(TM). Do you Yahoo!? Free http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.comonline calendar with sync to Outlook(TM). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
flow - database access
Hi, In my flowscript i'm making some database operations. This works most of the time, but sometimes (it occurs mostly during 2 concurrent requests) i get the following: resource://org/apache/cocoon/components/flow/javascript/Database.js, line 13: uncaught JavaScript exception: TypeError: Cannot convert null to an object. (res ource://org/apache/cocoon/components/flow/javascript/Database.js; line 13) my flowscript code looks like the following example: var conn = Database.getConnection(poolname); // begin db stuff conn.update(...) // end db stuff conn.close(); does anybody has any hints ? Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
POI Excel Reports Formatting Languages
All, I'm using xmlns:gmr=http://www.gnome.org/gnumeric/v7; in producing the Excel report. Somehow styles do not show up in the report. For example, the following code has Fore and Back and PatternColor specified. But they don't show up in Excel. StyleBorder works though. Here are my questions. Are there any other styling languages out there other than gnumeric for me to use? Is there a support group for using gnumeric out there? Thanks a lot! Charlene gmr:Styles gmr:StyleRegion startCol=0 startRow=0 endCol=17 endRow=3 gmr:Style HAlign=1 VAlign=2 WrapText=0 Orient=1 Shade=0 Indent=0 Fore=F800:0:0 Back=0:8000:0 PatternColor=C000:C000:C000 Format=General gmr:Font Unit=9 Bold=0 Italic=0 Underline=0 StrikeThrough=0Helvetica/gmr:Font gmr:StyleBorder gmr:Top Style=2/ gmr:Bottom Style=2/ gmr:Left Style=2/ gmr:Right Style=2/ gmr:Diagonal Style=2/ gmr:Rev-Diagonal Style=2/ /gmr:StyleBorder /gmr:Style /gmr:StyleRegion /gmr:Styles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
regexp problem
Hi all! We are trying to validate input fields in a web user interface via the form-validator action. One of the fields is a date field. Therefore we found a regular expression at http://www.regxlib.com/REDetails.aspx?regexp_id=113 which covers the aspects we are looking for: ^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$ Unfortunately Cocoon 2.0.3 does not validate correctly with this expression. Simpler expressions work. We don't see any exceptions or errors. Any idea? Thanks, Kurt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
find the ldap configuration
Where is it possible to find the information about the ldap parameters? I have the serverurl, port, filter, but neither the searchbase neither the rootdn. What and where are they? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: regexp problem
On 05.Jun.2003 -- 04:45 PM, Majcen, Kurt wrote: Hi all! We are trying to validate input fields in a web user interface via the form-validator action. One of the fields is a date field. Therefore we found a regular expression at http://www.regxlib.com/REDetails.aspx?regexp_id=113 which covers the aspects we are looking for: ^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$ Unfortunately Cocoon 2.0.3 does not validate correctly with this expression. Simpler expressions work. We don't see any exceptions or errors. Any idea? Try to use the underlying regexp library (apache.regexp) directly, perhaps that is flawed already. Honestly, you should extend the AbstractValidatorAction to validate dates and submit a patch ;-) 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't seem to load Firebird driver
Hi, Not sure if you are aware of this, the Firdbird JDBC driver is not an all-in-one jar. We did work with Firebird about 4 to 5 months ago, so things might have changed by now. The fact was that for Firebird's driver to work, you need a jta-spec1_0_1.jar and connector.jar as well. From your error it is probably the absence of the latter. I'm not sure where to find it or whether it is still needed by the current driver version, but if you have not try it, it's worth a try. If you can't find it, I can email them to you. Regards, Edison On Thu, 5 Jun 2003 12:08:08 +0200, Nier, Nikolai wrote: Hi, I'm using cocoon 2.04 with Tomcat 4.1. I'm quite new to cocoon, so I hope this hasn't been discussed before - I've checked the mail archive and there was some discussion re. Firebird but it seems that mine is a different problem, as the driver isn't loaded in the first place. I have successfully set up and used an Oracle DB connection before, and now I'm trying to use a Firebird DB. I made the necessary additions to web.xml and cocoon.xconf, and I placed the Firebird Driver (org.firebirdsql.jdbc.FBDriver, in firebirdsql.jar) into the same Tomcat dir as the Oracle driver (tomcat/common/lib). When I now try to start cocoon, I get a Tomcat Status 500 Error page. (Servlet Exception, root cause: java.lang.NoClassDefFoundError: javax/resource/ResourceException). Putting the firebirdsql.jar into cocoon/web-inf/lib, and unpacking it into cocoon\web-inf\classes, didn't help. The access log stops after Trying to load class: org.firebirdsql.jdbc.FBDriver, while with the Firebird driver removed from the 'load-class' parameter in web.xml, cocoon starts running and the access log continues after loading the Oracle driver. Does anybody have a clue? Thanks Nik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
forwarding paremeter to xsp
Hi All, is there a way to use parameter form pipeline match in XSP page? for example if pipeline match looks like ... map:match pattern="**.info" map:generate type="serverpages" src=""/ map:serialixe type="xml"/ /map:match normalyy in pipeline we can use {1} but how can I use it in process.xsp? please advice Pawel Zukrowski
Re: [SUMMARY] RE: error in XSP -- Tomcat4.1.24 has CATASTROPHICcache system!!!!
i think this is a bug with tomcat (and hence more appropriately taken up with [EMAIL PROTECTED]) as after upgrading my tomcat installation to 4.1.24 i have been noticing similiar recompile issues. -- Jacob L E Blain Christen Entheal LLC 443.255.9975 410.542.7793 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: forwarding paremeter to xsp
Hi, you can pass the parameter explicitely in the sitemap : map:match pattern=**.info map:generate type=serverpages src=process.xsp map:parameter name=infoparam value={1}/ /map:generate map:serialixe type=xml/ /map:match and then you can use it process.xsp : xsp:exprparameters.getParameter(infoparam,default value)/xsp:expr Hope it helps Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: forwarding paremeter to xsp
try in sitemap: map:match pattern=**.info map:generate type=serverpages src=process.xsp map:parameter name=param1 value={1}/ /map:parameter map:serialixe type=xml/ /map:match in XSP: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xsp:structure xsp:includeorg.apache.avalon.framework.parameters.ParameterException/xsp:include /xsp:structure dummypage xsp:logic String test = ; try { test = parameters.getParameter(param1); }catch (ParameterException pe) { test = nothing %((; }; /xsp:logic test xsp:exprtest/xsp:expr /test /dummypage /xsp:page Hi All, is there a way to use parameter form pipeline match in XSP page? for example if pipeline match looks like ... map:match pattern=**.info map:generate type=serverpages src=process.xsp/ map:serialixe type=xml/ /map:match normalyy in pipeline we can use {1} but how can I use it in process.xsp? please advice Pawel Zukrowski -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Some study of implantation
Hi, Perhaps you could be more specific about the specific statistics in which you're interested?
Re: Source Writing Transformer
Thank you, this solution is ok. I use the LOG and see (¿?) the problem and after I modified the XSL (alta.xsl) and the message not is showed _ Charla con tus amigos en línea mediante MSN Messenger: http://messenger.microsoft.com/es - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
2.1 dont work with ODBC?
i have the latest (today 06/05/2003) CVS snapshot) i have add sun.jdbc.odbc.JdbcOdbcDriver entry in web xml (just like i have do in 2.0.4) but when i try to make a query (calling a .xsp) in a ODBC database runing in the same machine i get no results in error.log i have found this message: ERROR (2003-06-05) 22:47.59:001 [sitemap.generator.serverpages] (/osOthello-s/encoding/comments.xsp) PoolThread-3/comments_xsp: java.sql.SQLException: The database detection method has changed. If your database is not being recognized (anymore) you can either fix it in the Cocoon2EsqlConnection class, file it to bugzilla, report it to cocoon-dev or to me (tcurdt.at.apache.org) directly. Only be sure to include the database string access in your post. at org.apache.cocoon.components.language.markup.xsp.AbstractEsqlConnection.createQuery(AbstractEsqlConnection.java:197) . . . how can this database was recognized in 2.0.4 version and not in 2.1? is this in any todo list (so we have to wait for the final 2.1 version or not ?) -- stavros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using pipeline matched parameters in XSP
Steven Noels wrote: On 5/06/2003 19:20 Andreas Hartmann wrote: I don't know if the util logicsheet works for this kind of parameters, you could try it: xsp-util:get-sitemap-parameter name=1 / But I wouldn't recommend this solution, even if it works. Why that? Just curious - since I added that tag. Of course the get-sitemap-parameter tag itself is very useful. But when using the wildcard number as parameter key, the XSP depends on the match pattern - I could imagine that is hard to debug for someone who changes the pattern without being familiar with the XSP. OK, maybe it's just my personal perference that I usually want to see from outside which parameters are used by a component. Sorry if you felt offended - it was not against your tag but against its misuse :) Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using pipeline matched parameters in XSP
On 5/06/2003 22:26 Andreas Hartmann wrote: Sorry if you felt offended - it was not against your tag but against its misuse :) No offense at all - just curious. It was such a stupid little thing that I started wondering why nobody had contributed it before. Thanks for your explanation! /Steven -- Steven Noelshttp://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center Read my weblog athttp://blogs.cocoondev.org/stevenn/ stevenn at outerthought.orgstevenn at apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Deleting files
Hi, How can I delete files on the server using Cocoon? Is there an action for this, or should I write one? -Tuomo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 2.1 dont work with ODBC?
On Thu, 2003-06-05 at 23:16, Geoff Howard wrote: Did you contact Torsten as the error message said? Thanks for forwarding, Geoff. I'll fix it tomorrow. how can this database was recognized in 2.0.4 version and not in 2.1? We changed the database recognition mechanism. is this in any todo list (so we have to wait for the final 2.1 version or not ?) You can easily use use-limit-clausejdbc/use-limit-clause to work around this. The final version will use jdbc as a default again. We are currently collecting database driver strings ;) Thanks for reporting! -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XSLT Transformer newlines
I am converting a production environment from cocoon 1.8.2 to cocoon 2.0.4 running on tomcat/jboss3.0.4. The problem that I am running into over and over again is that the new cocoon when generating html puts newlines/carriage returnsafter certain tags. I have re-written a number of pages such that the it doesn't affect my layout any longer, but I have some stylesheets that I use to dynamically generate _javascript_ embedded in the html. That makes it so that I need a lot more control over the spaces. Can anyone tell me if I can turn offnewlines after tags like tr /td /body etc. Admittedly, reading html output from cocoon 2.0.4 is infinitely better than cocoon 1.8.2, but I am running into difficulty with it. Here is pertinent line from xitemap.xmap: map:transformer name="xslt" pool-grow="2" pool-max="32" pool-min="8" src=""use-request-parameterstrue/use-request-parametersuse-browser-capabilities-dbfalse/use-browser-capabilities-db/map:transformer cocoon.xconf is default. P.S. In case anyone is wondering the _javascript_ in this particular instance generates a popup window.
RE: Deleting files
you'll need to write one. might not want to tell anyone what server is running that action though... I hope you don't let users pass in the parameters? Geoff -Original Message- From: Tuomo L [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 5:39 PM To: [EMAIL PROTECTED] Subject: Deleting files Hi, How can I delete files on the server using Cocoon? Is there an action for this, or should I write one? -Tuomo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Sitemap parsing error?
Title: RE: Sitemap parsing error? Hi Geoff, The encoding stated at the top of the XML file is UTF-8 For some reason the WAR extraction process didn't quite extract the full sitemap file (could have been corrupted.) I manually ftp the file across from a windows box and dos2unixed it... What's a possible fix? It appears all the text is in straight ascii... Cheers, Jason -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 05, 2003 10:09 PM To: [EMAIL PROTECTED] Subject: Re: Sitemap parsing error? And your sure you haven't typed any stray upsilon characters? ;) upsilon; = #965; = #x75; Assuming you haven't, my only slightly informed guess is that you've got an encoding mix up. Is it possible you've saved the sitemap in some file encoding where what appears to be whitespace is read as an upsilon when interpreted as UTF-8? HTH, Geoff At 04:03 AM 6/5/2003, you wrote: Howdy Guys I'm using Cocoon 2.04 and attempting to run this on Solaris with the Sun One App Server 7. I've installed the WAR file and it runs fine... my final problem appears to be a cocoon problem. I am able to start up the application server fine... and no errors are logged. However, when i invoke the servlet... i get the following problems: Cocoon 2 - Internal server error type fatal message Illegal character at end of document, u. description org.xml.sax.SAXParseException: Illegal character at end of document, u. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.xml.sax.SAXParseException: Illegal character at end of document, u. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generateCode(LogicsheetCodeGenerator.java:173) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:353) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312) at org.apache.cocoon.sitemap.Handler.run(Handler.java:267) at java.lang.Thread.run(Thread.java:536) request-uri /cocoon/ path-info --- Looking at the logs in WEB-INF/logs, I find the following curious statement in the access.log: ERROR (2003-06-05) 17:06.07:594 [access] (/cocoon/) service-j2ee/CocoonServl et: Problem with Cocoon servlet org.xml.sax.SAXParseException: Illegal character at end of document, #x75;. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator. generateCode(LogicsheetCodeGenerator.java:173) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.g enerateCode(AbstractMarkupLanguage.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl. generateResource(ProgramGeneratorImpl.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl. createResource(ProgramGeneratorImpl.java:353) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl. load(ProgramGeneratorImpl.java:312) at org.apache.cocoon.sitemap.Handler.run(Handler.java:267) at java.lang.Thread.run(Thread.java:536) In the sitemap.log i get: ERROR (2003-06-05) 17:06.07:591 [sitemap] (/cocoon/) service-j2ee/Handler: E rror compiling sitemap org.xml.sax.SAXParseException: Illegal character at end of document, #x75;. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at
RE: Sitemap parsing error?
Title: RE: Sitemap parsing error? Geoff, I've also noticed the following statement in access.log upon startup... Using configuration file: /WEB-INF/cocoon.xconf parent-component-manager not set - defaulting to null. container-encoding was not set - defaulting to ISO-8859-1 form-encoding was not set - defaulting to null. Cheers, Jason -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 05, 2003 10:09 PM To: [EMAIL PROTECTED] Subject: Re: Sitemap parsing error? And your sure you haven't typed any stray upsilon characters? ;) upsilon; = #965; = #x75; Assuming you haven't, my only slightly informed guess is that you've got an encoding mix up. Is it possible you've saved the sitemap in some file encoding where what appears to be whitespace is read as an upsilon when interpreted as UTF-8? HTH, Geoff At 04:03 AM 6/5/2003, you wrote: Howdy Guys I'm using Cocoon 2.04 and attempting to run this on Solaris with the Sun One App Server 7. I've installed the WAR file and it runs fine... my final problem appears to be a cocoon problem. I am able to start up the application server fine... and no errors are logged. However, when i invoke the servlet... i get the following problems: Cocoon 2 - Internal server error type fatal message Illegal character at end of document, u. description org.xml.sax.SAXParseException: Illegal character at end of document, u. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.xml.sax.SAXParseException: Illegal character at end of document, u. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generateCode(LogicsheetCodeGenerator.java:173) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:353) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312) at org.apache.cocoon.sitemap.Handler.run(Handler.java:267) at java.lang.Thread.run(Thread.java:536) request-uri /cocoon/ path-info --- Looking at the logs in WEB-INF/logs, I find the following curious statement in the access.log: ERROR (2003-06-05) 17:06.07:594 [access] (/cocoon/) service-j2ee/CocoonServl et: Problem with Cocoon servlet org.xml.sax.SAXParseException: Illegal character at end of document, #x75;. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator. generateCode(LogicsheetCodeGenerator.java:173) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.g enerateCode(AbstractMarkupLanguage.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl. generateResource(ProgramGeneratorImpl.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl. createResource(ProgramGeneratorImpl.java:353) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl. load(ProgramGeneratorImpl.java:312) at org.apache.cocoon.sitemap.Handler.run(Handler.java:267) at java.lang.Thread.run(Thread.java:536) In the sitemap.log i get: ERROR (2003-06-05) 17:06.07:591 [sitemap] (/cocoon/) service-j2ee/Handler: E rror compiling sitemap org.xml.sax.SAXParseException: Illegal character at end of document, #x75;. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
RE: Sitemap parsing error?
You're probably going to need someone who is better with encoding subtleties than myself. But one thing you need to pay attention to is that what the file declares for itself (UTF-8) is compatible with the encoding of the file itself as actually performed by your editor. The fact that you've run dos2unix on it is very interesting in this regard - who knows what encoding that uses. Also, if the WAR extraction didn't extract the full sitemap that's another possible clue. It may have thought it reached an end of file - possibly because of a single/double byte issue. If no one picks up on this thread who knows more, I'd recommend renaming it to reflect that you think you have an encoding mismatch and someone who is solid in that area may take notice. HTH, Geoff -Original Message- From: Jason Nah [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 8:09 PM To: '[EMAIL PROTECTED]' Subject: RE: Sitemap parsing error? Hi Geoff, The encoding stated at the top of the XML file is UTF-8 For some reason the WAR extraction process didn't quite extract the full sitemap file (could have been corrupted.) I manually ftp the file across from a windows box and dos2unixed it... What's a possible fix? It appears all the text is in straight ascii... Cheers, Jason -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 10:09 PM To: [EMAIL PROTECTED] Subject: Re: Sitemap parsing error? And your sure you haven't typed any stray upsilon characters? ;) upsilon; = #965; = #x75; Assuming you haven't, my only slightly informed guess is that you've got an encoding mix up. Is it possible you've saved the sitemap in some file encoding where what appears to be whitespace is read as an upsilon when interpreted as UTF-8? HTH, Geoff At 04:03 AM 6/5/2003, you wrote: Howdy Guys I'm using Cocoon 2.04 and attempting to run this on Solaris with the Sun One App Server 7. I've installed the WAR file and it runs fine... my final problem appears to be a cocoon problem. I am able to start up the application server fine... and no errors are logged. However, when i invoke the servlet... i get the following problems: Cocoon 2 - Internal server error type fatal message Illegal character at end of document, u. description org.xml.sax.SAXParseException: Illegal character at end of document, u. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.xml.sax.SAXParseException: Illegal character at end of document, u. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat eCode(LogicsheetCodeGenerator.java:173) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate Code(AbstractMarkupLanguage.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:390) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:353) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:312) at org.apache.cocoon.sitemap.Handler.run(Handler.java:267) at java.lang.Thread.run(Thread.java:536) request-uri /cocoon/ path-info --- Looking at the logs in WEB-INF/logs, I find the following curious statement in the access.log: ERROR (2003-06-05) 17:06.07:594 [access] (/cocoon/) service-j2ee/CocoonServl et: Problem with Cocoon servlet org.xml.sax.SAXParseException: Illegal character at end of document, #x75;. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator. generateCode(LogicsheetCodeGenerator.java:173) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.g enerateCode(AbstractMarkupLanguage.java:390) at
Re: recommed upgrading to Xalan 2.5 when using document() regularly
Quoting Joerg Heinicke [EMAIL PROTECTED]: Hello Bruce, I upgraded Xalan to 2.5.1 and Xerces to 2.4.0 in the Cocoon 2.0 CVS, so they should be in the next Cocoon 2.0.x release - I guess the 5 comes after the 4 ;-) Joerg It's an indication of Cocoon 2.0.x's excellence that I'm delighted to hear there will be continued releases of it! After a few days of traffic, including a Freshmeat announcement which generates a fair number of hits, the problem I described in the parent post has not recurred and no nasties have appeared in its place. Xalan 2.5 looks like a winner, and I'm glad it will be stock in future releases. Yrs, -- Bruce Robertson, Dept. of Classics, Mount Allison University http://heml.mta.ca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: regexp problem
Thanks for the advice. In the meantime we tried with jakarta-regexp-1.3-dev.jar which seems to work now. Kurt -Ursprüngliche Nachricht- Von: Christian Haul [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 05. Juni 2003 17:12 An: [EMAIL PROTECTED] Betreff: Re: regexp problem On 05.Jun.2003 -- 04:45 PM, Majcen, Kurt wrote: Hi all! We are trying to validate input fields in a web user interface via the form-validator action. One of the fields is a date field. Therefore we found a regular expression at http://www.regxlib.com/REDetails.aspx?regexp_id=113 which covers the aspects we are looking for: ^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$ Unfortunately Cocoon 2.0.3 does not validate correctly with this expression. Simpler expressions work. We don't see any exceptions or errors. Any idea? Try to use the underlying regexp library (apache.regexp) directly, perhaps that is flawed already. Honestly, you should extend the AbstractValidatorAction to validate dates and submit a patch ;-) 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serious Encoding Problems (Umlaute)
On Thursday 05 June 2003 23:46, Alexander Schatten wrote: I use Tomcat 4 and Cocoon 2 and SQLTransformer, mySQL. Interestingly, everything works fine on Windows XP; German Umlauts are entered correctly into the database, and displayed correctly when HTML is created from the table. The *same* sitemap file (with added encoding tags in sql, xsl and html transformers) does not work correctly on Linux. On the other Linux box, not even the writing to the database works, there the german Umlauts are replaced with two characters. Has anybody on idea about this strange behavious? it really looks like it could have something to do with the OS, JVM...? Hello Landsmann, what is the LANG environment variable set to? Apparently, this can have some influence on the JVM. Try setting it to LANG=de. Actually, it should work without that but I was not able to figure it out. Regards, Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Can't seem to load Firebird driver
Von: Edison Too [mailto:[EMAIL PROTECTED] Not sure if you are aware of this, the Firdbird JDBC driver is not an all-in-one jar. you need a jta-spec1_0_1.jar and connector.jar as well. Thank you VERY much, that was what I needed! We'd successfully used the firebirdsql.jar with a JSP and a Java Bean before, instantiating the driver with Class.forName(), and that's why I didn't know anything else was needed. Thank you very much for the hint (and also to the others who have replied)! Nik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
is this working?
I have tested LDAP, and after two days I have come to a result... I don't have any errors i my page, but I get following : ?xml version=1.0 encoding=Windows-1252 ? LDAPUSER xmlns:ldap=http://apache.org/cocoon/LDAP/1.0; LDAP xmlns=http://apache.org/cocoon/LDAP/1.0; / /LDAPUSER My pipeline is like this : map:pipeline map:match pattern=ldaptest map:generate src=workflowmanager/documents/ldaptest.xml / map:transform type=ldap / map:serialize type=xml / /map:match /map:pipeline Now, I think (and hope) my page is correct, but how can I display some results? My xml file is detailled here : ?xml version=1.0 encoding=ISO-8859-1? LDAPUSER xmlns:ldap=http://apache.org/cocoon/LDAP/1.0; ldap:execute-query ldap:initializercom.sun.jndi.ldap.LdapCtxFactory/ldap:initializer ldap:serverurlldap://10.68.85.40/ldap:serverurl ldap:port389/ldap:port ldap:scopeOBJECTS_SCOPE/ldap:scope ldap:filter(amp;(objectClass=group)(name=G-TU-NTWS-ADM))/ldap:filter ldap:rootdncn=corproot,cn=net/ldap:rootdn ldap:searchbaseDC=corproot,DC=net/ldap:searchbase ldap:debugFALSE/ldap:debug ldap:deref-linkTRUE/ldap:deref-link ldap:count-limit100/ldap:count-limit ldap:time-limit0/ldap:time-limit ldap:show-attributeTRUE/ldap:show-attribute ldap:doc-elementLDAP/ldap:doc-element ldap:row-elementLDAPSET/ldap:row-element ldap:error-elementELEMENT/ldap:error-element ldap:attributemember/ldap:attribute /ldap:execute-query /LDAPUSER - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MS SQL Stored Procedure Help
this is a snippet which works for me under mssql (jtds driver): esql:call {call proc_info( esql:parameter type=Intxsp:exprInteger.parseInt(id)/xsp:expr/esql:parameter )} /esql:call esql:results esql:row-results ... /esql:row-results /esql:results i'm remembering problems with the positioning of { and the following call keyword. You have to make sure that there is no space between them. I'm not sure if this a jdbc driver issue or strictly enforced by jdbc, but this drived my crazzy. hth, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: is this working?
On Fri, 6 Jun 2003 09:37:48 +0200 [EMAIL PROTECTED] wrote: I have tested LDAP, and after two days I have come to a result... I don't have any errors i my page, but I get following : ?xml version=1.0 encoding=Windows-1252 ? LDAPUSER xmlns:ldap=http://apache.org/cocoon/LDAP/1.0; LDAP xmlns=http://apache.org/cocoon/LDAP/1.0; / /LDAPUSER My pipeline is like this : map:pipeline map:match pattern=ldaptest map:generate src=workflowmanager/documents/ldaptest.xml / map:transform type=ldap / map:serialize type=xml / /map:match /map:pipeline Now, I think (and hope) my page is correct, but how can I display some results? My xml file is detailled here : ?xml version=1.0 encoding=ISO-8859-1? LDAPUSER xmlns:ldap=http://apache.org/cocoon/LDAP/1.0; ldap:execute-query ldap:initializercom.sun.jndi.ldap.LdapCtxFactory/ldap:initializer ldap:serverurlldap://10.68.85.40/ldap:serverurl ldap:port389/ldap:port ldap:scopeOBJECTS_SCOPE/ldap:scope ldap:rootdncn=corproot,cn=net/ldap:rootdn ldap:password???/ldap:password !-- password to dn (if exist) -- ldap:searchbaseDC=corproot,DC=net/ldap:searchbase ldap:debugFALSE/ldap:debug ldap:deref-linkTRUE/ldap:deref-link ldap:count-limit100/ldap:count-limit ldap:time-limit0/ldap:time-limit ldap:doc-elementLDAP/ldap:doc-element ldap:row-elementLDAPSET/ldap:row-element ldap:error-elementELEMENT/ldap:error-element ldap:attributemember/ldap:attribute ldap:show-attributeTRUE/ldap:show-attribute ldap:filter(amp;(objectClass=group)(name=G-TU-NTWS-ADM))/ldap:filter /ldap:execute-query /LDAPUSER -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Can't seem to load Firebird driver
Von: Christian Haul [mailto:[EMAIL PROTECTED] Just a note: I just tried to put this onto the wiki at http://wiki.cocoondev.org/Wiki.jsp?page=SpecificDatabaseConnection but could not quite follow the instructions while looking at the jaybird zip file from firebird.sf.net. Could you add a page to the wiki about this? OK, I've added a page, could somebody please check it as it is my first wiki entry? Just for the record, there is a firebirdsql-full.jar which contains all the necessary classes, so it can be used instead of firebirdsql.jar + [mini-]concurrent.jar + [mini-]j2ee.jar + jaas.jar (for pre-1.4 JDKs). Not sure about the jta.jar and connector.jar that Edison mentioned, though. These aren't mentioned in the in the jaybird instructions and mine seems to work fine without them. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Can't seem to load Firebird driver
Nikolai, OK, I've added a page, could somebody please check it as it is my first wiki entry? Just for the record, there is a firebirdsql-full.jar which contains all the necessary classes, so it can be used instead of firebirdsql.jar + [mini-]concurrent.jar + [mini-]j2ee.jar + jaas.jar (for pre-1.4 JDKs). Not sure about the jta.jar and connector.jar that Edison mentioned, though. These aren't mentioned in the in the jaybird instructions and mine seems to work fine without them. Looks good to me (can't vouch that the content works yet, though). I tried to get Firebird working some time ago, but gave up. So I've now got something to try at some future point. Thanks for that. Regards, Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serious Encoding Problems (Umlaute)
Le Vendredi, 6 juin 2003, à 11:20 Europe/Zurich, Matthias Brunner a écrit : ...That should really be documented somewhere I have put some information at http://wiki.cocoondev.org/Wiki.jsp?page=SettingTheJvmLocale ...Maybe there is a parameter to the JVM as well, which would be better to use. There is - see the above page. -- Bertrand Delacretaz independent consultant, Lausanne, Switzerland http://cvs.apache.org/~bdelacretaz/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serious Encoding Problems (Umlaute)
Matthias Brunner wrote: That should really be documented somewhere. I believe, however, that the approach itself (having to set an environment variable for the JVM) is really flawed. I do not understand why this is necessary at all, since there are XML headers which set the encoding of every file. And internally, Java uses Unicode anyway. Does someone have a clue why this is such a pain to configure? I have no idea either. may I pose a second (though not Cocoon related question): where would you put this environment variable setting to, so that it will be set even after reboot? .bashrc will not be the correct location, I believe? should I modify the cocoon startup batch? It depends on how you are starting Tomcat. Typically, you put export LANG=de in your System-V startup script (mostly /etc/init.d/tomcat). If you start from the command line, you can put that into .bashrc indeed. Be aware though that the LANG variable influences all linux programmes with localisation support. Maybe there is a parameter to the JVM as well, which would be better to use. yes, thank you for that hint. but this should not matter, as far as I see it. additionally I have to remark, that I really do not understand all those encoding problems. e.g. the default setting usually is UTF-8 and only makes problems with western europe characters. So the first thing I always do in the XML/XSLT environment is to set the encoding to some iso-8859-1. and moreover: I do not understand why this iso setting is not the default setting: because it works with all characters english as well as german... so why not use this one as default, would be less confusing for all, no? Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't seem to load Firebird driver
On 06.Jun.2003 -- 11:37 AM, Nier, Nikolai wrote: Von: Christian Haul [mailto:[EMAIL PROTECTED] Just a note: I just tried to put this onto the wiki at http://wiki.cocoondev.org/Wiki.jsp?page=SpecificDatabaseConnection but could not quite follow the instructions while looking at the jaybird zip file from firebird.sf.net. Could you add a page to the wiki about this? OK, I've added a page, could somebody please check it as it is my first wiki entry? Just for the record, there is a firebirdsql-full.jar which contains all the necessary classes, so it can be used instead of firebirdsql.jar + [mini-]concurrent.jar + [mini-]j2ee.jar + jaas.jar (for pre-1.4 JDKs). Not sure about the jta.jar and connector.jar that Edison mentioned, though. These aren't mentioned in the in the jaybird instructions and mine seems to work fine without them. Great! Thanks a lot. jta.jar and connector.jar have put me off track and since I couldn't verify this setup I didn't finish the page. Thanks again. 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please take care a virus is near of us!
Hi: For all Windows users of the list, Right now, I receved a rare mail from Upayavira. I want to warning all of you that the mail can be virus. But I am not sure, because I am using Linux. The topic was interesting since was got from this list. Of course there was an attach with a .exe extension. Be aware! Best Regards, Antonio Gallardo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please take care a virus is near of us!
So do I. But the attachment was automaticly remove by the virus scan. Take care of the mail from Upayavira [EMAIL PROTECTED] with the subject : Re: commandline executes matching pipeline three times and an 038-001_DataDictionary.xls.exe file attached! -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 1:14 PM To: [EMAIL PROTECTED] Subject: Please take care a virus is near of us! Hi: For all Windows users of the list, Right now, I receved a rare mail from Upayavira. I want to warning all of you that the mail can be virus. But I am not sure, because I am using Linux. The topic was interesting since was got from this list. Of course there was an attach with a .exe extension. Be aware! Best Regards, Antonio Gallardo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 2.1 dont work with ODBC?
Torsten is a person - and wrote to you directly already. :) Geoff At 10:39 PM 6/5/2003, you wrote: no i have not btw .. what is torsten? On Thu, 5 Jun 2003, Geoff Howard wrote: Did you contact Torsten as the error message said? Geoff -Original Message- From: Stavros Kounis [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 3:58 PM To: [EMAIL PROTECTED] Subject: 2.1 dont work with ODBC? i have the latest (today 06/05/2003) CVS snapshot) i have add sun.jdbc.odbc.JdbcOdbcDriver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please take care a virus is near of us!
Le Vendredi, 6 juin 2003, à 13:13 Europe/Zurich, Antonio Gallardo a écrit : ...Right now, I receved a rare mail from Upayavira. I want to warning all of you that the mail can be virus It has probably not been sent by him, apparently someone with @apache.org addresses in their address book have been hit by a klez virus or something. (I've seen the problem too in the past few days, see http://codeconsult.ch/bertrand/archives/64.html). -Bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Encoding problems in flowscript
Hi, I'm having trouble with the enconding in a flowscript, when I submit data in a form it gets escaped internaly in the flow script, so if I try to get back data that has some norwegian characters in them they get misinterpreted. All my documents have UTF-8 enconding and headers, my serialzers in the sitemap also have encoding parameters set to UTF-8. My modeldata is correctly inserted into the forms, but as soon as I submit the norwegian characters are misinterpred. My language of choice in the flowscript is javascript. I'm running the 2.1-m2 with tomcat 4.1.24 with j2se 1.4.1_02-b06 on winXP Regards Morten Svanæs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Encoding problems in flowscript
On Fri, 2003-06-06 at 22:56, morten svanæs wrote: Hi, I'm having trouble with the enconding in a flowscript, when I submit data in a form it gets escaped internaly in the flow script, so if I try to get back data that has some norwegian characters in them they get misinterpreted. All my documents have UTF-8 enconding and headers, my serialzers in the sitemap also have encoding parameters set to UTF-8. My modeldata is correctly inserted into the forms, but as soon as I submit the norwegian characters are misinterpred. Have you enabled the form-encoding parameter in the web.xml? -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Encoding problems in flowscript
i have the same problem posting data from a form to .xsp there is a thread about this http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105396439703871w=2 --stavros On 6 Jun 2003, Bruno Dumon wrote: On Fri, 2003-06-06 at 22:56, morten svans wrote: Hi, I'm having trouble with the enconding in a flowscript, when I submit data in a form it gets escaped internaly in the flow script, so if I try to get back data that has some norwegian characters in them they get misinterpreted. All my documents have UTF-8 enconding and headers, my serialzers in the sitemap also have encoding parameters set to UTF-8. My modeldata is correctly inserted into the forms, but as soon as I submit the norwegian characters are misinterpred. Have you enabled the form-encoding parameter in the web.xml? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serious Encoding Problems (Umlaute)
On 6/06/2003 11:55 Alexander Schatten wrote: and moreover: I do not understand why this iso setting is not the default setting: because it works with all characters english as well as german... so why not use this one as default, would be less confusing for all, no? How about all these people _not_ using a classical anglosaxonroman language? /Steven -- Steven Noelshttp://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center Read my weblog athttp://blogs.cocoondev.org/stevenn/ stevenn at outerthought.orgstevenn at apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ldap authentification
Where do I have to put my username to make a connection to an LDAP server ? Because I need an authentification with usernamepassword. Thanks ?xml version=1.0 encoding=ISO-8859-1? LDAPUSER xmlns:ldap=http://apache.org/cocoon/LDAP/1.0; ldap:execute-query ldap:initializercom.sun.jndi.ldap.LdapCtxFactory/ldap:initializer ldap:authenticationsimple/ldap:authentication ldap:passwordmypass/ldap:password ldap:serverurlldap://10.50.40.41/ldap:serverurl ldap:port389/ldap:port ldap:version3/ldap:version ldap:rootdndc=corproot,dc=net/ldap:rootdn ldap:scopeOBJECTS_SCOPE/ldap:scope ldap:searchbasedc=corproot,dc=net/ldap:searchbase ldap:deref-linkTRUE/ldap:deref-link ldap:count-limit1000/ldap:count-limit ldap:time-limit0/ldap:time-limit ldap:attributename/ldap:attribute ldap:show-attributeTRUE/ldap:show-attribute ldap:filter(objectClass=*)/ldap:filter /ldap:execute-query /LDAPUSER - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Encoding problems in flowscript
- Original Message - From: Bruno Dumon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 06, 2003 5:37 AM Subject: Re: Encoding problems in flowscript On Fri, 2003-06-06 at 22:56, morten svanæs wrote: Hi, I'm having trouble with the enconding in a flowscript, when I submit data in a form it gets escaped internaly in the flow script, so if I try to get back data that has some norwegian characters in them they get misinterpreted. All my documents have UTF-8 enconding and headers, my serialzers in the sitemap also have encoding parameters set to UTF-8. My modeldata is correctly inserted into the forms, but as soon as I submit the norwegian characters are misinterpred. Have you enabled the form-encoding parameter in the web.xml? No, but have I tried it now and it did'nt make any difference. Morten Svanæs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Encoding problems in flowscript
- Original Message - From: morten svanæs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 06, 2003 2:53 PM Subject: Re: Encoding problems in flowscript - Original Message - From: Bruno Dumon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 06, 2003 5:37 AM Subject: Re: Encoding problems in flowscript On Fri, 2003-06-06 at 22:56, morten svanæs wrote: Hi, I'm having trouble with the enconding in a flowscript, when I submit data in a form it gets escaped internaly in the flow script, so if I try to get back data that has some norwegian characters in them they get misinterpreted. All my documents have UTF-8 enconding and headers, my serialzers in the sitemap also have encoding parameters set to UTF-8. My modeldata is correctly inserted into the forms, but as soon as I submit the norwegian characters are misinterpred. Have you enabled the form-encoding parameter in the web.xml? No, but have I tried it now and it did'nt make any difference. Hi again, now it works ! What I did first after your answer was to set both container-encoding and form-encoding to utf-8 this did not make any difference but when I commented out container-encoding so that just form-encoding was set it worked ! I should have done only what you said :) Regards Morten Svanæs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Encoding problems in flowscript
On Fri, 2003-06-06 at 23:59, morten svanæs wrote: - Original Message - From: morten svanæs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 06, 2003 2:53 PM Subject: Re: Encoding problems in flowscript - Original Message - From: Bruno Dumon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 06, 2003 5:37 AM Subject: Re: Encoding problems in flowscript On Fri, 2003-06-06 at 22:56, morten svanæs wrote: Hi, I'm having trouble with the enconding in a flowscript, when I submit data in a form it gets escaped internaly in the flow script, so if I try to get back data that has some norwegian characters in them they get misinterpreted. All my documents have UTF-8 enconding and headers, my serialzers in the sitemap also have encoding parameters set to UTF-8. My modeldata is correctly inserted into the forms, but as soon as I submit the norwegian characters are misinterpred. Have you enabled the form-encoding parameter in the web.xml? No, but have I tried it now and it did'nt make any difference. Hi again, now it works ! What I did first after your answer was to set both container-encoding and form-encoding to utf-8 this did not make any difference but when I commented out container-encoding so that just form-encoding was set it worked ! I should have done only what you said :) Indeed :-) I was too lazy to type in that you shouldn't enable that one (or if you do, it should be ISO-8859-1, because that's what it really is, except in broken servlet containers). -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TR: ESQL - informix
hello, is esql commands not supported in cocoon 2.1 ? abstractesqlconnection don't mention it ? === A. DANEELS [EMAIL PROTECTED] 0243083931 The present email and all information included therein do not constitute a legal agreement accorded by Jouve.All legal agreements must be formulated in writing on paper by a legal representative of JOUVE.If you have received this email by mistake, please inform us of that fact and destroy the email and any documents it might contain. Thank you for your cooperation. Le présent mail ainsi que toutes les informations qu'il contient ne peuvent en aucun cas être considérés comme un engagement juridique de quelque nature que ce soit de JOUVE. Tout accord devra être formulé par écrit papier ultérieur signé parun représentant légal de JOUVE. Par ailleurs, si vous recevez ce mail par erreur, merci de nous le signaler et de le détruire ainsi que l'intégralité du document qui pourrait y être joint.
RE: MS SQL Stored Procedure Help
Ok, I am not having a problem with the input parameters it is the output parameter that I am having issues with. This is more of a callable statement than a stored procedure. Here is what I am trying to no avail. esql:execute-query esql:call {esql:parameter type=Int direction=out/=call getLoginResult(esql:parameter type=String direction=inxsp:expruser/xsp:expr/esql:parameter,esql:paramete r type=String direction=inxsp:exprpassword/xsp:expr/esql:parameter)} /esql:call esql:results esql:call-results xsp:logic login = esql:get-int column=1 from-call=yes/; /xsp:logic /esql:call-results /esql:results /esql:execute-query Thanks Tim -Original Message- From: Frank Taffelt [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 2:40 AM To: [EMAIL PROTECTED] Subject: Re: MS SQL Stored Procedure Help this is a snippet which works for me under mssql (jtds driver): esql:call {call proc_info( esql:parameter type=Intxsp:exprInteger.parseInt(id)/xsp:expr/esql:parameter )} /esql:call esql:results esql:row-results ... /esql:row-results /esql:results i'm remembering problems with the positioning of { and the following call keyword. You have to make sure that there is no space between them. I'm not sure if this a jdbc driver issue or strictly enforced by jdbc, but this drived my crazzy. hth, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MS SQL Stored Procedure Help
i'm not sure if the esql:results element is needed in your case. try the following structure: esql:call ... /esql:call esql:call-results ... /esql:call-results maybe this helps: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102752486530060w=2 Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TR: ESQL - informix
On 06.Jun.2003 -- 04:02 PM, arnaud daneels wrote: hello, is esql commands not supported in cocoon 2.1 ? abstractesqlconnection don't mention it ? Could you please try to put as much information into your questions as you do with your signature? I would like to help but have absolutely no clue what your question is. If your questions is if esql is still in 2.1-dev, then yes, it is. If you happen to use the esql skip row feature with informix and are getting a message to contact [EMAIL PROTECTED], please follow the instructions in the error message. 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please take care a virus is near of us!
Dear All, Take care of the mail from Upayavira [EMAIL PROTECTED] with the subject : Re: commandline executes matching pipeline three times and an 038-001_DataDictionary.xls.exe file attached! As you can see from the above, this email was not sent by me. My email address is [EMAIL PROTECTED], not [EMAIL PROTECTED] I remember around six months ago receiving a lot of emails, obviously sent by some virus, where the sender's email address was made up of a couple of other people's email addresses, taken from the user's mailbox. Obviously, this virus, where-ever it is, randomly chose my name. To explain how I know: I use Pegasus Mail, which does not execute attachments, so a virus could not have got in that way. Also, McAfee virusscan (with latest definitions) has been running for 1 1/2 hours so far and has found nothing. But at least this little incident has made me update (or should I say install) my virus software! Regards, Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLC + Cocoon
Has anyone used XMLC with Cocoon? I've noticed a few messages on the mailing list, but only comparisons between XSLT and XMLC (or Barracuda and Cocoon). Also, has anyone used other Java techniques to access an HTML node and then change it? I think a data binding approach might work (such as Castor) but I think XMLC would probably be the best of the group. Thanks, Ross - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLC + Cocoon
A similar approach is done by Jivan (http://www.jivan.net), but more performanant (3x) and easier to use. As HTML Parser it uses nekoHTML (http://www.apache.org/~andyc/neko/doc/html/). You can get a DOM of your HTML, change the nodes you need, and serialize in 5ms! regards, Arno Ross Bleakney wrote: Has anyone used XMLC with Cocoon? I've noticed a few messages on the mailing list, but only comparisons between XSLT and XMLC (or Barracuda and Cocoon). Also, has anyone used other Java techniques to access an HTML node and then change it? I think a data binding approach might work (such as Castor) but I think XMLC would probably be the best of the group. Thanks, Ross - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLForm modeldata
Hi, I'm trying to make a solution for inserting dynamic data into a xmlform datamodel currently a xml file. What I do is that I use a xml file as the datamodel, that way I feel I have better control of the datamodel and I can reload my submited data saved in xindice very easy back into the form for editing. But now I want to populate a selectmany entity with data from a collection in xindice, what I think is a possible solution is to use the org.apache.commons.jxpath.JXPathContext.createPathAndSetValue to make the necessary items in the datamodel. Since this probably is a common problem I wanted to check if there is allready some solution or work in progress on this issue or kust some hints how use the ceatePathAnsSetValue especially how to make the AbstractFactory. Regard Morten Svanæs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Redirect from within an xsp page
Is there a way to redirect from within the xsp page itself based on the result of data from a query? Thanks Tim Bachta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
session transformer not behaving
Hello, I've seen some discussion of this component lately on the mailing list but my problem seems a little different. I have ensured that my session namespace is updated to the new one (http://apache.org/cocoon/session/1.0), so that's not the problem. Basically, this is what is happening. I have the following fragment before the transformer: 8- You are logged in as session:getxml xmlns:session=http://apache.org/cocoon/session/1.0; context=authentication path=/authentication/ID/ [link uri=logoutLogout/link] -8 After applying the session transformer it looks like this: 8- [link uri=logout context=authentication path=/authentication/IDLogout/link] -8 Strangely, I'm also noticing that the xalan transformer (not xsltc) is removing the session namespace declarations, but the above odd-operation is still occuring, so I would guess that it has nothing to do with this problem. Does such an error look familar to anyone? TIA Steven __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
wildcards in type attribute not supported?
Hi everybody! I am trying to use the wildcard matcher to select different transformation types: map:match pattern=*/*.html map:generate type=file src=xml/{2}.xml/ map:transform type={1} src=xsl/stylesheet.xsl / map:serialize type=html/ /map:match ...but this causes the following error: org.apache.avalon.framework.configuration.ConfigurationException: Type '{1}' is not defined for 'transform' at file: Are the placeholders not supported in the type attribute or am I missing something? If it is not supported is there anybody else who thinks that would be usefull? I wanted to test the performance of different XLS Transformers and this type of match would make it very easy. Regards, Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]