You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Olivier Brand <ol...@intraware.com> on 2000/11/30 23:42:07 UTC
Bug found in XSL taglib
I have found a bug in the XSL taglib.
The doAfterBody method never sets the body to null if the bodyContent is
empty or null.
The problem appears then in the doAfterTag method where the test:
if (body != null)
data = new XSLTInputSource(new StringReader(body));
else
data = getInputSource(nameXml, propertyXml, xml);
is not valid. The body cannot never be null and a SAX exception is then
thrown.
Olivier