msxml: Fix parsing <.../> elements.

This commit is contained in:
Piotr Caban 2008-10-07 22:10:56 +02:00 committed by Alexandre Julliard
parent c801c18ad2
commit 1596a1acbf
1 changed files with 4 additions and 1 deletions

View File

@ -1040,7 +1040,10 @@ static void libxmlStartElementNS(
saxattributes *attr;
int index;
update_position(This, (xmlChar*)This->pParserCtxt->input->cur+1);
if(*(This->pParserCtxt->input->cur) == '/')
update_position(This, (xmlChar*)This->pParserCtxt->input->cur+2);
else
update_position(This, (xmlChar*)This->pParserCtxt->input->cur+1);
hr = namespacePush(This, nb_namespaces);
if(hr==S_OK && ((This->vbInterface && This->saxreader->vbcontentHandler)