msxml3: Fix position computation in libxmlStartElementNS.
This commit is contained in:
parent
401f6725d5
commit
de91f264cb
|
@ -1229,12 +1229,12 @@ static void libxmlStartElementNS(
|
||||||
saxattributes *attr;
|
saxattributes *attr;
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
if(This->saxreader->version >= MSXML6)
|
index = 0;
|
||||||
update_position(This, NULL);
|
if(*(This->pParserCtxt->input->cur) == '/')
|
||||||
else if(*(This->pParserCtxt->input->cur) == '/')
|
index++;
|
||||||
update_position(This, (xmlChar*)This->pParserCtxt->input->cur+2);
|
if(This->saxreader->version < MSXML6)
|
||||||
else
|
index++;
|
||||||
update_position(This, (xmlChar*)This->pParserCtxt->input->cur+1);
|
update_position(This, (xmlChar*)This->pParserCtxt->input->cur+index);
|
||||||
|
|
||||||
hr = namespacePush(This, nb_namespaces);
|
hr = namespacePush(This, nb_namespaces);
|
||||||
if(hr==S_OK && has_content_handler(This))
|
if(hr==S_OK && has_content_handler(This))
|
||||||
|
|
Loading…
Reference in New Issue