axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10375] New: - JavaUtils.isPunctuation() gives true for '_'
Date Mon, 01 Jul 2002 14:08:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10375>.
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'

Mime
View raw message