Kbase P126622: INITIALIZE-DOCUMENT-TYPE method with blank public-id or system-id produces invalid XML
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/7/2008 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.1x
All Supported Operating Systems
SYMPTOM(s):
Creating XML documents using DOM model
Using INITIALIZE-DOCUMENT-TYPE method to initialize document
Saving XML document
DTD declaration in XML looks like <!DOCTYPE myDoc PUBLIC "" "">
XML document can not be parsed
When parsing document using ABL, the following error occurs:
X-NODEREF or X-DOCUMENT LOAD got an error: FATAL ERROR: file '<filename>', line '2', column '29', message 'An exception occurred! Type:RuntimeException, Message:Could not open DTD file '''. (9082)
CAUSE:
Bug# OE00160328
FIX:
Upgrade to OpenEdge 10.1C or later release.
Workaround:
Modify the code to ensure that if an empty string would be passed for the INITIALIZE-DOCUMENT-TYPE public-id or system-id parameter, the UNKNOWN (?) value is passed instead