10 responses to “syntax error [Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML…3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">”

  1. David

    This is not just if your javascript src is blank. It apparently occurs any time you link to a javascript file that does not exist.

  2. AlekzZz

    Thanx a lot man… i was trying to catch this error on a 2500 lines long form… it was crazy.

  3. Scott Hoff

    I agree! This really helped me a lot. Thanks for the post.

  4. Lars

    Thank you! This is really a dodgy error!

    The cause here was, that i referenced a file via src twice in a document!

  5. Marc St-Jacques

    Impressive. I was just starting with a bare-boned template when this error occurred. It drove me crazy.

    This error also occurs on the WebDevelopper plugin and Transitionnal DTD.

    Thanks.

  6. Mike Gioia

    Thanks so much, this was driving me nuts!

  7. Andy

    Thank you so much, this really help
    i never thought that empty ’src’ was the root of this mess :)

  8. dude

    This error appear also when your src=”" points to not existing javascript.

  9. Yves

    Thanks a lot for helping!
    I thought it was a firebug bug :-)

  10. Deter

    Many thanks for this!

Leave a Reply