Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 95565 invoked by uid 500); 1 Jul 2002 14:08:19 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 95545 invoked from network); 1 Jul 2002 14:08:18 -0000 Date: 1 Jul 2002 14:08:29 -0000 Message-ID: <20020701140829.7097.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: axis-dev@xml.apache.org Cc: Subject: DO NOT REPLY [Bug 10375] New: - JavaUtils.isPunctuation() gives true for '_' X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10375 JavaUtils.isPunctuation() gives true for '_' Summary: JavaUtils.isPunctuation() gives true for '_' Product: Axis Version: current (nightly) Platform: Other URL: http://cvs.apache.org/viewcvs.cgi/xml- axis/java/src/org/apache/axis/utils/JavaUtils.java?rev=1 .53&content-type=text/vnd.viewcvs-markup OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: WSDL processing AssignedTo: axis-dev@xml.apache.org ReportedBy: Brian.Ewins@btinternet.com Axis mistakenly converts names like 'FOO_Bar' in WSDL to 'FOOBar' in java. The spec for this conversion, p141 of the JAX-RPC spec says: A punctuation character (punct) is one of the following: � Hyphen (�-�, \u002D, HYPHEN-MINUS) � Period (�.�, \u002E, FULL STOP) � Colon (�:�, \u003A, COLON) � Dot (���, \u00B7, MIDDLE DOT) � \u0387, GREEK ANO TELEIA � \u06DD, ARABIC END OF AYAH � \u06DE, ARABIC START OF RUB EL HIZB However the code in org.apache.axis.utils.JavaUtils.isPunctuation(char c) also lists '_'. This line looks to be a spec violation? Originally reported on the axis-user list, 1/July/2002 by David.Ostrovsky at dvg.de, message entitled 'WSDL2Java: FOO_Bar name is converted to FOOBar'