Apostrophes in XHTML

This is a discussion on "Apostrophes in XHTML" within the Web Page Design section. This forum, and the thread "Apostrophes in XHTML are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Jan 2nd, 2004, 07:22
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Apostrophes in XHTML

When running my pages through the XHTML validator it seems it doesn't like apostrophes (like in "doesn't"). I'm not about to go replacing every ' with it's ASCII code. Should I be using different Encoding or is it just that picky? I'm using iso-8859-1 right now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Jan 2nd, 2004, 07:50
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
shouldn't be a problem, what's the error?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Jan 2nd, 2004, 08:39
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Line 42, column 8: non SGML character number 146 (explain...).
Everyone's needs are different, so we will try to customiz
^

The ^ points to the ' and it shows a box for the '.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Jan 2nd, 2004, 08:45
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
<s>is it implemented in the XHTML as an actual apostrophe or a &[blah]; code?</s> (answered in you initial post - sorry!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Jan 2nd, 2004, 08:54
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
My homepage has ' and validates OK. Here's the header code I'm using:

[pre]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head dir="ltr" xml:lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />[/pre]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Jan 2nd, 2004, 12:55
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by Catalyst

Line 42, column 8: non SGML character number 146 (explain...).
Everyone's needs are different, so we will try to customiz
^

The ^ points to the ' and it shows a box for the '.
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

If you still can't get it solved, could you let us take a look at the source? It is hard to understand from this perspective, without knowing what you are trying to to and what you need...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Jan 2nd, 2004, 16:44
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,189
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
Catalyst....
are you sure you are using the right ' ? there are two, and one is dissallowed. Use the one supplied via notepad.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Jan 2nd, 2004, 18:52
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Lame. Yeah, somehow when the old developer built the original site he used the illegal ' in some places. When I redid the site and copy and pasted the copy those carried over. I guess the font I'm using in my editor doesn't have both, cause I only see the one. Thanks for the suggestions everyone.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Jan 4th, 2004, 14:55
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,189
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
Always glad to point out the obvious.. LMAO! :wink:
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
apostrophes, xhtml

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xhtml Layout ssnerdy Starting Out 11 Sep 21st, 2007 18:31
Xhtml 2.0, Css 3 pa007 Webforumz Cafe 3 Apr 6th, 2007 18:06
W3C Xhtml Validation... Pheonix Implemented Suggestions 13 Oct 7th, 2005 12:44
xhtml 1.0 ivyholly Web Page Design 2 Sep 28th, 2005 14:36
Why do relational databases don't like apostrophes [ ' ]? gecastill Databases 3 May 27th, 2005 20:21


All times are GMT. The time now is 11:09.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42