Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > 6709f41e1c9c0ac6e610e609c299d4fb > files > 23

libxml2-2.6.26-2.1.12.el5_7.2.src.rpm

commit 65fcf27ab80cdc7299daa9b19097965026616479
Author: Daniel Veillard <veillard@src.gnome.org>
Date:   Wed Jul 11 17:55:30 2007 +0000

    applied patch for xsi:nil from Frank Gross, this should fix bug #358125
    
    * xmlschemas.c: applied patch for xsi:nil from Frank Gross, this
      should fix bug #358125
    Daniel
    
    svn path=/trunk/; revision=3643

diff --git a/xmlschemas.c b/xmlschemas.c
index f3d0278..f38cdc3 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -25951,7 +25951,7 @@ xmlSchemaValidatorPopElem(xmlSchemaValidCtxtPtr vctxt)
 	    xmlRegExecNextValues(inode->regexCtxt,
 		&nbval, &nbneg, &values[0], &terminal);
 	    ret = xmlRegExecPushString(inode->regexCtxt, NULL, NULL);
-	    if (ret <= 0) {		
+	    if ((ret<0) || ((ret==0) && (!INODE_NILLED(inode)))) {
 		/*
 		* Still missing something.
 		*/