Definition of table in GeneralAttributeCheck class with error
-------------------------------------------------------------

         Key: XERCESC-1383
         URL: http://issues.apache.org/jira/browse/XERCESC-1383
     Project: Xerces-C++
        Type: Bug
    Versions: 2.6.0    
 Environment: Solaris 2.8 SPARCompiler 4.2
    Reporter: Maciek Samsel


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]
 =


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to