Consultor Eletrônico



Kbase P16946: Error 9082 (Unknown element) when attempting to load an XML document and requesting validation durin
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

Progress 9.1C
Progress 9.1D

SYMPTOM(s):

Attempting to load an XML document using the LOAD method

The LOAD method is requesting that validation be performed

X-NODEREF or X-DOCUMENT <method-name> got an error: <xml-exception>. (9082)

X-NODEREF or X-DOCUMENT LOAD got an error: ERROR: file 'x.xml', line 'n', column 'n', message 'Unknown element 'x'. (9082)

CAUSE:

An updated XML parser was implemented and this parser is much more strict when validating XML documents.

XML documents come in two flavors, well formed and valid. Well formed is what you see when the XML document is loaded into Internet Explorer. Valid requires a DTD and an instance that conforms to it. A document without a DTD can not be validated or considered valid so error 9082 will be generated when attempting to load a document which does not contain a DTD and validation was requested on the LOAD statement.

FIX:

Either correct the XML document so that it contains a DTD reference or turn off validation on the LOAD method.