HTML DOCTYPE Syntax error -


I get the following syntax error in firebug and I do not get it:

  Gt; Syntax error [break this error] & gt; & Lt ;! DOCTYPE HTML PUBLIC "- // W3C // DTDXHT ... org / TR / xhtml1 / dTD / xhtml1-strict.dtd" & gt; \ N  

The reason for this is the last "\ n" in the end?

Thank you

ps I realized that if I remove all the scripts, then I do not get this error. For example, if I remove these lines, then I do not get it. If I add another script then I get it again, so it does not depend on the script.

  & lt; Script type = "text / javascript" src = " 

Code:

  & lt ;? Php // $ id: page.tpl.php, v 1.28.2.1, 2009-04-30 00:13: 31 Geba Exp $? & Gt; & Lt ;! DOCTYPE HTML PUBLIC "- // W3C // DTD XHTML 1.0 Stronger // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" lang = "& lt ;? php print $ language-> language? & Gt;" Xml: lang = "& lt ;? php print $ language- & gt; language? & Gt;" Dir = "& lt ;? Php Print $ language- & gt; Dior? & Gt;" & Gt; & Lt; Top & gt; & Lt ;? Php print $ head? & Gt; & Lt; Title & gt; & Lt ;? Php print $ head_title? & Gt; & Lt; / Title & gt; & Lt ;? Php print styles? & Gt; & Lt ;? Php Print $ script? & Gt; & Lt; Script type = "text / javascript" src = "& lt ;? php echo $ base_url ;? & gt; sites / all / themes / bluemirin / js / men.js" & gt; & Lt; / Script & gt; & Lt ;! - & lt; Script type = "text / javascript" src = "& lt ;? php echo $ base_url ;? gt; site / all / themes / bluemir / js / grid-min. Js" & gt; & Lt; / Script & gt; - & gt; & Lt; / Head & gt; & Lt; Body & gt; ...  

, blogged about this issue explained

The error comes from firebug, there is no error in breaking this error, but this firebug is in the copy dump ....

syntax error [ Break this error]

The way I encountered it was the error that I forgot to specify a src attribute value for my script tag!

& lt; Script type = "text / javascript" src = "" & gt; & Lt; / Script & gt;

Here it is.


Comments