471,573 Members | 1,442 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,573 software developers and data experts.

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 16949
8,656 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,656 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
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.