Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2124

Typo in XMLUni::fgDOMDisallowDoctype XMLCh array

    XMLWordPrintableJSON

Details

    • 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

      Attachments

        1. fix.patch
          0.4 kB
          David Schloss

        Activity

          People

            scantor Scott Cantor
            drschloss David Schloss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: