Hi,
In my application I want to throw a parsing error like so,

SAXParseException((const XMLCh *const) "Error...", position,
XMLPlatformUtils::fgMemoryManager));

but I get the following typing error (in Visual Studio 2005),

"error C2665: 'xercesc_2_7::SAXParseException::SAXParseException' : none of
the 3 overloads could convert all the argument types

could be 'xercesc_2_7::SAXParseException::SAXParseException(const XMLCh
*const ,const xercesc_2_7::Locator &,xercesc_2_7::MemoryManager *const )'

while trying to match the argument list '(const XMLCh *,
xercesc_2_7::Locator *, xercesc_2_7::MemoryManager *)'"


How can I change this to work? Also, will it generate an error or a warning?
Thanks.
-- 
View this message in context: 
http://www.nabble.com/How-to-throw-a-SAX-Parse-Error--tf2736197.html#a7633566
Sent from the Xerces - C - Users mailing list archive at Nabble.com.

Reply via email to