homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

problem with xml created with asp
xml with asp

 1:03 pm on Jun 23, 2008 (gmt 0)

Hello all,

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.

help is appreciated




 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.


 2:04 pm on Jun 23, 2008 (gmt 0)

thanks for comment, can you please help me with a hex editor? I am not familiar with them.


 2:35 pm on Jun 23, 2008 (gmt 0)

That is any program that examines the file in a binary format.

I'm a Mac user, so I can't give any recommendations for Windows software.

I recommend that you Google "Hex Editor."

By the way, welcome to WebmasterWorld!


 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 :-(

Thanks again for your help and comments

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved