Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 64693 invoked from network); 29 May 2006 09:56:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 May 2006 09:56:22 -0000 Received: (qmail 8962 invoked by uid 500); 29 May 2006 09:56:19 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 8931 invoked by uid 500); 29 May 2006 09:56:19 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 8920 invoked by uid 99); 29 May 2006 09:56:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 02:56:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 02:56:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 10E217142EF for ; Mon, 29 May 2006 09:55:31 +0000 (GMT) Message-ID: <3704671.1148896531066.JavaMail.jira@brutus> Date: Mon, 29 May 2006 09:55:31 +0000 (GMT+00:00) From: "Deepal Jayasinghe (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2-754) whitespaces are not trimmed in services.xml In-Reply-To: <21782629.1148123070341.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-754?page=all ] Deepal Jayasinghe reassigned AXIS2-754: --------------------------------------- Assign To: Deepal Jayasinghe > whitespaces are not trimmed in services.xml > ------------------------------------------- > > Key: AXIS2-754 > URL: http://issues.apache.org/jira/browse/AXIS2-754 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: deployment > Versions: 1.0 > Reporter: Kent Tong > Assignee: Deepal Jayasinghe > > If there are whitespaces used in services.xml such as like: > > ... > > > http://foo.com/FileService/upload > > > > Then those whitespaces will be included as the action URI. When the client uses the URI without whitespaces as the WSA action, it will fail to look up the service. Similar situations exist for other elements like . > I find that you're explicitly calling trim() at places where it's needed (eg, trimming the ServiceClass parameter before loading the class). This is a very dangerous practice. Isn't it possible to ignore all ignorable whitespaces? For example, something like http://www.jdom.org/pipermail/jdom-interest/2004-December/014464.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org