CVS log for pegasus/src/Pegasus/Common/XmlReader.cpp |
![]() |
Help |
Request diff between arbitrary revisions
BUG#:4200 TITLE: Avoid redundant or unnecessary validation of CIMNames DESCRIPTION: For the modules changed with this checkin the used names either have already been validated before, or the CIMName objects contain static content. To avoid unnecessary calls to the CIMName::legal() method a new constructor of class CIMName is used in the following places: CIMClassRep.cpp: Constructing CIMName from static string "key". XMLReader.cpp: Returned name has been validated explicitly a few lines before using CIMName::legal(). InheritanceTree.cpp: It can be assumed that the CIMNames constructed from class names have been validated in other places before. CMPI_BrokerEnc.cpp: CIMNames used within the CMPI Provider Manager are derived from previous getClass calls for the names of properties, classes, methods and qualifiers. CMPI_ContextArgs.cpp: Names used for context objects are statically defined and can be assumed to be legal. CMPI_Instance.cpp: Property names used by providers are matched against the class definition anyway. No need to validate those names therefore.
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |