LPX-00100 root element “string” does not match DTD root “string”

Cause: Validity Constraint 2.8 failed:



"The Name in the document type declaration must match the element type of the root element."


<?xml version="1.0"?>
<!DOCTYPE greeting [ <!ELEMENT greeting (#PCDATA)> ]>
<salutation>Hello!</salutation>





The document's root element, salutation, does not match the root element declared in the DTD (greeting).

Action: Correct the document.

Solution doesn't works for you?
POST your error in our discussion panel below.
Our DBA team will be happy to help you :)
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments