Greetings Smit, Great!!! It works for me this time.Many many many Thanks to you.This helps me lot.Many things was pending just because of this Xalan issue. :jumping: Three cheers for you.Great help in no time.:handshake:
Thanks & Regards, Kamalkishor Hans Smit wrote: > > Seeing that you are under time constraints... here is the zip file with > both the xerces and xalan. It works for me. It's a little large I hope > it gets through. (it didn't) > > Please navigate to the following link: > > http://82.93.141.97:8080/mydocs/xml.zip > > It's 20M with precompiled release version of all you need. > > Hans Smit > > -----Original Message----- > From: kgarg [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 09, 2007 11:57 AM > To: xalan-c-users@xml.apache.org > Subject: RE: Xalan & Xerces-c build with VS2005 crashes runtime > throughing exception... > > > Hi Smit, > > First of all Many many thanks for your reply. > It helps me a bit,but problem is still there.After setting > Debugging->Working Directory,App is failing now in Xalan dll.I am trying > with both Release & Debug versions.But the result is same. > > Look at the following exception. > > First-chance exception at 0x7c812a5b in ExternalFunction.exe: Microsoft > C++ > exception: xalanc_1_10::XSLTProcessorException at memory location > 0x0012eb48.. > First-chance exception at 0x7c812a5b in ExternalFunction.exe: Microsoft > C++ > exception: [rethrow] at memory location 0x00000000.. > The program '[3588] ExternalFunction.exe: Native' has exited with code > -1 > (0xffffffff). > > One more important note about this Xalan build is that,I am able to > build > Xalan 1.10.0 in both Release & Debug.I am using Attached Patch file for > Xalan.I am not able to compile Xalan origanal code in VC2005. > You may like to see this patch. > > Also one more important request is that I am running out of time for > building this Xalan in VC2005. > If you can please send me zip of Xalan 1.10.0 source code working well > with > Xercesc 2.7.0 will be an great help for me.It doesn't matter if it only > works in Release version.One more thing is that I need to run > XalanTransform > using these. > > Any help/suggestion will be appreciated.Thanks in advance. > > Note: Please find attached patch3.txt file applied to build Xalan in > VC8. > > Thanks & Regards, > Kamalkishor http://www.nabble.com/file/p13112495/patch3.diff patch3.diff > > > > Hans Smit wrote: >> >> Hi Kamalkishor, >> >> I'm assuming that you are running the application from within the > VS2005 >> environment (in debug mode). If this is the case, check the following >> setting: >> Debugging->Working Directory >> >> If this is empty, then change it to point to the directory in which > the >> xml files exist. >> >> Try again. >> >> So did you get xalan to compile in debug mode, i.e. Xalan-C_1_10D.lib? >> >> I had some troubles compiling the debug version, so I'm sticking to > the >> release version. This required me to change a number of settings to >> compile the ExternalFunction.exe (library input paths, etc). So, I was >> using the release version of xerces/xalan and the debug version of the >> ExternalFunction project. >> >> I'm just wondering if this could be a debug version issue. >> >> Cheers, >> >> Hans Smit >> >> >> -----Original Message----- >> From: kgarg [mailto:[EMAIL PROTECTED] >> Sent: Monday, October 08, 2007 2:02 PM >> To: xalan-c-users@xml.apache.org >> Subject: Xalan & Xerces-c build with VS2005 crashes runtime throughing >> exception... >> >> >> Hi All, >> >> I have build Xalan 1.10.0 & Xerces-c 2.7.0 with VS2005 > successfully.But >> it >> does not work for me. >> When I try to run sample test programs of Xalan,It crashes throughing >> some >> exceptions each time.I don't know what is going wrong.I have taken > care >> of >> all compilation similarities needed to run these togather(i.e. W_Chart >> issue,multithreding & other compilation settings for both are exactly >> same.).All environment variables,include path,library path settings > are >> also >> as per mentions on forum. >> For e.g. when I try to run ExternalFunction following exception is >> through. >> 'ExternalFunction.exe': Loaded >> > 'D:\Kamalkishor\Xalan\xml-xalan_WorkingWithVC8_ChangesByMe\c\Build\Win32 >> \VC8\Debug\ExternalFunction.exe', >> Symbols loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\ntdll.dll', No > symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\kernel32.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded >> > 'D:\Kamalkishor\Xalan\xml-xalan_WorkingWithVC8_ChangesByMe\c\Build\Win32 >> \VC8\Debug\xerces-c_2_7D.dll', >> Symbols loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\ws2_32.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\ws2help.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\advapi32.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\rpcrt4.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded >> > 'C:\WINNT\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727. >> 42_x-ww_f75eb16c\msvcr80d.dll', >> No symbols loaded. >> 'ExternalFunction.exe': Loaded >> > 'D:\Kamalkishor\Xalan\xml-xalan_WorkingWithVC8_ChangesByMe\c\Build\Win32 >> \VC8\Debug\Xalan-C_1_10D.dll', >> Symbols loaded. >> 'ExternalFunction.exe': Loaded >> > 'D:\Kamalkishor\Xalan\xml-xalan_WorkingWithVC8_ChangesByMe\c\Build\Win32 >> \VC8\Debug\XalanMessages_1_10D.dll', >> Binary was not built with debug information. >> 'ExternalFunction.exe': Loaded >> > 'C:\WINNT\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727. >> 42_x-ww_f75eb16c\msvcp80d.dll', >> No symbols loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\entapi.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\user32.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\gdi32.dll', No > symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\psapi.dll', No > symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\netapi32.dll', No >> symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\imm32.dll', No > symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\lpk.dll', No symbols >> loaded. >> 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\usp10.dll', No > symbols >> loaded. >> 'ExternalFunction.exe': Unloaded 'C:\WINNT\system32\entapi.dll' >> 'ExternalFunction.exe': Unloaded 'C:\WINNT\system32\netapi32.dll' >> 'ExternalFunction.exe': Unloaded 'C:\WINNT\system32\psapi.dll' >> First-chance exception at 0x7c812a5b in ExternalFunction.exe: > Microsoft >> C++ >> exception: xercesc_2_7::RuntimeException at memory location > 0x0012f978.. >> The program '[2872] ExternalFunction.exe: Native' has exited with code > 0 >> (0x0). >> >> >> At dos prompt it says like application is failed to read foo.xml. >> but the file is present on same path as of exe. >> I don't know what is wrong with & with what?Xalan or Xercesc.But every >> time >> exception is from Xercesc.So i think there is something wrong with it >> only.Plz help me as soon as possible as this is very urgent for me. >> If possible just send me whole working projects with source code of >> Xalan >> 1.10.0 & Xercesc 2.7.0 which complies in VS2005. >> Note : I need to run XalanTransform application using this.Plz send >> working >> source code plz. >> >> Any help & suggessions will be appreciated.Plz help me out...this is >> very >> urgent for me. >> >> Thanks & Regards, >> Kamalkishor >> -- >> View this message in context: >> > http://www.nabble.com/Xalan---Xerces-c-build-with-VS2005-crashes-runtime >> -throughing-exception...-tf4587696.html#a13095116 >> Sent from the Xalan - C - Users mailing list archive at Nabble.com. >> >> >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: >> 07/10/2007 18:12 >> >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: >> 10/7/2007 6:12 PM >> >> >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: >> 10/7/2007 6:12 PM >> >> >> >> > > -- > View this message in context: > http://www.nabble.com/Xalan---Xerces-c-build-with-VS2005-crashes-runtime > -throughing-exception...-tf4587696.html#a13112495 > Sent from the Xalan - C - Users mailing list archive at Nabble.com. > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.5/1058 - Release Date: > 08/10/2007 16:54 > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.5/1058 - Release Date: > 10/8/2007 4:54 PM > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.5/1058 - Release Date: > 10/8/2007 4:54 PM > > > > -- View this message in context: http://www.nabble.com/Xalan---Xerces-c-build-with-VS2005-crashes-runtime-throughing-exception...-tf4587696.html#a13136609 Sent from the Xalan - C - Users mailing list archive at Nabble.com.