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.
|
|
|
|
|
![]() |
||
Apostrophes in XHTML
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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.
|
|
|
|
#2
|
|||
|
|||
|
shouldn't be a problem, what's the error?
|
|
#3
|
|||
|
|||
|
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 '. |
|
#4
|
|||
|
|||
|
<s>is it implemented in the XHTML as an actual apostrophe or a &[blah]; code?</s> (answered in you initial post - sorry!)
|
|
#5
|
|||
|
|||
|
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] |
|
#6
|
|||
|
|||
|
<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... |
|
#7
|
||||
|
||||
|
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
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#8
|
|||
|
|||
|
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.
|
|
#9
|
||||
|
||||
|
Always glad to point out the obvious.. LMAO! :wink:
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| apostrophes, xhtml |
| Thread Tools | |
|
|
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 |