You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Yang, Shaoying" <Sh...@compuware.com> on 2001/04/26 20:50:58 UTC
Xalan-C++ bug report
XalanTransform::Transform (istream& theXMLInStream, istream& theXSLInStream,
ostream& theOutStream)
will cause a memory leak and abortion if the XSL is not a valid XML.
For example:
char xml[] = "invalid text";
char xsl[] = "invalid text";
std::istrstream InputXML(xml);
std::istrstream InputXSL(xsl);
theResult = theXalanTransformer->transform(InputXML, InputXSL,
*OutputBuffer);