tolerant notif request handling -- ignore unknown elements
authorAleš Křenek <ljocha@ics.muni.cz>
Tue, 10 Mar 2009 07:31:58 +0000 (07:31 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Tue, 10 Mar 2009 07:31:58 +0000 (07:31 +0000)
org.glite.lb.server/src/lb_xml_parse.c.T

index 39a06dd..d454af6 100644 (file)
@@ -370,8 +370,6 @@ static void startNotifRequest(void *data, const char *el, const char **attr)
                case 1: if (!strcasecmp(el,"and")) {
                                XMLCtx->jobQueryRec_begin = XML_GetCurrentByteIndex(XMLCtx->p);
                        }
-                       else if ( (strcasecmp(el,"notifId")) && (strcasecmp(el,"clientAddress")) && 
-                               (strcasecmp(el,"notifChangeOp")) ) unexp()
                        break;
                case 2: /* fall through */
                case 3: /* do not check xml tags, processed in startJobQueryRec */