You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Maciek Samsel (JIRA)" <xe...@xml.apache.org> on 2005/03/17 00:22:20 UTC
[jira] Created: (XERCESC-1383) Definition of table in GeneralAttributeCheck class with error
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
[jira] Resolved: (XERCESC-1383) Definition of table in GeneralAttributeCheck class with error
Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1383?page=history ]
Alberto Massari resolved XERCESC-1383:
--------------------------------------
Resolution: Fixed
The fix is in CVS. Please verify.
Alberto
> 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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org