469,270 Members | 1,117 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

Error message: Start tag expected, '<' not found

Start tag expected, '<' not found

<?xml version="1.0" encoding="utf-8"?>

Can anyone help?
Sep 20 '10 #1
7 15608
8,651 Expert Mod 8TB
not without a code listing. what you have there is the XML prolog, that doesn’t count as tag
Sep 20 '10 #2
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>

Does that help?
Sep 21 '10 #3
8,651 Expert Mod 8TB
yes and no. do you have a link to the page?
Sep 21 '10 #4
2,057 Expert 2GB
What are you using to process the page? IE?
Sep 21 '10 #5

when you view source there is a space but in notepad ++ there is no space at the beggining.
Sep 22 '10 #6
I tried WDG HTML Validator and it says no errors. I'm not sure why one page says different.
Sep 22 '10 #7
2,057 Expert 2GB
My guess is there are extra bytes added by whatever application was originally used to edit it. Some apps can handle it, others can't. If you can delete this prolog using some other app, it will probably work.
Sep 22 '10 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Adam Smith | last post: by
5 posts views Thread by jose luis fernandez diaz | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.