E1: API XRCS_serializeDocumentToXMLStringNoEncoding Replacing Colon With Underscore (Doc ID 2125985.1)

Last updated on APRIL 18, 2017

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

You are trying to use API XRCS_serializeDocumentToXMLStringNoEncoding. When providing a tag name or an attribute name which contains colon ":" or any special character, it gets replaced with underscore "_".

Similar issue found in related API's such as:
XRCS_serializeDocumentToFileWithEncoding_putDoubleQuotes
XRCS_serializeDocumentToFile

The same code is working fine in E91, but fails in E920

INCORRECT
======
<sh_ContactInformation><sh_Contact>Customer Contact Name<sh_EmailAddress>Customer Contact Name<sh_FaxNumber>+61 2 9467 1000<sh_TelephoneNumber>+61 2 9467 1000

CORRECT
======
Customer Contact NameCustomer Contact Name

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms