Msg#: 3681393 posted 1:03 pm on Jun 23, 2008 (gmt 0)
I have a asp file, which creates a xml file as output. Everything is ok, but when I try to evaluate my xml, it seems to have extra characters in it. When I open the xml file with frontpage, and save it, the file size reduces very much but the look and content does not change, and then it evaluates ok.
The xml file is unicode and it is a rss xml file.
anyone has any ideas? the code is very basic and simple in VB.
Msg#: 3681393 posted 1:37 pm on Jun 23, 2008 (gmt 0)
Don't know diddly about ASP, but it's pretty obvious that your file is being saved with hidden characters. It could be as simple as using \r\n line endings, when you should be using \n. I don't know anything about your environment, but this should give you something to look at.
Examine the file with a hex editor, and look for unwanted guests.
Msg#: 3681393 posted 9:08 am on Jun 24, 2008 (gmt 0)
will search. Thanks. But the main problem is where does these extra characters come from and what makes reader programs and sites to find my file with extra characters? what happens when I save it with MS frontpage? Seems like I have to search on the net myself :-(