Kbase P137328: WRITE-XML doesn't escape invalid XML characters in data
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/4/2011 |
|
Status: Verified
SYMPTOM(s):
WRITE-XML doesn't escape invalid XML characters in data
WRITE-XML creates invalid XML file, generating error message: FATAL ERROR: Invalid character (Unicode: 0x11)
WRITE-XML creates invalid XML file
Checking if XML file is well formed is not successful
FATAL ERROR: Invalid character (Unicode: 0x11)
FATAL ERROR: Invalid character (Unicode: 0x0b)
WRITE-XML doesn't escape special characters in data
FACT(s) (Environment):
Character is valid in UTF-8
XML file is generated
All Supported Operating Systems
OpenEdge 10.1x
CAUSE:
Bug# OE00177589
FIX:
To workaround this issue try writing to a LONGCHAR variable and replacing instances of known characters with their hex value then use COPY-LOB to output to a file.