You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/05/02 15:47:01 UTC

DO NOT REPLY [Bug 19592] New: - org.apache.axis.types.Token.isValid() cannot handle empty strings

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=19592>.
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=19592

org.apache.axis.types.Token.isValid()  cannot handle empty strings

           Summary: org.apache.axis.types.Token.isValid()  cannot handle
                    empty strings
           Product: Axis
           Version: 1.1rc2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: N.Metchev@teamphone.com


the method org.apache.axis.types.Token.isValid() throws StringIndexOutOfBounds 
exception on the empty string. it should use String.startsWith() rather than 
String.charAt().....