Forward Slash Error (v10.01 Pro)

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

Forward Slash Error (v10.01 Pro)

Post by paulp575 »

I've just updated to version 10.01 PRO and am getting the following error:

Code: Select all

It appears that two (or more) consecutive forward slash characters ("//") were used in this URL where only one should have been used. This may cause problems in some browsers. Please check the link.
Here's the line that's causing the error:

Code: Select all

<a href="http://www.co.garfield.wa.us/sites/co.garfield.wa.us/files//ORD%2013868.pdf" target="_blank">Garfield County</a>
This is an XHTML strict document type (required by Google Maps API):

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Seems like this is not really an error. Aren't the two forward slashes are required?

Thanks,
paulp575
John Zeman
Rank III - Intermediate
Posts: 54
Joined: Sat Dec 11, 2004 2:17 pm

Re: Forward Slash Error (v10.01 Pro)

Post by John Zeman »

I would imagine the error is caused by the two slashes between "files" and "ORD%2013868.pdf"

files//ORD%2013868.pdf

John
paulp575
Rank IV - Intermediate
Posts: 170
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA

Re: Forward Slash Error (v10.01 Pro)

Post by paulp575 »

John Zeman wrote:I would imagine the error is caused by the two slashes between "files" and "ORD%2013868.pdf"

files//ORD%2013868.pdf

John
Oops!!! I was focusing on the first two slashes - didn't even see the second pair!
Unfortunately that's the exact URL from the web site so I'll just ignore the error (and get new glasses!).
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: Forward Slash Error (v10.01 Pro)

Post by Albert Wiersch »

paulp575 wrote:Oops!!! I was focusing on the first two slashes - didn't even see the second pair!
Unfortunately that's the exact URL from the web site so I'll just ignore the error (and get new glasses!).
I suspect it is an error on their part... it seems to also work when the double slash is removed:

http://www.co.garfield.wa.us/sites/co.g ... 013868.pdf
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

Re: Forward Slash Error (v10.01 Pro)

Post by paulp575 »

Albert Wiersch wrote: I suspect it is an error on their part... it seems to also work when the double slash is removed:

http://www.co.garfield.wa.us/sites/co.g ... 013868.pdf
Great! I'm going to remove the double slash - just one less error to look at!

Thanks,
paulp575