tags:

views:

81

answers:

2

In one of my XML's I have a code like this

<additional_text>.+</additional_text>

In the database it is stored as '.' but not '.+' Can anybody explain , Why is this happening?

+2  A: 

As I understand you correctly, you read an xml file, and put it in a database. And then the data is changed.

Either the reading, the internal processing or the writing is changing your data. Please use a debugger (if its your code) or read the documentation (if its not).

Gamecat
A: 

Maybe the '+' is a metacharacter in whatever software you are using.

SP
I think you are right. '+' is a meta character. The software I am using is Java, XML. so if i have to store '.+' in database using xml, how do I do it?
Sorry, but that doesn't help. What exactly do you mean by "a meta character"? How do you store XML in what database?