|
|
Re: Major problem with umlaut characters: msg#00005
|
Subject: |
Re: Major problem with umlaut characters |
Hello Antti,
Could your problem be similar to the problem described in this
post
(http://sourceforge.net/mailarchive/forum.php?thread_id=6771946&forum_id=2467)
I am not sure I ever saw the infinite looping behavior, but the
corrupted data sounds like the same issue. Try making the changes I
described, and see if that resolves the issue for you. If you have
follow up questions (in case my description was not clear), feel free
to ask. Thanks,
Zach Roberts
Antti Rauramo wrote:
Hello,
I posted this problem on Chiba-users, but the responses only display
that other users have this problem with slightly different sympthoms,
too. I just picked up Chiba and starting building a customer project
using XForms. The package looks very good, but unfortunately I soon ran
into the following problem:
Take the default installation of chiba; open any form that uses
submission (tried with hello.xhtml, vcard.xml, addresses.xhtml, and my
own form); enter characters with umlauts (Finnish is full of ä's and
ö's, that's a-with-two-dots and o-with-two-dots) -> Chiba goes into
an eternal loop. Here's the tail of the log:
..
DEBUG httpclient.wire.content : >> "
</addr:phones>[\r][\n]"
DEBUG httpclient.wire.content : >> "
<addr:notes/>[\r][\n]"
DEBUG httpclient.wire.content : >> "
</addr:address>"
DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod :
Request body sent
DEBUG org.apache.commons.httpclient.HttpConnection : enter
HttpConnection.flushRequestOutputStream()
DEBUG org.apache.commons.httpclient.HttpMethodBase : enter
HttpMethodBase.readResponse(HttpState, HttpConnection)
DEBUG org.apache.commons.httpclient.HttpMethodBase : enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)
DEBUG org.apache.commons.httpclient.HttpConnection : enter
HttpConnection.readLine()
DEBUG org.apache.commons.httpclient.HttpParser : enter
HttpParser.readLine()
DEBUG org.apache.commons.httpclient.HttpParser : enter
HttpParser.readRawLine()
It always freezes at HttpParser.readRawLine(). The same effect is
achieved by putting characters with umlauts in the model into the xml
template to be returned. I can send such a form for debugging if need
be.
This is on W2K, Sun JDK 1.5.0, Tomcat5. Similar problems appear when
using RH Linux, Sun JDK, and Tomcat4. The application doesn't go into
the loop but the data is corrupted.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|
|
| |