|
There's been
considerable work on BCB support in the last couple of weeks. Check out the
mailing list archive at http://marc.theaimsgroup.com/?l=xerces-c-dev.
As for the runtime
issues, make sure that you are calling XMLPlatformUtils::Initialize() once when
your ISA loads and XMLPlatformUtils::Terminate() once when it unloads. (Or don't
call Terminate() at all. Yes, it's safe to skip it.) Once you've called
Terminate(), you can't call Initialize() again.
-----Original Message-----
From: Wade Chandler [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 11:56 AM To: [EMAIL PROTECTED] Subject: Borland BCB and Xerces. Hello,
I am writing here because the
BugZilla server is down. It has always been kind of slow though, so I'm
glad to see it is moving! heh heh. Anyways....
I've noticed that the lib
has been built around unsigned int XMLCh typedefs. This is ok and all, but
borland actually calls wchar_t a keyword and in MSVC it is a typedef. This
cause some issues in some files. I had to go through them and cast to
wchar_t where appropriate. There is a builder project in the package, but
without corrections it will not compile. Have the members thought about making a builder project that actually
works with the correct files already updated?
Also, I have my lib
compiling, but I am having some strange runtime issues. In any given
process I can create two SAX2XMLReaders fine then I am getting failures on two
then I can create two more fine then I can't then I can and so on and so
on. This is of course happening inside of an ISAPI DLL(not filter).
But, that is not all. After I add a supstantial amount of code to my
DefaultHandler sub class I can parse once then fail parse once then fail.
All of the failures I am getting are results of an access error. I am
thinking, but not sure, for I have to finish my proj first then debug, that
where XMLUtils::createXMLReader() is calling new SAX2XMLReaderImpl we are having
issues with either with the XMLScanner(0) call or with the new array of
XMLDocumentHandlers and the call to memset. There is no array check to see
if new worked or didn't. I was looking for maybe some kind of XMLException
to be generated in these types of senarios. Has this discussion come up
before?
Well, if anyone else has
had the same sort of issues please let me know what you did to correct
them. I would greatly appreciate it. Thank
you.
|
- Borland BCB and Xerces. Wade Chandler
- RE: Borland BCB and Xerces. Jesse Pelton
- RE: Borland BCB and Xerces. Andrew Snare
- RE: Borland BCB and Xerces. Don Mastrovito
- RE: Borland BCB and Xerces. Andrew Snare
- Re: Borland BCB and Xerces. Adib Taraben
- RE: Borland BCB and Xerces. Prior, Chris
