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

PSVI XSObject getNamespace method should be const

    XMLWordPrintableJSON

    Details

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

      Description

      XSObject::getNamespace is declared non-const, which is wrong, but also triggers method override warnings on Solaris.

      I think the subclass that redeclaring that method as pure virtual (and const) is a little fishy, but the compiler understands the situation well enough as long as the method signatures match.

        Attachments

          Activity

            People

            • Assignee:
              scantor Scott Cantor
              Reporter:
              scantor Scott Cantor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: