Issue 6052: Any string content clarification (deployment-ftf) Source: Zuehlke Engineering (Mr. Frank Pilhofer, fpilhofer2008(at)gmail.com) Nature: Uncategorized Issue Severity: Summary: According to section 9.5.6, "the SimpleValue element is used for primitive values, enum values and object references. Its value attribute contains a stringified representation of the primitive value." It goes on, "for char, wchar, string, wstring types, the value attribute holds an unquoted literal (i.e. no single or double quotes, and no leading L prefix) that conforms to the IDL syntax and semantics chapter." This was intended to allow inclusion of escaped characters such as \x0d. However, that is unnecessary, as XML is perfectly able to process Unicode and escape arbitrary (and markup) characters in itself, such as 
 Proposed resolution: Replace the 10th sentence of the first paragraph of section 9.5.6, For char, wchar, string, wstring types, the value attribute holds an unquoted literal (i.e. no single or double quotes, and no leading L prefix) that conforms to the IDL syntax and semantics chapter. to read For the char and wchar types, the value attribute holds a string of length 1. Resolution: Revised Text: Actions taken: August 12, 2003: received issue Discussion: End of Annotations:===== Subject: Any string content clarification Date: Tue, 12 Aug 2003 16:29:55 -0400 Thread-Topic: Any string content clarification Thread-Index: AcNhEH3CnY6V0eXeReyGc+GYMG4efQ== From: "Pilhofer, Frank" To: Cc: X-MIME-Autoconverted: from quoted-printable to 8bit by amethyst.omg.org id h7CKTgkG021137 According to section 9.5.6, "the SimpleValue element is used for primitive values, enum values and object references. Its value attribute contains a stringified representation of the primitive value." It goes on, "for char, wchar, string, wstring types, the value attribute holds an unquoted literal (i.e. no single or double quotes, and no leading L prefix) that conforms to the IDL syntax and semantics chapter." This was intended to allow inclusion of escaped characters such as \x0d. However, that is unnecessary, as XML is perfectly able to process Unicode and escape arbitrary (and markup) characters in itself, such as Proposed resolution: Replace the 10th sentence of the first paragraph of section 9.5.6, For char, wchar, string, wstring types, the value attribute holds an unquoted literal (i.e. no single or double quotes, and no leading L prefix) that conforms to the IDL syntax and semantics chapter. to read For the char and wchar types, the value attribute holds a string of length 1