Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 19th, 2006, 03:35 PM
Jan
Guest
 
Posts: n/a
Default Bad characters error, help requested

The following is an error message from Total Validator, a Firefox
extension. The message includes the code. This is cut-and-paste code,
and I even retyped the hyphens, just in case. The W3C validator passes
this page as HTML 4.01 strict, but Total Validator finds this problem.
I am OC enough to want to fix it. Can someone point me in the right
direction?

Quote:
Bad characters found in link in attribute 'src':
<img src="/cgi-sys/Count.cgi?df=greenepe-index.dat|display=Counter|ft=6|md=5|frgb=100;139;2 16|dd=U"
alt="DataPunch hit counter">

Jan
  #2  
Old October 19th, 2006, 03:45 PM
Els
Guest
 
Posts: n/a
Default Re: Bad characters error, help requested

Jan wrote:
Quote:
The following is an error message from Total Validator, a Firefox
extension. The message includes the code. This is cut-and-paste code,
and I even retyped the hyphens, just in case. The W3C validator passes
this page as HTML 4.01 strict, but Total Validator finds this problem.
I am OC enough to want to fix it. Can someone point me in the right
direction?
>
Quote:
>Bad characters found in link in attribute 'src':
> <img src="/cgi-sys/Count.cgi?df=greenepe-index.dat|display=Counter|ft=6|md=5|frgb=100;139;2 16|dd=U"
> alt="DataPunch hit counter">
It's the "|" that triggers that.

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
  #3  
Old October 19th, 2006, 03:45 PM
Andreas Prilop
Guest
 
Posts: n/a
Default Re: Bad characters error, help requested

On Thu, 19 Oct 2006, Jan wrote:
Quote:
This is cut-and-paste code,
Give the URL of the page!

Do not post source text!

  #4  
Old October 19th, 2006, 04:15 PM
John Dunlop
Guest
 
Posts: n/a
Default Re: Bad characters error, help requested

Jan:
Quote:
<img src="/cgi-sys/Count.cgi?df=greenepe-index.dat|display=Counter|
ft=6|md=5|frgb=100;139;216|dd=U"
The <|in the URL probably causes the warning. RFC3986 does not allow
<|in URLs (<|was an "unwise", i.e., excluded, character in
RFC2396). Replace <|with the percent-encoding <%7C>.

This is not an error that a validator should report, because it isn't a
validation error. The src attribute is defined as CDATA, so pretty
much anything goes. If it felt really nice, a validator could report
this as a warning but not as an error.

That pseudo URL falls down on other counts though, such as length,
meaningfulness, and rememberability.

--
Jock

 

Bookmarks

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles