php and xml
Posted: Mon Nov 25, 2002 12:31 pm
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
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