xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] Bug in class Text
- Date: Thu, 12 Jun 2003 18:20:24 -0700
Hi,
Browsing through the d16 code I saw what it likely a small bug in class nu.xom.Text:
public final String toString() {
String value = getValue();
if (value.length() <= 40) {
return "[" + getClass().getName() + ": " + data + "]";
}
return "[" + getClass().getName() + ": " + value.substring(35)
+ "...]";
}
should probably read:
...
if (value.length() <= 40) {
return "[" + getClass().getName() + ": " + value + "]";
}
...
Cheers,
Wolfgang.
-
[XOM-interest] Bug in class Text,
Wolfgang Hoschek, 06/12/2003
- Re: [XOM-interest] Bug in class Text, Elliotte Rusty Harold, 06/12/2003
Archive powered by MHonArc 2.6.24.