[WEB4LIB] Re: Ampersands in database URLs problem
Drew, Bill
drewwe at MORRISVILLE.EDU
Wed Jun 9 12:58:03 EDT 2004
We are getting HTML coding miexed up with URLs. Keep them separate. I
test my pages on four different browsers: Lynx, Opera, Mozilla, and IE.
It is impossible to validate links in the ways discussed here. I do not
consider the URL i find I must use for some resources as part of my code.
Bill Drew
-----Original Message-----
From: Eric Hellman
To: drewwe at MORRISVILLE.EDU
Cc: Multiple recipients of list
Sent: 6/9/2004 11:43 AM
Subject: [WEB4LIB] Re: Ampersands in database URLs problem
When you say that "the URL works", you are basing that assertion on
the fact that the limited number of browsers you have tested your web
pages on have successfully guessed what your incorrect HTML means.
When your HTML validates to a standard, you know that any software
that can read correct HTML will be able to correctly deal with
yours. That will include things like re-writing proxy servers,
semantic web indexing engines, adult content filters, WAP converters,
automatic translation engines... shall I go on?
There is now downside to standards compliance as far as HTML is
concerned!
Eric
At 7:14 AM -0700 6/9/04, Drew, Bill wrote:
> What difference does it make as long as the URL works? That is what
is
>important. If you change URLs to use escape characters in many links
to
>canned searches or databases, those links no longer work. I have tried
it.
>This is a case of common sense overriding what a canned report from a
>validator tells you.
>
>Bill Drew
>
>-----Original Message-----
>From: Thomas Dowling
>To: Multiple recipients of list
>Sent: 6/9/2004 9:53 AM
>Subject: [WEB4LIB] Re: Ampersands in database URLs problem
>
>>
>The problem is that in different contexts, a different string of
>characters defines "an ampersand". Is it "&", "&", "%26", or
>"=26"? There are many characters that can or must be encoded
>differently in SGML/HTML/XML, in URLs, in quoted-printable mail, in
>plain text (which itself can be defined in various ways), etc. What
you
>
>really can't get around is the need to convert strings of text from one
>encoding to another as they pass through different contexts.
>
>Without knowing the possible ambiguities you're creating, you can no
>more just ignore unescaped ampersands in HTML hyperlinks than, say,
>unescaped spaces or quotation marks.
>
>
>--
>Thomas Dowling
>tdowling at ohiolink.edu
--
Eric Hellman, President Openly Informatics,
Inc.
eric at openly.com 2 Broad St., 2nd
Floor
tel 1-973-509-7800 fax 1-734-468-6216 Bloomfield, NJ 07003
http://www.openly.com/1cate/ 1 Click Access To Everything
More information about the Web4lib
mailing list