Kbase P113906: Invalid character when parsing XML document
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  02/03/2006 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.x
SYMPTOM(s):
Invalid character when parsing XML document.
Loading document using instruction: lhXmlDoc:LOAD("memptr", smMemptrDoc, FALSE).
X-NODEREF or X-DOCUMENT LOAD got an error: FATAL ERROR: file 'MEMPTR', line '1', column '2791', message 'Invalid character (Unicode: 0x7)'. (9082)
X-NODEREF or X-DOCUMENT <method-name> got an error: <xml-exception>. (9082)
XML document's encoding specification is "UTF-8".
Document can't be read by MS Internet Explorer.
Changing the XML document's encoding to "iso-8859-1" make it readable.
CAUSE:
XML document has the wrong encoding. There are invalid characters in the document for the specified encoding.
FIX:
XML document source must be fixed to create documents that use the right character set.
Other way to validate the incoming documents is by using MS Internet Explorer or other XML tools like XMLSpy.