Skip to content Skip to sidebar Skip to footer

Xml Validation Fails With Error "top Level Is Not Completed"

I've got what seems like a very simple example of an xsd and xml file where the xml file does not validate. Copies of the two files are below. The first xml element with id = 'fixM

Solution 1:

An XML document cannot be valid until it is well-formed.

So you should specify a root tag in XML document, e.g.:

<root>
    <question id="fixMe" />
    <question idx="ok"/>
    <question />
</root>

Post a Comment for "Xml Validation Fails With Error "top Level Is Not Completed""