Module: wine Branch: master Commit: 1596a1acbf1bebde490d9f4d8d2d6470119d7a6a URL: http://source.winehq.org/git/wine.git/?a=commit;h=1596a1acbf1bebde490d9f4d8d...
Author: Piotr Caban piotr.caban@gmail.com Date: Tue Oct 7 22:10:56 2008 +0200
msxml: Fix parsing <.../> elements.
---
dlls/msxml3/saxreader.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index 72c66b5..94a7e1d 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -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)