Re: PHP XML CDATA Problem
Never seen that before. But, if you notice, it isn't changing both [ brackets. That would rule out any character encoding problems. To me, it seems that the only thing that could be doing this is how you are reading the XML file. Are you sure that there isn't some accidental string replacing?
Could you post your code so that we might be able to test it out as well?
Re: PHP XML CDATA Problem
Hi,
Thanks for the reply,
The problem has not occur for sometimes now.... the strange thing is I never make any changes to the code....
Anyway if the problem comes out again.... I'll try to contact you... I'm not sure if I can give you an exact copy of the script as our company is very strict with that....
Anyway....
Thanks much....
Re: PHP XML CDATA Problem
Try typing more of the CDATA segments, just empty, if it is messing with the XML, it should change all the CDATA blocks with that Y character.
I don't know whether or not it will give you an error because the extra block are there, or they are empty, but that's what I would do.