Re: [bdbxml] Modifier query
John Snelson <[email protected]> Fri, 02 Sep 2005 16:39:12 +0100
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Antony, This error only occurs when you try to make a modification to a value that isn't a node. However, this could be a value selected by the expression you pass to the XmlModify::addAppendStep() method, not just the value that you pass into XmlModify::execute() - so maybe that is your problem? John Antony Grinyer wrote: > Hi, > > I'm trying to do a simple modification query using the 'addAppendStep' > method of the DB XML modifier API. I've used this successfully in the > past, however for a recent implementation, I keep getting this error: > > Error: XmlModify::execute: Cannot perform a modification on an XmlValue > that isn't either Node or Document type, errcode = INVALID_VALUE, error > code 0 > > Does anyone know what this means? The XmlValue which is passed to the > addAppendStep method is a simple well-formed document...I'm not sure why > this isn't working when it has worked before. The errcode = > INVALID_VALUE suggests that XML passed into the addAppendStep is > invalid, but I can't see how as it's a simple well formed instance? Am I > missing something here? > > Any advice/help well very appreciated? > Thanks, > Ant > > > > > ------------------------------------------ > To remove yourself from this list, send an > email to [email protected] > -- John Snelson, Berkeley DB XML Engineer Sleepycat Software, Inc http://www.sleepycat.com Contracted to Sleepycat through Parthenon Computing Ltd http://blog.parthcomp.com/dbxml ------------------------------------------ To remove yourself from this list, send an email to [email protected]