cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: esql-patch
Date Mon, 13 Aug 2001 12:48:46 GMT
Michael,

Thanks for your patch. As patch does not cover the default case (for the default encoding),
i took
the liberty of checking in a patch that should work in both cases. Please give it a shot and
let
us know if all's well.

Thanks,
dims

>>--------------EFB071C4F44C74B42DB2DCBC
>>Content-Type: text/plain; charset=us-ascii
>>Content-Transfer-Encoding: 7bit
>>
>>Hi,
>>I'd like to use <esql:get-string column="abc" encoding="UTF-8"/>
>>but for the encoding we have to catch
>>java.io.UnsupportedEncodingException
>>These exception is not catched yet.
>>Because I have no access to cvs I post the patch as
>>diff -u esql.xsl.orig esql.xsl
>>
>>Regards,
>>Michael
>>
>>
>>--------------EFB071C4F44C74B42DB2DCBC
>>Content-Type: text/plain; charset=us-ascii;
>> name="esql.xsl.diff-u"
>>Content-Transfer-Encoding: 7bit
>>Content-Disposition: inline;
>> filename="esql.xsl.diff-u"
>>
>>--- esql.xsl.orig	Tue Aug  7 16:25:16 2001
>>+++ esql.xsl	Tue Aug  7 16:23:13 2001
>>@@ -637,6 +637,9 @@
>>         </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;
>>     } else {
>>

=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message