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

Definition of table in GeneralAttributeCheck class with error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • None
    • None
    • Solaris 2.8 SPARCompiler 4.2

    Description

      Line 933: File: validators/schema/GeneralAttributeCheck.cpp

      const XMLCh* GeneralAttributeCheck::fAttNames[A_Count] =

      that causes compiler error as A_Count is enumeration value defined in class GeneralAttributeCheck.

      It should be:

      const XMLCh* GeneralAttributeCheck::fAttNames[GeneralAttributeCheck::A_Count] =

      Anyway how it was missed if the previous table is defined (correctly) as follows:

      unsigned short GeneralAttributeCheck::fgElemAttTable[GeneralAttributeCheck::E_Count][GeneralAttributeCheck::A_Count] =

      Attachments

        Activity

          People

            Unassigned Unassigned
            macieks Maciek Samsel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: