Part of expression is always false
./xmlschemas.c:11120-11156
if (bucket->origTargetNamespace != NULL) {
....
} else if (pctxt->targetNamespace != NULL) {
/*
* Chameleons: the original target namespace will
* differ from the resulting namespace.
*/
isChameleon = 1;
if (bucket->parsed &&
bucket->origTargetNamespace != NULL) { //this pointer can't be non NULL here
There seems to be a logical error here. In the else branch, part of the condition contradicts the expression
Found by RASU JSC with SVACE static analyzer
Edited by Maxim Korotkov