E1:API SAX Parser Fails In 9.2.0.x Tools Release Level (Doc ID 2107529.1)

Last updated on AUGUST 02, 2017

Applies to:

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

Symptoms

Using the sample code supplied in the manual : JD Edwards EnterpriseOne Tools APIs and Business Functions Guide https://docs.oracle.com/cd/E24705_01/doc.91/e24234/working_with_apis.htm#EOTBF00042

C-API interface, XercesWrapper
The processing of SAX-parsed data items occurs within the callback functions.

We have an issue where the "same code" example compiled in E9.1 no longer works in E9.2. All callbacks work "except" XRCS_CALLBACK_CHARACTERS. This has stopped being called in E9.2.

For example, the code below never executes the callback function “cb_characters_Display”.

XRCSStatus = XRCS_setCallback(hParser, XRCS_CALLBACK_CHARACTERS,
  (void *) cb_characters_Display, (void *) pCbValues);
 if(XRCSStatus != XRCS_SUCCESS) {
  return -1;
 }


=====Working in E91 ======

START DOCUMENT
 ELEMENT:
  ELEMENT:
  CHARS: "123"
  END_ELM:
 END_ELM:
END DOCUMENT

=====Missing "CHARS:"  in E920=====

START DOCUMENT
 ELEMENT:
  ELEMENT:
  END_ELM:
 END_ELM:
END DOCUMENT

Changes

 Upgraded the Tools release from 9.1.x to 9.2.x

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