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

normalize-space does not properly handle empty text data





------- Additional Comments From [EMAIL PROTECTED]  2002-10-28 21:40 -------
The fix looks good.  

Who knows why this method is called with 0 characters to process.
An easier to read, but eqivalent test to the one in your patch:

  if (scanpos >= end)
    return edgeTreatmentFlags;

would be:
  if (length <= 0)
    return edgeTreatmentFlags;

Reply via email to