rem: if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH)) && soap->part != SOAP_IN_HEADER)
add: if (soap->mode & SOAP_XML_TREE) return id; if (soap->version == 1 && soap->encodingStyle && !(soap->mode & SOAP_XML_GRAPH) && soap->part != SOAP_IN_HEADER)
context: soap_embedded_id(struct soap *soap, int id, const void *p, int t){ struct soap_plist *pp;  DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded_id %p type=%d id=%d\n", p, t, id));  if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH)) && soap->part != SOAP_IN_HEADER)  { if (id < 0)    { id = soap_pointer_lookup(soap, p, t, &pp);      if (id > 0 && pp)      { if (soap->mode & SOAP_IO_LENGTH)          pp->mark1 = 2;        else          pp->mark2 = 2;      }      return -1;    }    return id;  }  if (id < 0)    id = soap_pointer_lookup(soap, p, t, &pp);  else    soap_pointer_lookup(soap, p, t, &pp);  if (id > 0 && pp)  { if (soap->mode & SOAP_IO_LENGTH)      pp->mark1 = 1;    else      pp->mark2 = 1;  DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Embedded_id id=%d %p type=%d = (%d %d)\n", id, p, t, (int)pp->mark1, (int)pp->mark2));  }  return id;}