ntdll: Add support for abbreviated empty elements in manifests.

This commit is contained in:
Alexandre Julliard 2007-07-20 11:19:17 +02:00
parent a24f9cc101
commit 1207d9b593
1 changed files with 1 additions and 1 deletions

View File

@ -569,7 +569,7 @@ static BOOL next_xml_elem(xmlbuf_t* xmlbuf, xmlstr_t* elem)
}
xmlbuf->ptr = ptr;
while (ptr < xmlbuf->end && !isxmlspace(*ptr) && *ptr != '>')
while (ptr < xmlbuf->end && !isxmlspace(*ptr) && *ptr != '>' && (*ptr != '/' || ptr == xmlbuf->ptr))
ptr++;
elem->ptr = xmlbuf->ptr;