Affects Version/s: 2.7.0
Fix Version/s: None
Component/s: Validating Parser (XML Schema)
Environment:Operating System :- Windows -7, Windows 2008 R2 Server
Software used :- MS Visual Studio 2010-Premium edition
Hardware :- ACPI x64 based PC, 8GB RAM
The following are the code piece that cause the problem.
std::auto_ptr<XMLGrammarPool> poolP(new XMLGrammarPoolImpl (XMLPlatformUtils::fgMemoryManager));
SGXMLScanner scanner(0, 0, 0, 0, 0, &grammarResolver);
LocalFileInputSource inpSource((const XMLCh *)systemid.c_str());
There is an access violation exception was thrown from scanFirst(..) function.
PS. I would like to submit both the sample that reproduce this issue and the fix in Xerces-C++ that resolves the issue. Please let me know to where I have to upload them. I would love to do it.