logo       

Re: single character values are not saved: msg#00189

text.xml.exist

Subject: Re: single character values are not saved

Hi,

you are probably using the 1.0b1 release? The described bug has been fixed
quite some time ago. Please try a recent development snapshot to see if the
problem still exists.

Wolfgang

> Tag/value pairs where the value was one character long were saved as empty
> tags to the database. XML files were read from a folder on the computer
> into the database via the database client interface - a feature of the
> database management system. Tags which had one character as their value
> were seen as empty tags by the database. For example the tag/value pair
> ‘<semester>2</semester>’ after being read and written into the database,
> when retrieved and viewed in the database was stored as <semester/>. This
> problem was avoided by storing the line as <semester>2 </semester>, where
> the value consisted of the desired character concatenated with a space.
> Hence it was effectively two characters. When this was read from the
> database the space was not recorded and only the character ‘2’ formed the
> value corresponding to the tag. Hence the tag was stored as it was
> intended, that is as ‘<semester>2</semester>’.
>
> Regards
> Aba


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise