Este contenido no está disponible en el idioma seleccionado.
B.17.2.2. Unterminated attribute
- Symptom
- The following error occurs:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow error: (name_of_guest.xml):2: Unescaped '<' not allowed in attributes values <name>name_of_guest</name> --^
error: (name_of_guest.xml):2: Unescaped '<' not allowed in attributes values <name>name_of_guest</name> --^
- Investigation
- This snippet of a guest's XML file contains an unterminated element attribute value:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow <domain type='kvm> <name>name_of_guest</name>
<domain type='kvm> <name>name_of_guest</name>
In this case,'kvm'
is missing a second quotation mark. Strings of attribute values, such as quotation marks and apostrophes, must be opened and closed, similar to XML start and end tags. - Solution
- Correctly open and close all attribute value strings.