Kbase 21506: XML -- Error 9082 (Expected System or Public Id)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/6/2007 |
|
Status: Unverified
SYMPTOM(s):
Error: X-NODEREF or X-DOCUMENT LOAD got an error: FATAL ERROR: file 'somefile.xml', line '2', column '18', message 'Expected system or public id'. (9082)
Trying to load a XML Document
CAUSE:
This error is caused by an invalid DOCTYPE tag. Users new to XML might be confused by some XML books that show a screen print of Internet Explorer where Internet Explorer is displaying an XML document that contains a DOCTYPE tag.
Instead of showing the entire contents of the DOCTYPE tag, Internet Explorer displays something like the following:
<!DOCTYPE prices (View Source for full doctype...)>
Unfortunately this is confusing. This display can lead to the false conclusion that this is a valid DOCTYPE tag. It isn't. What it means to illustrate is that if you want to see the entire contents of the DOCTYPE tag, you need to select 'Source' from the 'View' menu so that Internet Explorer will display the raw, unformatted XML file.
FIX:
Correct your XML document so that the DOCTYPE tag contains structurally valid content.