cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Bienvenu <arnaud.bienv...@generasound.com>
Subject Re: esql and UnsupportedEncodingException - patch proposal
Date Thu, 09 Aug 2001 15:40:13 GMT
I applied your patch instead of mine; it is smarter and does the job. Would
some Cocoon Guru apply it to CVS ? What is the procedure to ask for it ?
Don't you like it ?

Here is Michael's patch again (using cocoon's coding style) :

Index: ./src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl,v
retrieving revision 1.16
diff -u -r1.16 esql.xsl
--- ./src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl	2001/08/06 15:38:57
1.16
+++ ./src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl	2001/08/09 15:26:48
@@ -636,6 +636,8 @@
           </xsl:otherwise>
         </xsl:choose>
       } catch (Exception _esql_exception_<xsl:value-of select="generate-id(.)"/>_2)
{}
+    } catch(java.io.UnsupportedEncodingException e) {
+      throw new RuntimeException(e.toString());
     }
     if (_esql_queries.empty()) {
       _esql_query = null;


-- 
Arnaud Bienvenu
http://www.generasound.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message