Details
Description
XMLString::subString(buffer,"",0,0) would not seem outrageous. Gives
ArrayIndexOutOfBoundsException.
This test in the subString code would seem to be the culprit:
if (startIndex > srcLen-1
This appears in both char* and XMLCh* versions.
PS. This could also be generalised to
XMLString::subString(buffer,text,textLen,textLen)