I am currently using 7.0. Thinking about upgrading to .Net 2003. Thanks for the information; I will look at it shortly.
J. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, May 01, 2004 22:36 To: [EMAIL PROTECTED] Subject: Re: Getting type cast error when compiling XSLException Hi, It looks like you're compiling with Visual C++ 7.x. If that's the case, you really should use our project files, so the compiler options are set correctly. The problem you're seeing is related to whether or not wchar_t is treated as a distinct type or not. The standard says it is, but previous versons of Visual C++ did not treat it that way, and Xerces-C is written to expect that it is, so Xalan-C must do so as well. Look in the documentation for information about the option "/Zc:wchar_t (wchar_t Is Native Type)" and make sure you set the option "Treat wchar_t as Built-in Type" is set to "No". Dave "Jaran Nilsen" <[EMAIL PROTECTED] To: "[EMAIL PROTECTED] Apache. Org" <[EMAIL PROTECTED]> com> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: Getting type cast error when compiling XSLException 05/01/2004 07:35 AM Please respond to xalan-dev Hi. I am trying to make an application which downloads a HTML page, then transforms it using Xalan. However when I try to compile my project (I have followed the "Basic usage patten with the XalanTransformer C++ API" guide to set up include directories / lib directories in VC++) I get the error message: c:\Libraries\xml-xalan\c\src\xalanc\PlatformSupport\XSLException.hpp(95): error C2440: 'type cast' : cannot convert from 'wchar_t [13]' to 'xalanc_1_7::XalanDOMString' Can anyone explain me what I have done wrong, or if there is something I have overseen when setting up Xalan and Xerces? Thanks! Regards, Jaran Nilsen www.jaranweb.com avast! Antivirus: Outbound message clean. Virus Database (VPS): 0418-6, 05/01/2004 Tested on: 5/1/2004 4:35:35 PM avast! is copyright (c) 2000-2003 ALWIL Software. _____ avast! Antivirus <http://www.avast.com> : Outbound message clean. Virus Database (VPS): 0418-7, 05/01/2004 Tested on: 5/2/2004 12:45:12 AM avast! is copyright (c) 2000-2003 ALWIL Software. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
