The following issue has been updated: Updater: Alberto Massari (mailto:[EMAIL PROTECTED]) Date: Mon, 4 Oct 2004 3:16 AM Changes: assignee changed from Xerces-C Developers Mailing List description changed from The Xerces COM wrapper (xerces-com) should be a replacement for the MSXML parser. xerces-com supports only appartment threaded applications (COM STA) but MSXML supports free and appartment threaded applications (COM STA and COM MTA). This leads to a very bad performance if xerces-com is used in an COM MTA application.
If the COM binding supports both threading models it's a real replacement for the MSXML DOM parser. Changes: 1) All the COM wrapper classes inherit from: CComObjectRootEx<CComSingleThreadModel> they have to inherit from: CComObjectRootEx<CComMultiThreadModel> 2) Remove the line #define _ATL_APARTMENT_THREADED from src\com\stdafx.h 3) The rgs scripts have to be changed. ThreadingModel from 'Apartment' to 'Both'? With my application this xerces-com works without any problem. to The Xerces COM wrapper (xerces-com) should be a replacement for the MSXML parser. xerces-com supports only appartment threaded applications (COM STA) but MSXML supports free and appartment threaded applications (COM STA and COM MTA). This leads to a very bad performance if xerces-com is used in an COM MTA application. If the COM binding supports both threading models it's a real replacement for the MSXML DOM parser. Changes: 1) All the COM wrapper classes inherit from: CComObjectRootEx<CComSingleThreadModel> they have to inherit from: CComObjectRootEx<CComMultiThreadModel> 2) Remove the line #define _ATL_APARTMENT_THREADED from src\com\stdafx.h 3) The rgs scripts have to be changed. ThreadingModel from 'Apartment' to 'Both'? With my application this xerces-com works without any problem. environment changed from Operating System: Windows NT/2K Platform: PC to Operating System: Windows NT/2K Platform: PC priority changed to Major Component changed to COM Wrapper Component changed from Utilities --------------------------------------------------------------------- For a full history of the issue, see: http://issues.apache.org/jira/browse/XERCESC-312?page=history --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-312 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-312 Summary: COM Threading Model of COM binding (xerces-com) Type: Bug Status: Unassigned Priority: Major Project: Xerces-C++ Components: COM Wrapper Versions: 1.6.0 Assignee: Reporter: Thomas Rummel Created: Mon, 21 Jan 2002 4:33 AM Updated: Mon, 4 Oct 2004 3:16 AM Environment: Operating System: Windows NT/2K Platform: PC Description: The Xerces COM wrapper (xerces-com) should be a replacement for the MSXML parser. xerces-com supports only appartment threaded applications (COM STA) but MSXML supports free and appartment threaded applications (COM STA and COM MTA). This leads to a very bad performance if xerces-com is used in an COM MTA application. If the COM binding supports both threading models it's a real replacement for the MSXML DOM parser. Changes: 1) All the COM wrapper classes inherit from: CComObjectRootEx<CComSingleThreadModel> they have to inherit from: CComObjectRootEx<CComMultiThreadModel> 2) Remove the line #define _ATL_APARTMENT_THREADED from src\com\stdafx.h 3) The rgs scripts have to be changed. ThreadingModel from 'Apartment' to 'Both'? With my application this xerces-com works without any problem. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]