Forum Moderators: open

Message Too Old, No Replies

CSS Validator error

         

TheWhippinpost

3:59 pm on Jun 10, 2003 (gmt 0)

10+ Year Member



I'm getting this error:

Please, validate your XML document first!
Line 129
Column 64

An invalid XML character (Unicode: 0xa0) was found in the element content of the document.

Document is validated xhtml strict.

Line 129, Column 64 = 'o' within the word "Sorry".

What gives?

waldemar

4:07 pm on Jun 10, 2003 (gmt 0)

10+ Year Member



See [lists.w3.org...]

digitalghost

4:14 pm on Jun 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried iso-8859-1 as your charset? Are you currently using UTF-8?

Did you cut and paste the copy into the body of the document? From say, Word?

TheWhippinpost

4:27 pm on Jun 10, 2003 (gmt 0)

10+ Year Member



Much obliged waldemar.

DIGITALHOST: Nooo no no, let's leave Word out of this shall we ;) I did copy & paste it from an older HTML doc - Will try and type it in directly, just in case, good point.

DTD is;

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />

TheWhippinpost

9:42 pm on Jun 10, 2003 (gmt 0)

10+ Year Member



Just a quick note to resolve this thread, I retyped the offending paragraph and all is now well so thanks digitalhost ;¬)

tedster

10:20 pm on Jun 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've learned the hard way to save every source file as a .txt file first. Then I close and re-open the .txt file in a pure text editor before I do the copy/paste into my pages.

Some of the odd characters are almost impossible to see and change by eye. And some software insists on creating the odd character.

nafmo

10:21 am on Jun 14, 2003 (gmt 0)

10+ Year Member



A0 is a non-breaking space (also known in SGML as &nbsp;). They are a bit sneaky since they often look exactly the same as a regular space.