LPX-00100: root element ~1S does not match DTD root ~2s

LPX-00100: root element ~1S does not match DTD root ~2s

Cause: Validity Constraint 2.8 failed: The Name in the document type declaration must match the element type of the root element. *Example: lamp;lt;lamp;nbsp;?xml version= 1.0 ?lamp;gt; lamp;lt;lamp;nbsp; DOCTYPE greeting ( lamp;lt;lamp;nbsp; ELEMENT greeting (#PCDATA)lamp;gt; (lamp;gt; lamp;lt;lamp;nbsp;salutationlamp;gt;Hello lamp;lt;lamp;nbsp; or salutationlamp;gt; *Explanation: The document s root element, salutation, does not match the root element declared in the DTD (greeting).

Action: Correct the document.

No comments:

Post a Comment