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

XSTypeDefinition::getNamespace() is missing a const qualifier

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4
    • Fix Version/s: 3.2.0
    • Labels:
      None

      Description

      The function

      XSTypeDefinition::getNamespace()

      should have a const qualifier, just like

      XSTypeDefinition::getName()

      has.

      $ cd xerces-c-3.1.1/src/xercesc/framework/psvi/
      $ grep "XMLCh* getName" XSTypeDefinition.hpp
      virtual const XMLCh* getName() const = 0;
      virtual const XMLCh* getNamespace() = 0;

        Attachments

          Activity

            People

            • Assignee:
              scantor Scott Cantor
              Reporter:
              eriksjolund Erik Sjölund
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: