Menu

#189 64bit xml parse wont work

v1.0.7x
open
nobody
None
5
2007-08-27
2007-08-27
Anders
No

I had a problem parsing the configuration file using a 64 bit linux system (ACE 5.5.10) - it turned ot to be the following problem:

The character method declaration is incorrect in:
libodutl/od_utl_xml_sax_parser (and its virtual methods)

Its currently:
void OD_Utl_XML_SaxParser::characters(const ACEXML_Char *ch,
int start,
int length ACEXML_ENV_ARG_DECL)

Should be changed to:
void OD_Utl_XML_SaxParser::characters(const ACEXML_Char *ch,
size_t start,
size_t length ACEXML_ENV_ARG_DECL)

The reason is ACEXML/../ContentHandler.h
virtual void characters (const ACEXML_Char *ch,
size_t start,
size_t length
ACEXML_ENV_ARG_DECL)

Discussion


Log in to post a comment.

Auth0 Logo