php and xml

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Julia Brough
Forum Newbie
Posts: 1
Joined: Mon Nov 25, 2002 12:31 pm
Location: UK

php and xml

Post by Julia Brough »

Hi

I have a problem reading in xml using the php xml handlers. Sometimes when reading in the data, it seems to get 'chopped up'. So input data:

<NAME>Jane Green</NAME>

Can become 'J' and 'ane Green' or split anywhere you like! If running the same input file on different machines (windows (my test system) and unix (isp m/c)) then the places where the data gets corrupted are different, but on a machine the corruption is always at the same point. I have checked the data for corruption by looking at it with a hex editor, but can see nothing in the immediate area.

Can anyone either tell me what the problem is, or give me a start point to start looking.

TIA
Julia
Post Reply