E1: BSFN: How to Disable DOCTYPE Check When Importing XML File Using Xerces API XRCS_parseXMLFile() ?

(Doc ID 2308942.1)

Last updated on SEPTEMBER 19, 2017

Applies to:

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

Goal


Customer is using API XRCS_parseXMLFile in a custom C business function (bsfn) to import XML data into a custom JDE table. The bsfn only works if the DOCTYPE declaration in the xml file is removed.

The DOCTYPE declaration points to a .dtd file stored within an https link; if they download the .dtd file to a local directory and run the bsfn against the XML, it runs fine. Is there any way to disable the DOCTYPE check for the Xerces parser?
 

Solution

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