[WEB4LIB] Re: Hard hyphen and HTML validation

Eric Hellman eric at openly.com
Wed Oct 30 11:49:52 EST 2002


At 7:38 AM -0600 10/30/02, John Hubbard wrote:
>Not quite true, if the web server can't parse the proper & correctly
>
>For example, our homepage links to
>http://library.uwm.edu/cgi-bin/Pwebrecon.cgi?DB=local&PAGE=First
>
>because
>http://library.uwm.edu/cgi-bin/Pwebrecon.cgi?DB=local&PAGE=First

if you paste this into a web browser address box, it will not work, 
because the address box is not html. If you double click the address 
in e-mail it will not work, because e-mail is not html.  If you enter 
this into the 856 field of a marc record, it will not work, because 
marc records are not html. (if your OPAC complies with standards 
(most don't) it will apply the appropriate escaping.) If you put this 
in an href attribute value in the source of a web page, it WILL work, 
because that's html.

>http://library.uwm.edu/cgi-bin/Pwebrecon.cgi?DB=loca%26PAGE=First

this one is not correct. The ampersand will be parsed as being part 
of the parameter "DB"

>
>don't work!
>
>:(
>
>- John

As I said, do the experiments. Experiment is reality.
-- 

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