Hi,
        Xalan is crashing for 470 KB input file. Here is the snippet of
code, that I am using for transformation.
It is crashing in the axXalanTransformer.transform method.
Can you please go through it and let me know, If I can do any thing to get
away with this.
I am attaching the code at the end of the mail.

Thanks for the help,
Raj..

                // Create a XalanTransformer.
                XalanTransformer axXalanTransformer;
                //create XML Input Source.
                istrstream      aXMLInputStream (a_srXMLString.data(),
a_srXMLString.length());
                XSLTInputSource aXMLInputSource (&aXMLInputStream);

                //Create ResultTarget
                DOMStringPrintWriter
aDOMStrPrintWriter(asTransformerDOMStr);
                XSLTResultTarget axResultTarget(&aDOMStrPrintWriter);

                // Apply the Stylesheet to InputSource.
                int iResult = axXalanTransformer.transform(aXMLInputSource,
m_aStyleSheetManager.getCompiledStylesheet(a_iXSIdentifer), axResultTarget);


CORE:

VariablesStack.findEntry__14VariablesStackFRC10XalanQNamebT2() at 0xda203f7c
VariablesStack.findXObject__14VariablesStackFRC10XalanQNameR26StylesheetExec
utionContextbT3Rb() at 0xda203b9c
StylesheetExecutionContextDefault.getVariable__33StylesheetExecutionContextD
efaultFRC10XalanQNamePC7Locator() at 0xda1ef70c
XPath.variable__5XPathCFP9XalanNodeiR21XPathExecutionContext() at 0xd9f83140
XPath.executeMore__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0xd9f8161c
XPath.executeMore__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0xd9f81404
XPath.runFunction__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0xd9f83878
XPath.executeMore__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0xd9f81670
XPath.executeMore__5XPathCFP9XalanNodeiR21XPathExecutionContext() at
0xd9f81404
XPath.execute__5XPathCFP9XalanNodeRC14PrefixResolverR21XPathExecutionContext
() at 0xd9f8126c
StylesheetExecutionContextDefault.createVariable__33StylesheetExecutionConte
xtDefaultFPC19ElemTemplateElementRC5XPathP9XalanNodeRC14PrefixResolver() at
0xda1eb980
StylesheetExecutionContextDefault.getParams__33StylesheetExecutionContextDef
aultFRC19ElemTemplateElementP9XalanNodeRQ2_3std6vectorXTQ2_14VariablesStack1
7ParamsVectorEntryTQ2_3std9allocatorXTQ2_14VariablesStack17ParamsVectorEntry
__() at 0xda1ec478
StylesheetExecutionContextDefault.pushParams__33StylesheetExecutionContextDe
faultFRC19ElemTemplateElementP9XalanNodePC19ElemTemplateElement() at
0xda1ebf90
StylesheetExecutionContext.__ct__Q2_26StylesheetExecutionContext13ParamsPush
PopFR26StylesheetExecutionContextRC19ElemTemplateElementP9XalanNodePC19ElemT
emplateElement() at 0xda07e190
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0xda1ac7ac
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de8c
ElemChoose.execute__10ElemChooseCFR26StylesheetExecutionContext() at
0xda1ad454
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de24
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0xda16a090
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0xda1ac7d4
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de8c
ElemChoose.execute__10ElemChooseCFR26StylesheetExecutionContext() at
0xda1ad454
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de24
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0xda16a090
...............
.................
...............
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0xda16a090
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0xda1ac7d4
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de8c
ElemChoose.execute__10ElemChooseCFR26StylesheetExecutionContext() at
0xda1ad454
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de24
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0xda16a090
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0xda1ac7d4
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de8c
ElemTemplateElement.doChildrenToString__19ElemTemplateElementCFR26Stylesheet
ExecutionContextR14XalanDOMString() at 0xda00e14c
ElemTemplateElement.childrenToResultAttribute__19ElemTemplateElementCFR26Sty
lesheetExecutionContextRC14XalanDOMString() at 0xda00ec9c
ElemAttribute.execute__13ElemAttributeCFR26StylesheetExecutionContext() at
0xda1b2390
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de24
ElemLiteralResult.execute__17ElemLiteralResultCFR26StylesheetExecutionContex
t() at 0xda1b9e1c
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de24
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContextP9XalanNode() at 0xda00dfd0
ElemTemplateElement.transformChild__19ElemTemplateElementCFR26StylesheetExec
utionContextRC19ElemTemplateElementPC19ElemTemplateElementP9XalanNode() at
0xda010348
ElemTemplateElement.transformSelectedChildren__19ElemTemplateElementCFR26Sty
lesheetExecutionContextRC19ElemTemplateElementPC19ElemTemplateElementRC15Nod
eRefListBaseUl() at 0xda01001c
ElemTemplateElement.transformSelectedChildren__19ElemTemplateElementCFR26Sty
lesheetExecutionContextRC19ElemTemplateElementPC19ElemTemplateElementP9Xalan
NodeRC5XPathP10NodeSorteri() at 0xda00fb80
ElemForEach.transformSelectedChildren__11ElemForEachCFR26StylesheetExecution
ContextPC19ElemTemplateElementP9XalanNodei() at 0xda16b5e0
ElemApplyTemplates.execute__18ElemApplyTemplatesCFR26StylesheetExecutionCont
ext() at 0xda16add8
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de8c
ElemLiteralResult.execute__17ElemLiteralResultCFR26StylesheetExecutionContex
t() at 0xda1b9e1c
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de24
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0xda16a090
ElemCallTemplate.execute__16ElemCallTemplateCFR26StylesheetExecutionContext(
) at 0xda1ac7d4
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de8c
ElemLiteralResult.execute__17ElemLiteralResultCFR26StylesheetExecutionContex
t() at 0xda1b9e1c
ElemTemplateElement.executeChildren__19ElemTemplateElementCFR26StylesheetExe
cutionContext() at 0xda00de24
ElemTemplate.execute__12ElemTemplateCFR26StylesheetExecutionContext() at
0xda16a090
StylesheetRoot.process__14StylesheetRootCFP9XalanNodeR16XSLTResultTargetR26S
tylesheetExecutionContext() at 0xda151884
XSLTEngineImpl.process__14XSLTEngineImplFRC15XSLTInputSourceR16XSLTResultTar
getR26StylesheetExecutionContext() at 0xda110b40
XalanTransformer.transform__16XalanTransformerFRC17XalanParsedSourcePC23Xala
nCompiledStylesheetRC16XSLTResultTarget() at 0xda273f10
XalanTransformer.transform__16XalanTransformerFRC15XSLTInputSourcePC23XalanC
ompiledStylesheetRC16XSLTResultTarget() at 0xda274498
unnamed block CTransformImpl.transformImpl(const char*).$b10, line 60 in
"CTransformImpl.cc"
CTransformImpl.transformImpl(const char*)(0x200193a8, 0x20021638), line 60
in "CTransformImpl.cc"
CTestTransform.theThread(void*)(iThCount = (nil)), line 19 in
"CTestTransform.cc"
pthread._pthread_body(??) at 0xd00080c8

 <<err>> 


"MMS <firstam.com>" made the following
 annotations on 02/26/02 17:15:09
------------------------------------------------------------------------------
"THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE INTENDED SOLELY FOR THE 
USE OF THE INDIVIDUAL(S) ADDRESSED AND MAY CONTAIN CONFIDENTIAL, PROPRIETARY OR 
PRIVILEGED INFORMATION.  IF YOU ARE NOT THE ADDRESSEE INDICATED IN THIS MESSAGE (OR 
RESPONSIBLE FOR DELIVERY OF THIS MESSAGE TO SUCH PERSON) YOU MAY NOT REVIEW, USE, 
DISCLOSE OR DISTRIBUTE THIS MESSAGE OR ANY FILES TRANSMITTED HEREWITH.  IF YOU RECEIVE 
THIS MESSAGE IN ERROR, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND DELETE THIS 
MESSAGE AND ALL COPIES OF IT FROM YOUR SYSTEM."

==============================================================================

Attachment: err
Description: Binary data

Reply via email to