• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

unexpected end of file

New Here ,
Nov 05, 2017 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?

Views

979

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
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 05, 2017 Nov 05, 2017

HTML comments look like this.

<!--VALID COMMENT-->

Votes

Translate

Translate
Community Expert ,
Nov 05, 2017 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ā€” Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

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
community guidelines
New Here ,
Nov 05, 2017 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">

Votes

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
community guidelines
Community Expert ,
Nov 05, 2017 Nov 05, 2017

Copy link to clipboard

Copied

HTML comments look like this.

<!--VALID COMMENT-->

Nancy O'Sheaā€” Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

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
community guidelines
New Here ,
Nov 05, 2017 Nov 05, 2017

Copy link to clipboard

Copied

LATEST

OK !

Thanks Nancy,  for your help! Now works.

Votes

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
community guidelines