[fdo][FDO187][New] Mistakes in usage of Xerces macros
Mateusz Loskot
mateusz at loskot.net
Mon Sep 25 15:01:30 EDT 2006
You can view the artifact detail at the following URL:
https://fdo.osgeo.org/servlets/Scarab/id/FDO187
Type
Defect
Artifact ID
FDO187 (Mistakes in usage of Xerces macros)
Reported by
Mateusz Loskot
mloskot (mateusz at loskot.net)
New artifact details:
---------------------------------------------------------
- Artifact created
- Summary set to new value
Mistakes in usage of Xerces macros
- Subcomponent set to new value
CLIENT SERVICES
- Platform set to new value
All
- Component set to new value
FDO
- Artifact Status set to new value
Unconfirmed
- Description set to new value
In files
RegistryUtility.h, line 31
RegistryUtility.cpp, line 86
Xerces macros controlling C++ namespace usage are mistakenly ised.
The Xerces guide:
http://xml.apache.org/xerces-c/program-others.html
in section "Using C++ Namespace" clearly states:
***
Do NOT add colons or semicolons following these macros in your source.
***
This rule is reasonable, because it prevents from errors like:
XERCES_CPP_NAMESPACE_BEGIN;
what will expand to
XERCES_CPP_NAMESPACE_BEGIN namespace xercesc_2_7 {;
with misused collon add the end.
- Operating system set to new value
All
- OS Distribution and Version set to new value
Ubuntu 6.06
- Defect Severity set to new value
High
---------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Fdo_issues
mailing list