Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.0
-
None
-
Windows 32 bit (WinXP Prof), using VC 6.0
Description
Using the following declaration crashes Xerces:
<!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN" "">
-
- Note the empty systemID declaration.**
Background:
Added a OASIS Catalog Resolving Mechanism to our integration of Xerces Parser, callback handler EntityHandler::resolveEntity is supposed to resolve the public ID.
Unfortunately, line
internal/ReaderMgr.cpp:470
handles the string without checking if the pointer const XMLCh* const sysId is NULL. And maybe the sysID pointer shouldn't have been NULL, but the empty string.
Best Regards,
Arthur