Details
Description
In some special cases I get a StackOverflowError in method equals(XMLString),
line #444 [ if (!obj2.hasString()) return obj2.equals(this); ]
I think this can occur if to XStringForChars-objects are compared, and both
objects haven't been used before. Than the hasString()-method of
XStringForChars returns false for both, resulting in an endless loop.
I patched XStringForChars method hasString() to return always true,
which works for me.
Don't know if this is the right way to solve this bug.
Attachments
Attachments
Issue Links
- is duplicated by
-
XALANJ-1991 StackOverflowException comparing two strings
- Resolved
-
XALANJ-2001 normalize-space gives StackOverflowError
- Resolved
- is related to
-
XALANJ-2001 normalize-space gives StackOverflowError
- Resolved
- relates to
-
XALANJ-1880 StackOverflowError on XPath expression
- Open
-
XALANJ-1991 StackOverflowException comparing two strings
- Resolved