Consultor Eletrônico



Kbase P103785: X-NODEREF or X-DOCUMENT LOAD got an error: FATAL ERROR: file 'MEMPTR', line '1', column '19', messag
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/05/2005
Status: Unverified

SYMPTOM(s):


X-NODEREF or X-DOCUMENT LOAD got an error: FATAL ERROR: file 'MEMPTR', line '1', column '19', message 'Entity 'euml' was not found'. (9082)

Embedding HTML text (e.g. 'ë') into an XML node results in error 9082

Parsing the XML text with the LOAD method results in error 9082

CAUSE:


The parser thinks that '&euml' is a predefined entity reference like '&amp' or '&apos', and so is trying to evaluate it. Since it isn't a predefined reference (it is a HTML representation of a character) the error appears.

FIX:

Replace the HTML representation of the character with its actual literal value.

Alternatively, embed the HTML characters in the CDATA section of the XML node, or define the character as an entity reference in the DTD.