Details
Description
I used Subversion to pull down Xerces C++ v3.1.4. I then used Visual Studio to open ...\projects\Win32\VC10\xerces-all\xerces-all.sln. I set the active configuration to Debug x64 and did "Build"/"Rebuild solution" which succeeded. I then ran .../Build/Win64/VC10/Debug/DOMNormalizerTest.exe which caused an exception in like 198 of RefHashTableOf.c. The call stack started at line 290of Normalizer.cpp: doc->normalizeDocument();
I then changed the active configuration to Debug Win32 and did "Build"/"Rebuild solution" which succeeded. I then ran .../Build/Win32/VC10/Debug/DOMNormalizerTest.exe which DID NOT cause an exception. The doc->normalizeDocument(); method returned and the document was successfully emitted:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<po:docEle xmlns:po="http://www.test.com" xmlns:po2="http://www.test2.com">
<po2:docEleChild>
<docEleChildChild xmlns="http://www.test2.com"/>
<docEleChildChild2 xmlns="http://www.test3.com"/>
<po4:docEleChildChild3 xmlns:po4="http://www.test4.com"/>
<po4:docEleChildChild4 xmlns:po4="http://www.test4.com"/>
<docEleChildChild5 xmlns="http://www.test4.com"/>
</po2:docEleChild>
</po:docEle>
Which of these two behaviors is the expected (correct) behavior?
What needs to be done to the build with the unexpected behavior in order to get the correct behavior?