[RESOLVED] Internal Links "Not Found" (Validator Version 23.0400 Pro)

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
Post Reply
paulp575
Rank IV - Intermediate
Posts: 187
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

[RESOLVED] Internal Links "Not Found" (Validator Version 23.0400 Pro)

Post by paulp575 »

In the below document, the internal links are not found by HTML Validator.
In the Links tab the "Absolute URL" has what looks like some weird coding.
The "Message Window" is displaying:
File: N:\0 - EWAFA\Counties, Cities, Towns, School Districts\City and Town Meetings â Dates, Agendas, and Minutes.htm
Notice the weird character between Meetings and Dates.
What am I doing wrong?

Code: Select all

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" content="City & Town">
<meta name="description" content="City / Town Meetings – Dates, Agendas, and Minutes">
<title>City / Town Meetings – Dates, Agendas, and Minutes</title>

<style>
  body
  {
    FONT-SIZE: 12pt;
    FONT-FAMILY: Arial,helvetica,sans-serif;
    MARGIN: 10px;
    BACKGROUND-COLOR: #ffffff;                                  /* white */
  }

  A:LINK
  {
    FONT-SIZE: 12pt;
    FONT-FAMILY: arial,helvetica,sans-serif;
    COLOR: #0000ff;                                             /* blue */
    TEXT-DECORATION: none;
  }

  A:VISITED
  {
    FONT-SIZE: 12pt;
    FONT-FAMILY: arial,helvetica,sans-serif;
    COLOR: #000080;                                             /* navy */
    TEXT-DECORATION: none;
  }

  A:HOVER
  {
    FONT-SIZE: 12pt;
    FONT-FAMILY: arial,helvetica,sans-serif;
    COLOR: #0000ff;                                             /* blue */
    TEXT-DECORATION: underline;
  }

  A:ACTIVE
  {
    FONT-SIZE: 12pt;
    FONT-FAMILY: arial,helvetica,sans-serif;
    COLOR: #0000ff;                                             /* blue */
    TEXT-DECORATION: none;
  }

  *.FLOAT-RIGHT
  {
    FLOAT: right;
  }

  *.IMAGE-ALIGN-VERTICAL                                        /* Aligns e-mail addresses on page */
  {
    VERTICAL-ALIGN: -7px;
  }

  *.MARGIN-LEFT-10PX
  {
    MARGIN-LEFT: 10px;
  }

  table#CITY_TOWN
  {
    BORDER-COLLAPSE: collapse;
  }

  table#CITY_TOWN td
  {
    PADDING: .4em;
    BORDER: 1px solid black;
  }

  *.TABLE-CENTERED
  {
    MARGIN-LEFT: auto;
    MARGIN-RIGHT: auto;
  }

  *.TEXT-ALIGN-CENTER
  {
    TEXT-ALIGN: center;
  }

  *.TEXT-BOLD
  {
    FONT-WEIGHT: bold;
  }

  tr:nth-child(even)
  {
    BACKGROUND-COLOR: #f2f2f2;
  }
</style>

</head>

<body>

<h3 class="TEXT-ALIGN-CENTER TEXT-BOLD">City / Town Meetings &#8211; Dates, Agendas, and Minutes</h3>

<table class="FLOAT-RIGHT MARGIN-LEFT-10PX">
  <tr><td>(appropriate graphic)</td></tr>
</table>
(introductory text)
<br><br>

<div class="TEXT-ALIGN-CENTER"><span class="TEXT-BOLD">Note:</span> All links open in a new window.</div>

<div class="TEXT-ALIGN-CENTER TEXT-BOLD">Jump to city/town starting with:
  <a href="#A">A</a>&nbsp;&nbsp;
  <a href="#B">B</a>&nbsp;&nbsp;
  <a href="#C">C</a>&nbsp;&nbsp;
</div>

<table id="CITY_TOWN" class="TABLE-CENTERED">
  <tr>
    <td class="TEXT-BOLD">City/Town</td>
    <td class="TEXT-BOLD">Meets</td>
    <td class="TEXT-BOLD">Agendas</td>
    <td class="TEXT-BOLD">Minutes</td>
  </tr>
  <tr>
    <td><span id="A">Airway Heights</span></td>
    <td>Mon – 5:30 PM</td>
    <td colspan="2">
      <a href="https://cawh.org/city-council-minutes/" target="_blank">https://cawh.org/city-council-minutes/</a>
    </td>
  </tr>
  <tr>
    <td>Albion</td>
    <td>2nd &amp; 4th Tue – 6:00 PM</td>
    <td colspan="2">Not posted</td>
  </tr>
  <tr>
    <td>Almira</td>
    <td>2nd Tue – 7:00 PM</td>
    <td colspan="2">Not posted</td>
  </tr>
  <tr>
    <td>Asotin</td>
    <td>2nd &amp; 4th Mon – 5:30 PM</td>
    <td colspan="2">
      <a href="https://cityofasotin.org/asotin-city-hall/meeting-minutes-agenda-schedule/" target="_blank">https://cityofasotin.org/asotin-city-hall/meeting-minutes-agenda-schedule/</a>
    </td>
  </tr>
  <tr>
    <td><span id="B">Benton City</span></td>
    <td>1st &amp; 3rd Tue – 7:00 PM</td>
    <td colspan="2">
      <a href="https://www.ci.benton-city.wa.us/agendalist.aspx?categoryid=13049" target="_blank">https://www.ci.benton-city.wa.us/agendalist.aspx?categoryid=13049</a>
    </td>
  </tr>
  <tr>
    <td>Bingen</td>
    <td>1st &amp; 3rd Tue – 7:00 PM</td>
    <td colspan="2">
      <a href="https://www.bingenwashington.org/node/581/minutes-agendas" target="_blank">https://www.bingenwashington.org/node/581/minutes-agendas</a>
    </td>
  </tr>
  <tr>
    <td>Black Diamond</td>
    <td>1st &amp; 3rd Thu – 7:00 PM</td>
    <td colspan="2">
      <a href="https://www.blackdiamondwa.gov/home/pages/minutes-agendas" target="_blank">https://www.blackdiamondwa.gov/home/pages/minutes-agendas</a>
    </td>
  </tr>
  <tr>
    <td>Brewster</td>
    <td>3rd Thu – 6:00 PM</td>
    <td>Not posted</td>
    <td>
      <a href="https://cityofbrewsterwashington.org/council-minutes/" target="_blank"> https://cityofbrewsterwashington.org/council-minutes/</a>
    </td>
  </tr>
  <tr>
    <td>Bridgeport</td>
    <td>3rd Wed – 7:00 PM</td>
    <td>
      <a href="https://bridgeportwashington.net/cat_doc/city-council-agendas/" target="_blank">https://bridgeportwashington.net/cat_doc/city-council-agendas/</a>
    </td>
    <td>
      <a href="https://bridgeportwashington.net/cat_doc/city-council-meetings/" target="_blank">https://bridgeportwashington.net/cat_doc/city-council-meetings/</a>
    </td>
  </tr>
  <tr>
    <td><span id="C">Cashmere</span></td>
    <td>2nd &amp; 4th Mon - 6:00 PM</td>
    <td colspan="2">
      <a href="https://www.cityofcashmere.org/government/mayor-city-council/city-council-meetings" target="_blank">https://www.cityofcashmere.org/government/mayor-city-council/city-council-meetings</a>
    </td>
  </tr>
  <tr>
    <td>Chelan</td>
    <td>2nd &amp; 4th Tue – 6:00 PM</td>
    <td colspan="2">
      <a href="https://cityofchelan.civicweb.net/Portal/MeetingTypeList.aspx" target="_blank">https://cityofchelan.civicweb.net/Portal/MeetingTypeList.aspx</a>
    </td>
  </tr>
  <tr>
    <td>Cheney</td>
    <td>2nd &amp; 4th Tue – 6:00 PM</td>
    <td colspan="2">
      <a href="https://www.cityofcheney.org/agendacenter" target="_blank">https://www.cityofcheney.org/agendacenter</a>
    </td>
  </tr>
  <tr>
    <td>Chewelah</td>
    <td>1st &amp; 3rd Wed – 6:30 PM</td>
    <td colspan="2">
      <a href="https://www.cityofchewelah.org/meetings" target="_blank">https://www.cityofchewelah.org/meetings</a>
    </td>
  </tr>
  <tr>
    <td>Clarkston</td>
    <td>2nd &amp; 4th Mon – 7:00 PM</td>
    <td colspan="2">
      <a href="https://clarkston-wa.com/departments/city-clerk/#archive-row" target="_blank">https://clarkston-wa.com/departments/city-clerk/#archive-row</a>
    </td>
  </tr>
  <tr>
    <td>Colfax</td>
    <td>1st &amp; 3rd Mon - 7:00 PM</td>
    <td colspan="2">
      <a href="https://www.colfaxwa.org/city-council" target="_blank">https://www.colfaxwa.org/city-council</a>
    </td>
  </tr>
  <tr>
    <td>College Place</td>
    <td>2nd &amp; 4th Tue - 7:00 PM</td>
    <td colspan="2">
      <a href="https://go.boarddocs.com/wa/cocp/Board.nsf/Public" target="_blank">https://go.boarddocs.com/wa/cocp/Board.nsf/Public</a>
    </td>
  </tr>
  <tr>
    <td>Colton</td>
    <td>1st Mon - 7:30 PM</td>
    <td colspan="2">
      <a href="http://www.coltonwashington.us/your-government/town-hall/minutes/" target="_blank">http://www.coltonwashington.us/your-government/town-hall/minutes/</a>
    </td>
  </tr>
  <tr>
    <td>Colville</td>
    <td>2nd &amp; 4th Tue - 6:00 PM</td>
    <td colspan="2">
      <a href="https://www.colville.wa.us/agendalist.aspx?categoryid=13562" target="_blank">https://www.colville.wa.us/agendalist.aspx?categoryid=13562</a>
    </td>
  </tr>
  <tr>
    <td>Conconully</td>
    <td>1st &amp; 3rd Tue - 6:00 PM</td>
    <td colspan="2">Not posted</td>
  </tr>
  <tr>
    <td>Connell</td>
    <td>1st &amp; 3rd Wed - 6:00 PM</td>
    <td colspan="2">
      <a href="https://www.cityofconnell.com/agenda-minutes" target="_blank">https://www.cityofconnell.com/agenda-minutes</a>
    </td>
  </tr>
  <tr>
    <td>Coulee City</td>
    <td>2nd &amp; 4th Wed – 6:30 PM</td>
    <td colspan="2">
      <a href="https://couleecitywa.org/meeting-agendas" target="_blank">https://couleecitywa.org/meeting-agendas</a>>
    </td>
  </tr>
</table>
<br>
<div class="TEXT-ALIGN-CENTER">
  <span class="TEXT-BOLD">NOTE:</span> Dates and times subject to change. Contact city/town to confirm dates and times.
</div>
<br>

<div class="TEXT-ALIGN-CENTER">Page last updated: November 24, 2023</div>
<br>
</body>
</html>

NOTE: I am using Notepad++ to create the file.
Last edited by paulp575 on Mon Nov 27, 2023 5:36 pm, edited 1 time in total.
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3822
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Internal Links "Not Found" (Validator Version 23.0400 Pro)

Post by Albert Wiersch »

Hello Paul,

I'm sorry for the delay (due to the holiday and weekend).

The weird character could be due to an encoding issue. Make sure all your documents are UTF-8 and are being edited (and loaded and saved) as UTF-8 documents in your editor.

I do not see that link in the code you provided.

Can you send the document (via email attachment or ZIP file) containing that 'not found' link to support at htmlvalidator dot com?
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
paulp575
Rank IV - Intermediate
Posts: 187
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

Re: Internal Links "Not Found" (Validator Version 23.0400 Pro)

Post by paulp575 »

I sent you the correct document.
I am editing and saving it using Notepad++. Does that save it as a UTF-8 document.
I've done this same thing before and used Notepad++ and not had problems with HTML Validator not finding the internal links.

The problem is when I check the document it does not find the link to the internal "A", "B", and "C" (lines 114, thru 116).

HTML validator says it's not finding those jumps. They are on lines 127, 151, and 190.

Hope this helps.

Thanks.
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3822
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Internal Links "Not Found" (Validator Version 23.0400 Pro)

Post by Albert Wiersch »

paulp575 wrote: Mon Nov 27, 2023 11:04 am I sent you the correct document.
OK, thanks. I think I understand better now. What is the full filename of that document?
paulp575 wrote: Mon Nov 27, 2023 11:04 amI am editing and saving it using Notepad++. Does that save it as a UTF-8 document.
I've done this same thing before and used Notepad++ and not had problems with HTML Validator not finding the internal links.
I would think that it should be using UTF-8 if everything is configured properly, but I am not the developer of Notepad++ so can't say for sure, especially without knowing more details. Hopefully it tells you somewhere what encoding it is using for your documents.
paulp575 wrote: Mon Nov 27, 2023 11:04 amThe problem is when I check the document it does not find the link to the internal "A", "B", and "C" (lines 114, thru 116).

HTML validator says it's not finding those jumps. They are on lines 127, 151, and 190.
In this case it looks like the link checker is not finding the file... but if you send me the full filename of the source document (which you provided the source for above) then I can try to reproduce this issue. When I copied and pasted your HTML source and saved it to my own filename, I did not run into the problem you are reporting.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
paulp575
Rank IV - Intermediate
Posts: 187
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

Re: Internal Links "Not Found" (Validator Version 23.0400 Pro)

Post by paulp575 »

The full name of the file is: City and Town Meetings – Dates, Agendas, and Minutes.htm
Not that it probably matters, but it is located here: N:\0 - EWAFA\Counties, Cities, Towns, School Districts
I have many other HTML files on my personal website and use Notepad++ to create them and then check them with HTML Validator. This is the first time I'm seeing that specific error (never had that odd character in the filename before show up in the error message - see first quote in my initial post).

I just checked another file http://www.dog-walker.org/trains-modern.htm. It has the same internal link system. It checks out fine.

I'm wondering if it's because I'm using only one letter of the alphabet as the internal link?
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3822
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Internal Links "Not Found" (Validator Version 23.0400 Pro)

Post by Albert Wiersch »

Thank you. I'm rather sure that this is some type of encoding issue but I can't reproduce it (at least not yet).

I did notice that the hyphen character in "City and Town Meetings – Dates, Agendas, and Minutes.htm" is not your usual hyphen. I suspect that is not what you want and if you change it to the usual hyphen (ASCII character 45/2D) then I think it will fix the problem.

So please rename the file by deleting the current hyphen and re-typing it using the usual hyphen, then let me know if it fixes the issue.

Of course you'll have to change/update any links that point to the filename that you just renamed.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
paulp575
Rank IV - Intermediate
Posts: 187
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

Re: Internal Links "Not Found" (Validator Version 23.0400 Pro)

Post by paulp575 »

Yup; that fixed it.
For some reason when you type a hyphen in Windows filenames it has the habit of changing it from a short dash to a long dash.
I'll have to watch that in the future!
paulp575
VBprayer
Rank 0 - Newcomer
Posts: 1
Joined: Thu Mar 07, 2024 3:08 am

Re: [RESOLVED] Internal Links "Not Found" (Validator Version 23.0400 Pro)

Post by VBprayer »

Thank you so much for your detailed observation and suggestion. Your keen eye has likely pinpointed the root of the encoding issue we've been facing. I appreciate your proactive approach in troubleshooting.

I've made the adjustment to the filename as per your instructions, replacing the unusual hyphen with the standard ASCII character. I'll thoroughly test it to confirm if it resolves the problem.

Your guidance is invaluable, and I'll be sure to update any associated links accordingly. Once again, thank you for your prompt assistance in addressing this matter.
Post Reply