Issue 2961: Standard System Exception minor codes missing in Chapter 13 (interop) Source: Micro Focus (Dr. Jishnu Mukerji, jishnu(at)microfocus.com) Nature: Uncategorized Issue Severity: Summary: Chapter 13 (formal/99-07-17) is missing specification of minor codes for many the standard system exceptions that are specified to be raised under various circumstances. Resolution: correct the erroneous minor codes and add ones where missing in chaps 13 and 15. Leave the resolutio Revised Text: In 13.6.7 Object URLs, Change: " If conversion fails, string_to_object raises a BAD_PARAM exception with the following minor codes (to be assigned by the OMG): - BadSchemeName - BadAddress - BadSchemeSpecificPart - Other " to: " If conversion fails, string_to_object raises a BAD_PARAM exception with one of following minor codes, as appropriate: minor code 7 - string_to_object conversion failed due to bad scheme name minor code 8 - string_to_object conversion failed due to bad address minor code 9 - string_to_object conversion failed due to bad bad schema specific part minor code 10 - string_to_object conversion failed due to non specific reason " In 13.7.2.4 CodeSet Component of IOR Multi-Component Profile. change last paragraph: " If the code set component is not present in a multi-component profile structure, then the default char code set is ISO 8859-1 for backward compatibility. However, there is no default wchar code set. If a server supports interfaces that use wide character data but does not specify the wchar code sets that it supports, client-side ORBs will raise exception INV_OBJREF. " to (OMG Staff must supply the next available minor code as <n>: " If the code set component is not present in a multi-component profile structure, then the default char code set is ISO 8859-1 for backward compatibility. However, there is no default wchar code set. If a server supports interfaces that use wide character data but does not specify the wchar code sets that it supports, client-side ORBs will raise exception INV_OBJREF, with minor code <n>. " Add the following new minor code for the INV_OBJREF system exception in table 4-1 Minor exception codes: " <n> wchar Code Set Support not specified " In 13.7.2.6 Code Set Negotiation, change: " A DATA_CONVERSION exception is raised when a client or server attempts to transmit a character that does not map into the negotiated transmission code set. For example, not all characters in Taiwan Chinese map into Unicode. When an attempt is made to transmit one of these characters via Unicode, an ORB is required to raise a DATA_CONVERSION exception. " to (OMG Staff must assign the next avalable minor code for DATA_CONVERSION to <i>): " A DATA_CONVERSION exception is raised when a client or server attempts to transmit a character that does not map into the negotiated transmission code set. For example, not all characters in Taiwan Chinese map into Unicode. When an attempt is made to transmit one of these characters via Unicode, an ORB is required to raise a DATA_CONVERSION exception, with minor code <i>. " and change: " If a server’s native char code set is not specified in the IOR multi-component profile, then it is considered to be ISO 8859-1 for backward compatibility. However, a server that supports interfaces that use wide character data is required to specify its native wchar code set; if one is not specified, then the client-side ORB raises exception INV_OBJREF. Similarly, if no char transmission code set is specified in the code set service context, then the char transmission code set is considered to be ISO 8859-1 for backward compatibility. If a client transmits wide character data and does not specify its wchar transmission code set in the service context, then the server-side ORB raises exception BAD_PARAM. " to (OMG Staff must assign the next available minor code for BAD_PARAM as <m> ): " If a server’s native char code set is not specified in the IOR multi-component profile, then it is considered to be ISO 8859-1 for backward compatibility. However, a server that supports interfaces that use wide character data is required to specify its native wchar code set; if one is not specified, then the client-side ORB raises exception INV_OBJREF, with minor code set to <n>. Similarly, if no char transmission code set is specified in the code set service context, then the char transmission code set is considered to be ISO 8859-1 for backward compatibility. If a client transmits wide character data and does not specify its wchar transmission code set in the service context, then the server-side ORB raises exception BAD_PARAM, with minor code set to <m>. " Add the following new minor code for the DATA_CONVERSION system exception in table 4-1 Minor exception codes: " <i> character does not map to negotiated transmission code set " Add the following new minor code for the BAD_PARAM system exception in table 4-1 Minor exception codes: " <m> wchar transmission code set not in service context " In 15.3.5.5, change: " If an ORB receives a non-standard system exception that it does not support, or a user exception that is not defined as part of the operation's definition, the exception shall be mapped to UNKNOWN. " to (OMG staff must assigne the next two available minor code for UNKNOWN to <j> and <k>): " If an ORB receives a non-standard system exception that it does not support, or a user exception that is not defined as part of the operation's definition, the exception shall be mapped to UNKNOWN, with minor code set to <j> for a system exception or set to <k> for a user exception. " Add the following new minor codes for the UNKNOWN system exception in table 4-1 Minor exception codes: " <j> non-standard System Exception not supported <k> User Exception not defined for operatin " Actions taken: October 26, 1999: received issue October 4, 2000: closed issue Discussion: End of Annotations:===== Sender: jis@fpk.hp.com Message-ID: <3815F5B0.B6318E68@fpk.hp.com> Date: Tue, 26 Oct 1999 14:40:48 -0400 From: Jishnu Mukerji Organization: Hewlett-Packard EIAL X-Mailer: Mozilla 4.08 [en] (X11; U; HP-UX B.11.00 9000/889) MIME-Version: 1.0 To: interop@omg.org, issues@omg.org Subject: Standard System Exception minor codes missing in Chapter 13 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: ~p@e9F[&!!<6W!!R