Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.1, 3.2.0, 3.1.4
-
CentOS 6.9
-
Patch
Description
While debugging an issue in my code, I happened to notice a small typo in the XMLUni::fgDOMDisallowDoctype XMLCh array.
In the other XMLCh arrays defined in the XMLUni.cpp file, they are all equivalent to their spelling on the https://xerces.apache.org/xerces-c/program-dom-3.html page.
In the case of XMLUni::fgDOMDisallowDoctype, the characters spell out "disallow-doctye" instead of "disallow-doctype". Thus it appears the array in all the versions mentions above are missing the XMLCh 'p' in the word "doctype".
This is a simple enough fix, and I marked this item Minor because the only way someone would notices is if they decided to establish their own XMLCh array to set the parser parameter instead of using the arrays defined in XMLUni.cpp
I've attached a patch file details the fix of the typo for the 3.2.0 version of Xerces-C