Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

B.17.2.4. Typographical errors in tags

The following error message appears:
error: (name_of_guest.xml):1: Specification mandate value for attribute ty
<domain ty pe='kvm'>
XML errors are easily caused by a simple typographical error. This error message highlights the XML error — in this case, an extra white space within the word type — with a pointer.
<domain ty pe='kvm'>
These XML examples will not parse correctly because of typographical errors such as a missing special character, or an additional character:
<domain type 'kvm'>
<dom#ain type='kvm'>
To identify the problematic tag, read the error message for the context of the file, and locate the error with the pointer. Correct the XML and save the changes.