Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.0
-
None
-
Windows 7
Visual C++ 2008
Static manually built version of Xerces 3.1.0
Description
I parse an XML document with the following code:
XercesDOMParser parser;
parser.setCreateEntityReferenceNodes(false);
parser.setLoadExternalDTD(false);
parser.setLoadSchema(false);
parser.setSkipDTDValidation(true);
parser.setExitOnFirstFatalError(false);
MemBufInputSource source ((XMLByte const*)decoded.begin(), decoded.size(), L"");
parser.parse(source);
Parser crashes in:
void AbstractDOMParser::docComment(const XMLCh* const comment)
{
if (fCreateCommentNodes)
}
with fCurrentParent == 0.
Current position of parser is line 233, column 17, i.e. straight after "<!-- Scripts -->"
Here is the XML document:
[attached as 'crash.xml']