Strange, I had this bug during the dbXML days, and it had seemed to be solved 
some time ago... havent't looked recently though...


> -----Original Message-----
> From: Kimbro Staken [mailto:[EMAIL PROTECTED]
> Sent: 17 April 2002 19:55
> To: [EMAIL PROTECTED]
> Subject: Re: XUpdate and the '&' character
> 
> 
> This was forwarded to the xupdate-dev list and it looks like 
> it's a bug. 
> No word on a fix yet.
> 
> On Wednesday, April 17, 2002, at 03:19 AM, Jonathan R. Thorpe wrote:
> 
> > Hi!
> >
> >  
> >
> > I’m attempting to use XUpdate to update a node in our 
> Xindice database 
> > and I’m having the following problem:
> >
> >  
> >
> > I’m using the following XUpdate:
> >
> >  
> >
> > 
> <xu:modificationsversion="1.0"xmlns:xu="http://www.xmldb.org/xupdate";>
> >
> >             
> <xu:updateselect="//RootNode/TestNode">http://myserver.cgi?parameter1=
> > mine&parameter2=0</xu:update>
> >
> > </xu:modifications>
> >
> >  
> >
> > to update the contents of the node TestNode. When I query 
> the database to 
> > see whether the update has been successful I find that the 
> node text has 
> > been truncated from  the ‘&’  onwards i.e. it has been updated to 
> >  http://myserver.cgi?parameter1=mineand not 
> > http://myserver.cgi?parameter1=mine&parameter2=0as expected.
> >
> >  
> >
> > I’ve tried replacing the ‘&’ with ‘&amp;’ in the XUpdate 
> query to see if 
> > that makes any difference…and it doesn’t!
> >
> >  
> >
> > Can anybody suggest a way that I can update this node successfully?
> >
> >  
> >
> > Thanks in advance,
> >
> >  
> >
> > Jonathan Thorpe
> >
> > Sony BPRL
> >
> > Basingstoke
> >
> > UK
> >
> > ------------------------
> >
> >
> >
> > 
> **************************************************************
> ***********
> > The information contained in this message or any of its
> > attachments may be privileged and confidential and intended
> > for the exclusive use of the addressee. If you are not the
> > addressee any disclosure, reproduction, distribution or other
> > dissemination or use of this communication is strictly prohibited
> > 
> **************************************************************
> ***********
> >
> Kimbro Staken
> Java and XML Software, Consulting and Writing 
http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org

Reply via email to