[RESOLVED] File Not Found Error

For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
Post Reply
paulp575
Rank IV - Intermediate
Posts: 170
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

[RESOLVED] File Not Found Error

Post by paulp575 »

Why is HTML Validator displaying the error message "File Not Found" for the first reference for item 6-81445. It's displaying the error for the first ocurrence of 6-81445. It should not be doing this as this is a comment. I have copied and pasted several lines before and after the line that is giving this error. Line that is giving the error is in bold.
<!-- LCS Serial Converter 2 (SER2) (6-81326) - Only needed for wifi
<span id="6-81326">LCS Serial Converter 2 (SER2)&nbsp;&nbsp;(6-81326)</span>
<br>
<a href="trains/modern/6-81326.jpg" onclick="NewWindow(this.href,'name','2020','1520','yes');return false;">
<img src="trains/modern/6-81326.jpg" alt="LCS Serial Converter 2 (SER2) image" title="LCS Serial Converter 2 (SER2) (click for larger image)" width="600" height="206">
</a>
<br>
<span class="TEXT-SIZE-10PT">(click for larger image)</span>
<br>
<span class="TEXT-SIZE-10PT">(USED FOR WHAT???????????????)</span>
<br><br>
-->

<!-- Maintenance of Way Command Control Tie-Jector (6-81445) -->
<span id="6-81445">Maintenance of Way Command Control Tie-Jector (6-81445)</span>
<br>
<a href="trains/modern/6-81445.jpg" onclick="NewWindow(this.href,'name','2020','1520','yes');return false;">
<img src="trains/modern/6-81445.jpg" alt="Maintenance of Way Command Control Tie-Jector image" title="Maintenance of Way Command Control Tie-Jector (click for larger image)" width="600" height="450">
</a>
<br>
<span class="TEXT-SIZE-10PT">(click for larger image)</span>
<br>
The <a href="#6-82092">Maintenance of Way Tie Work Car (6-82092)</a> carries additional track ties
<br><br>

<!-- BNSF Maxi-Stack Pair (6-81466) -->
<span id="6-81466">BNSF Maxi-Stack <span class="TEXT-BOLD">Pair</span> (6-81466)</span>
<br>
<a href="trains/modern/6-81466.jpg" onclick="NewWindow(this.href,'name','1992','363','yes');return false;">
<img src="trains/modern/6-81466.jpg" alt="BNSF Maxi-Stack Pair image" title="BNSF Maxi-Stack Pair (click for larger image)" width="600" height="104">
</a>
<br>
<span class="TEXT-SIZE-10PT">(click for larger image)</span>
<br><br>
It is not erroring on the line that shows the link to the jpg.
Last edited by paulp575 on Wed Jun 23, 2021 4:46 pm, edited 1 time in total.
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: File Not Found Error

Post by Albert Wiersch »

Hello Paul,

I cannot reproduce this with what you have provided.

It sounds like you are referring to a link checker error. In this case, when you double-click an error in the Links tab, it simply searches the document for the link. In this case it may highlight the match in a comment even though that is not the source of the problem. Simply double-click the link again or press F3 to go to the next match until you find the source of the link checker error.

Does this help? If not then please provide more information and a screenshot that shows the error you are asking about.

Thanks!
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
paulp575
Rank IV - Intermediate
Posts: 170
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

Re: File Not Found Error

Post by paulp575 »

Found the problem:

I stepped through the error until it showed where the actual error was.
It was much further down in the file where I was using

Code: Select all

<a href="6-81445">
which should have obviously been

Code: Select all

<a href="#6-81445">
(notice the missing pound sign at the beginning of the link?).

Changed that an the error has disappeared.

Sorry for the confusion. I didn't realize further down I was linking back to this item.
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: File Not Found Error

Post by Albert Wiersch »

Great. I'm glad you found where the actual error was. :)

Thank you for posting back and letting me know.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply