Highlighted

unexpected end of file

New Here ,
Nov 05, 2017

Copy link to clipboard

Copied

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?

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

HTML comments look like this.

<!--VALID COMMENT-->

TOPICS
Dreamweaver CC 2014, Dreamweaver FTP

Views

541

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

unexpected end of file

New Here ,
Nov 05, 2017

Copy link to clipboard

Copied

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?

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

HTML comments look like this.

<!--VALID COMMENT-->

TOPICS
Dreamweaver CC 2014, Dreamweaver FTP

Views

542

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 05, 2017 0
Adobe Community Professional ,
Nov 05, 2017

Copy link to clipboard

Copied

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

CC-BugReport.jpg

CC-validate-doc.jpg

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 05, 2017 0
New Here ,
Nov 05, 2017

Copy link to clipboard

Copied

the result is :reportDW.jpg

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">

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 05, 2017 0
Adobe Community Professional ,
Nov 05, 2017

Copy link to clipboard

Copied

HTML comments look like this.

<!--VALID COMMENT-->

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 05, 2017 2
New Here ,
Nov 05, 2017

Copy link to clipboard

Copied

OK !

Thanks Nancy,  for your help! Now works.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 05, 2017 0