axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: cvs commit: xml-axis/java/src/org/apache/axis/utils JavaUtils .java
Date Fri, 28 Feb 2003 14:20:05 GMT

Ack!

You can't change these rules.
See the JAX-RPC Appendix on XML-Java name mapping.

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: jmsnell@apache.org [mailto:jmsnell@apache.org] 
Sent: Thursday, February 27, 2003 8:02 PM
To: xml-axis-cvs@apache.org
Subject: cvs commit: xml-axis/java/src/org/apache/axis/utils JavaUtils.java

jmsnell     2003/02/27 17:01:56

  Modified:    java/src/org/apache/axis/utils JavaUtils.java
  Log:
  Final Fix http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14137
  
  Made a change to the JavaUtils XML-to-Java name mapping so that
  underscore characters are not treated as punctuation or word breaks.
  
  Revision  Changes    Path
  1.91      +2 -1      xml-axis/java/src/org/apache/axis/utils/JavaUtils.java
  
  Index: JavaUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/JavaUtils.java,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- JavaUtils.java	25 Jan 2003 19:13:33 -0000	1.90
  +++ JavaUtils.java	28 Feb 2003 01:01:56 -0000	1.91
  @@ -813,7 +813,8 @@
               // If c is not a character, but is a legal Java
               // identifier character, capitalize the next character.
               // For example:  "22hi" becomes "22Hi"
  -            wordStart = !Character.isLetter(c);
  +            wordStart = !(Character.isLetter(c) || Character.isJavaIdentifierPart(c));
  +            //wordStart = !Character.isJavaIdentifierPart(c)
           }
   
           // covert back to a String
  
  
  

Mime
View raw message