Re: [Resin-interest] character encoding
Jeff Schnitzer schrieb: I wrote up a quick blurb on the issues surrounding character encoding on the Resteasy list recently: http://sourceforge.net/mailarchive/message.php?msg_name=540eb7210908281001r6aafaa55u78615debb704e4c1%40mail.gmail.com Good blurb! The main problem is that POSTed form data will be sent by the browser in whatever charset encoding was used on the host page, and this information is not sent along with the request. So the server must guess... and that usually means going with the platform default. On the page you're referring to: * If there is an acceptcharset element on the form, it should submit with that encoding. I've never tested this. * Otherwise the browser will submit with whatever encoding the page was rendered in. That's not quite what the HTML spec says: accept-charset = charset list [CI] This attribute specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client must interpret this list as an exclusive-or list, i.e., the server is able to accept any single character encoding per entity received. The default value for this attribute is the reserved string UNKNOWN. User agents may interpret this value as the character encoding that was used to transmit the document containing this FORM element. http://www.w3.org/TR/html401/interact/forms.html#adef-accept-charset So there is must and may instead of should and will. But I've never tested it either. And tests would have to be done against multiple implementations, not against the spec :-/ Maybe worth trying, though. -- Michael Ludwig ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Building from trunk
I just tried ant dist from trunk and got an UNRESOLVED DEPENDENCIES error from Ivy: [ivy:retrieve] :: problems summary :: [ivy:retrieve] WARNINGS [ivy:retrieve] io problem while parsing ivy file: http://repository.jboss.com/maven2/jboss/jboss-common/2.2.1/jboss-common-2.2.1.pom: Impossible to load parent for file:/Users/jeff/.ivy2/cache/jboss/jboss-common/ivy-2.2.1.xml.original. Parent=org.jboss#jboss-parent;3 [ivy:retrieve] io problem while parsing ivy file: http://repository.jboss.com/maven2/jboss/jboss-common-core/2.2.0.GA/jboss-common-core-2.2.0.GA.pom: Impossible to load parent for file:/Users/jeff/.ivy2/cache/jboss/jboss-common-core/ivy-2.2.0.GA.xml.original. Parent=jboss#jboss-common;2.2.1 [ivy:retrieve] module not found: jboss#jboss-common-core;2.2.0.GA [ivy:retrieve] jboss: tried [ivy:retrieve] http://repository.jboss.com/maven2/jboss/jboss-common/2.2.1/jboss-common-2.2.1.pom [ivy:retrieve] :: [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: [ivy:retrieve] :: [ivy:retrieve] :: jboss#jboss-common-core;2.2.0.GA: not found [ivy:retrieve] :: [ivy:retrieve] [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS Am I doing something wrong? This is the first Ivy-based project I've tried to build. Thanks, Jeff ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Building from trunk
I discovered the target ant resin.dist.build which seems to get farther, but then fails to find resin-cxf.jar: BUILD FAILED /Users/Shared/3rdparty/Resin/build-common.xml:753: The following error occurred while executing this line: /Users/Shared/3rdparty/Resin/build-common.xml:569: The following error occurred while executing this line: /Users/Shared/3rdparty/Resin/build-common.xml:433: Warning: Could not find file /Users/Shared/3rdparty/Resin/artifacts/cxf/dist/resin-cxf.jar to copy. So I tried ant artifacts, which did produce the resin-cxf.jar, but then failed to compile the mule classes because org.mule doesn't exist. And while the resin.dist.build gets a little farther, it needs more unbuilt artifacts. I scoured the wiki, the mailing list, and the source tree for some sort of description on how to build but for now, it seems I'm code 1 jeff 0 :-/ Jeff On Fri, Sep 25, 2009 at 8:18 PM, Jeff Schnitzer j...@infohazard.org wrote: I just tried ant dist from trunk and got an UNRESOLVED DEPENDENCIES error from Ivy: [ivy:retrieve] :: problems summary :: [ivy:retrieve] WARNINGS [ivy:retrieve] io problem while parsing ivy file: http://repository.jboss.com/maven2/jboss/jboss-common/2.2.1/jboss-common-2.2.1.pom: Impossible to load parent for file:/Users/jeff/.ivy2/cache/jboss/jboss-common/ivy-2.2.1.xml.original. Parent=org.jboss#jboss-parent;3 [ivy:retrieve] io problem while parsing ivy file: http://repository.jboss.com/maven2/jboss/jboss-common-core/2.2.0.GA/jboss-common-core-2.2.0.GA.pom: Impossible to load parent for file:/Users/jeff/.ivy2/cache/jboss/jboss-common-core/ivy-2.2.0.GA.xml.original. Parent=jboss#jboss-common;2.2.1 [ivy:retrieve] module not found: jboss#jboss-common-core;2.2.0.GA [ivy:retrieve] jboss: tried [ivy:retrieve] http://repository.jboss.com/maven2/jboss/jboss-common/2.2.1/jboss-common-2.2.1.pom [ivy:retrieve] :: [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: [ivy:retrieve] :: [ivy:retrieve] :: jboss#jboss-common-core;2.2.0.GA: not found [ivy:retrieve] :: [ivy:retrieve] [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS Am I doing something wrong? This is the first Ivy-based project I've tried to build. Thanks, Jeff ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest