You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Tankut Koray <tk...@aselsan.com.tr> on 2002/09/26 08:39:08 UTC

Cannot remove

Hi again,

Because I failed to update an attribute I want to replace that document. I tried

Resource rs = /* a resource  find using XPath */
col.removeResource(rs);
rs.setContent(newContent);
col.storeResource(rs);

But I fail at remove with errorCode = 1 and vendorCode 2071.

Any comments? Or how canI do this with setDocument in core api. 

One more think: what is the difference between core api and xmldb api. I guess xmldb using corba, than what?

Thanks,
TKoray