Consultor Eletrônico



Kbase P61338: Trying to parse XML document with external DTD, getting erro
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/19/2004
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0A

SYMPTOM(s):

Trying to parse XML document with external DTD

External DTD contains "<?xml version="1.0" encoding="UCS-2"?>" at the beginning of it

X-NODEREF or X-DOCUMENT LOAD got an error: file ..., line ..., column ..., message 'Invalid document structure'. (9082)

CAUSE:

The XML parser has a problem reading DTD documents which are encoded using UCS-2

FIX:

Until this parsing bug is fixed you should encode the external DTD document using some encoding other than UCS-2 (i.e. UTF-8)