[Devel] OpenSER - Presence Module: SQL Server Database (unixodbc)

Gabor Pierpont Gabor.Pierpont at indicia.nl
Thu Mar 8 13:17:19 CET 2007


Help needed,

I am trying to use:
OpenSER 1.2 - Presence Module
SQL Server Database 2005 (unixodbc)

When trying to update presentity and storing XML in the body column will
fail.
My XML contains single quotes which will result in a query like:

insert into presentity (col1, col2, col3)  VALUES  ( ' value1 ', '
value2 ' , ' xmlstring with ' charaters ' to test with' ' )

As you can see this will fail.
Can anyone suggest a solution?

> Met vriendelijke groet,
> 
> 
> Gabor Pierpont
>  
> Indicia Nederland B.V.
> Spoorlaan 366
> 5038 CD Tilburg
> Postbus 169
> 5000 AD Tilburg
> Tel. +31 (0)13 5 810 666
> Fax +31 (0)13 5 810 663
> Internet: http://www.indicia.nl
> E-mail: gabor.pierpont at indicia.nl
> Inschrijfnummer Kamer van Koophandel: 18044891
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> -------------------------------- 
> De informatie verzonden met dit E-mail bericht is uitsluitend bestemd
> voor de geadresseerde. Gebruik van deze informatie door anderen dan de
> geadresseerde is verboden. Openbaarmaking, vermenigvuldiging,
> verspreiding en/of verstrekking van deze informatie aan derden is niet
> toegestaan. Indicia Nederland B.V. staat niet in voor de juiste en
> volledige overbrenging van de inhoud van een verzonden E-mail, noch
> voor tijdige ontvangst daarvan.
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------------------------------
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20070308/c3727582/attachment.html


More information about the Devel mailing list