Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.5.0
-
None
-
Operating System: All
Platform: All
-
27561
Description
There is some new code in 2.5.0 that checks whether the root element of an XML
document has two namespace declarations. There is a mistake in the code,
however, since it throws an exception (index out of range) when the root
element has no attributes. The relevant code can be found in wfxmlscanner.cpp
at line 1499. I patched it for now by adding an if condition:
if (attCount)
{
...
}
around the whole loop.