navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Help needed with W3C validation error

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Accessibility >> Help needed with W3C validation error
Page: [1]
 
BF

 

Posts: 1
Joined: 8/1/2006
Status: offline

 
Help needed with W3C validation error - 8/1/2006 16:36:27   
Can anyone help with the following validation error I am getting when I try to validate one of my FP sites using http://validator.w3.org/ ....

the site is:- www.cyprusvillawithpool.com

and the validation error is:-

Sorry, I am unable to validate this document because on line 42, 94 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.

The problems:-

1. what does it mean by line 42?
2. what is it complaining about?
3. how do I fix it

Thanks!
BF
quote:

womble

 

Posts: 5614
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Help needed with W3C validation error - 8/1/2006 17:09:13   
Line 42 means there's an error in line 42 of the code for the page. If you take a look in either 'code' or 'split' view in FP hopefully you should be able to see what might be causing the error. It sounds like you've got a character entity or special symbol in there that's not a recognised character entity. Once you've identifed where the problem is then you should be able to find the correct character entity to replace it. Fileformat.Info is a good site for finding the correct character entities.

I'm not sure quite which line it's complaining about because my firewall's inserting a pop-up blocking script that's messing up the formatting when I try and view the source.

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to BF)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Help needed with W3C validation error - 8/1/2006 18:19:20   
For reasons I don't quite understand because it's meant to detect these things automatically, the validator isn't recognising your character encoding automatically. If you specifically choose the right encoding then you still get some errors I'm afraid but at least they're the right errors (if you see what I mean)

http://validator.w3.org/check?uri=www.cyprusvillawithpool.com&charset=windows-1252&doctype=Inline&verbose=1

edit: it's still giving odd errors - never seen it do that before.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to womble)
jaybee

 

Posts: 14176
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Help needed with W3C validation error - 8/1/2006 19:02:53   
There's a bullet on line 42 that it doesn't like.

<TD><!--WEBBOT bot="Include" U-Include="includes/global.htm" TAG="BODY" startspan -->
&bull; <a href="index.html">HOME</a> &bull; <A href="contact.htm">CONTACT US</A> 
•

<!--webbot bot="Include" i-checksum="10990" endspan --></TD>
The two on line 41 appear in the source as &bull; but the other one on 42 appears as a bullet.

< Message edited by jaybee -- 8/1/2006 19:11:05 >


_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Tailslide)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Help needed with W3C validation error - 8/2/2006 2:36:03   
Edit: OK figured out what the problem is. Your front page is currently using charset=iso-8859-1 which does not have the bullet as part of it's character encoding.

All your other pages are correctly using charset=windows-1252 which is the correct one to use if you want the bullet sign.

Copy and Paste the character set from one of the other pages onto your home page and it will validate properly.

< Message edited by Tailslide -- 8/2/2006 2:54:36 >


_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to jaybee)
Page:   [1]

All Forums >> Web Development >> Accessibility >> Help needed with W3C validation error
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts