Skip to main content

XML.NO_DTD

Error code XML.NO_DTD, raised by packages. Area: XML.

What it means​

  • The document has no DOCTYPE, so there is no DTD to check against
  • Cannot find the root element <…> to add the DTD before

What to do​

  • Give the DTD file in dtd_path, or turn off the DTD check.
  • Add a DOCTYPE to the document.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: XML NO_DTD no dtd