Legacy Issue Number: 4113
Source: hursley.ibm.com ( Simon Nash)
Section 22.214.171.124 of the CORBA 2.3 spec, which describes the CDR encoding
of strings, includes the following sentence in the first paragraph:
"Both the string length and contents include a terminating null."
It is not clear from this whether exactly one terminating null is required,
or whether more than one null can be included, with the string being terminated
by the first null.
Since IDL strings cannot include nulls (see 126.96.36.199: "OMG IDL defines the string
type string consisting of all possible 8-bit quantities except null"), any
additional nulls following the first terminating null cannot be part of the
string, and it therefore seems reasonable to ignore them.
Change the above sentence in section 188.8.131.52 to:
"Both the string length and contents include at least one terminating null."
Also make the same change to the corresponding sentence in the third paragraph
of section 184.108.40.206 describing GIOP 1.1 wide strings.
Reported: CORBA 2.4.1 — Fri, 8 Dec 2000 05:00 GMT
Disposition: Resolved — CORBA 2.5
To close with clarification revision
Updated: Fri, 6 Mar 2015 20:58 GMT