You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Arun Ramdas <ar...@etrade.com> on 2002/02/02 02:34:01 UTC

compilation warnings in new version

the following pieces of code were compiling fine under Xalanc 1.2 and Xerces
1.5.1 but give out warnings under Xalan C 1.3 and Xerces 1.6

Code Piece1
istrstream   theXSLStream(TemplateMessage, strlen(TemplateMessage));

       194: theResult =
theXalanTransformer.compileStylesheet(&theXSLStream, the
CompiledStylesheet);

Code Piece 2

istrstream theXMLStream1(request, strlen(request));
  ostrstream transformed_msg;

275:  result = theXalanTransformer.transform(&theXMLStream1, compiledsheet,
transfor
med_msg);

Warnings

"sa_xmlmsg_formatter.cpp", line 194: Warning (Anachronism):
XSLTInputSource::XSLTInputSource(const XSLTInputSource&) is not accessible
from GetTransformedMsg(SA_AlertTemplate_s*, DOM_Node, char*, char**).
"sa_xmlmsg_formatter.cpp", line 194: Note: Type "CC -migration" for more on
anachronisms.
"sa_xmlmsg_formatter.cpp", line 275: Warning (Anachronism):
XSLTInputSource::XSLTInputSource(const XSLTInputSource&) is not accessible
from apply_transformation(char*, XalanCompiledStylesheet*, char**).
2 Warning(s) detected.