Legacy Issue Number: 4113
Source: hursley.ibm.com ( Simon Nash)
Section 220.127.116.11 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 18.104.22.168: "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 22.214.171.124 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 126.96.36.199 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