Issue 9163: Align Base-IDL Reflection Mapping to MOF2.0 Core (mof2idl-ftf) Source: Fraunhofer FOKUS (Mr. Michael Soden, soden@ikv.de soden@fokus.fraunhofer.de) Nature: Uncategorized Issue Severity: Summary: Rule (46) states that a factory interface is created for each package. A factory should be created only for the root package, just as home interfaces are created only for root package components. Resolution: Revised Text: Change the beginning of the rule 46 to read: Rule (46) For the root package, an IDL interface definition is being created - … Rule (46) modified from For each package, an IDL interface definition is being generated - taking into account 8.2.5 - with identifier concatenate ( format_1 ( <package identifier> ), "Factory" ). This interface is identical to that from section 5.8.3 of the MOF1.4 specification and contains the same operations. to For the outermost package, an IDL interface definition is being generated with identifier concatenate ( format_1 ( <package identifier> ), "Factory" ). This interface contains one operation named concatenate ( "create_", format_2 ( <package identifier> )) with return type of the package interface created by Rule (35). In Example (9) // Base-IDL Mapping: interface MyPackageFactory { /* … */ }; modified to // Base-IDL Mapping: interface MyPackageFactory { MyPackage create_my_package(); }; In section 8.1.1 RefBaseObject::ref_get_metaclass was changed to RefBaseObject::ref_get_meta_class Actions taken: November 15, 2005: received issue March 8, 2006: closed issue Discussion: This is a bug in the current spec. End of Annotations:===== MG Issue No: [Temp16] Title: Align Base-IDL Reflection Mapping to MOF2.0 Core. Source: Michael Soden, soden@ikv.de Summary: Rule (46) states that a factory interface is created for each package. A factory should be created only for the root package, just as home interfaces are created only for root package components. Discussion: This is a bug in the current spec. Resolution: Change the beginning of the rule 46 to read: Rule (46) For the root package, an IDL interface definition is being created - . Rule (46) modified from For each package, an IDL interface definition is being generated - taking into account 8.2.5 - with identifier concatenate ( format_1 ( ), "Factory" ). This interface is identical to that from section 5.8.3 of the MOF1.4 specification and contains the same operations. to For the outermost package, an IDL interface definition is being generated with identifier concatenate ( format_1 ( ), "Factory" ). This interface contains one operation named concatenate ( .create_., format_2 ( )) with return type of the package interface created by Rule (35). In Example (9) // Base-IDL Mapping: interface MyPackageFactory { /* . */ }; modified to // Base-IDL Mapping: interface MyPackageFactory { MyPackage create_my_package(); }; In section 8.1.1 RefBaseObject::ref_get_metaclass was changed to RefBaseObject::ref_get_meta_class Disposition: open