[xml] bug fix



I'm unable to access bugzilla from behind our MSPROXY, so I hope I can post patches here...

This makes the code agree with the comments, and in this case, I think the comments
were right, and the code wrong...

diff -bruw libxml2-2.6.10-orig/parser.c libxml2-2.6.10/parser.c
--- ./libxml2-2.6.10/parser.c   2004-05-14 23:49:20.000000000 +0200
+++ /prj/ProjectorXML/libxml2-2.6.10/parser.c 2004-06-11 15:25:57.587713600 +0
200
@@ -9057,7 +9057,7 @@
               if (!terminate) {
                   if (ctxt->progressive) {
                       /* > can be found unescaped in attribute values */
- if ((lastlt == NULL) || (ctxt->input->cur >= lastlt)) + if ((lastgt == NULL) || (ctxt->input->cur >= lastgt))
                           goto done;
} else if (xmlParseLookupSequence(ctxt, '>', 0, 0) < 0) {
                       goto done;

_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.click-url.com/go/onm00200362ave/direct/01/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]