[Expat-discuss] (no subject)
Karl Waclawek
karl at waclawek.net
Tue Oct 28 15:58:25 EST 2003
> Hello everbody,
>
> I'm using Expat 1.95.6 on Solaris 2.8. I'm making a stored procedure call
> to the database and retrieving data through cursors. After that I add xml
> tags to the all the data values which replace those special characters
> ("&"; "<"; ">"; "\""; "'";) to ones understood in xml world like (&,
> <, >, ", &apos). Then I use Expat to parse the values. But
> unfortunately, Expat is truncating the value from Anand's Battery
> Service into 's Anand Service and BRAKE & OIL into OIL in the
> following sample
>
> <TAG1>Anand's Battery Service</TAG1>
> <TAG2>BRAKE & OIL</TAG2>
>
> Can someone please explain how I need to get around this special character
> problem?
Works fine on Windows. No truncated content.
Are you saying it is truncating from the front?
Karl
More information about the Expat-discuss
mailing list