Skip to main content
bossolif46121876
Participant
November 5, 2017
Answered

unexpected end of file

  • November 5, 2017
  • 1 reply
  • 1285 views

Hi I have make one site with DW one years ago. Now I have open the template for create a new file but the system response is  <<" There is an error at line 307 column 8 (absolute position 17264) of F:template.dwt" : unexpected end of file.>> At the line 307 is only last tag </html>. I have controlled the file with BlockNote, but dont I see error. Who can help me?

This topic has been closed for replies.
Correct answer Nancy OShea

HTML comments look like this.

<!--VALID COMMENT-->

1 reply

Nancy OShea
Community Expert
Community Expert
November 5, 2017

Try running the Template through code validation.  The code errors are likely above line 307.

Nancy O'Shea— Product User & Community Expert
bossolif46121876
Participant
November 5, 2017

the result is :

The document is not mappable to XML 1.0 due to two consecutive hyphens in a comment.  [html5]]   ( the comments)

Saw <!-- within a comment. Probable cause: Nested comment (not allowed).  [html5]    another comment

The navigation role is unnecessary for element nav .  [html5] ? <nav class="navbar navbar-default navbar-static-top tm_navbar clearfix" role="navigation">

Article lacks heading. Consider using h2 - h6 elements to add identifying headings to all articles.  [html5]]  ? <article class="slider">

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
November 5, 2017

HTML comments look like this.

<!--VALID COMMENT-->

Nancy O'Shea— Product User & Community Expert