> The second is when a page's author has mistakenly marked up a bare '&' in
> the URL as '&'.   This is - of course - wrong, and htdig does not
> find the page.  For example:
>
> 11:11:2:http://www.soton.ac.uk/~dja/test&test2.html:  not found
>
> However, Netscape Navigator 4.05 (and probably other browsers) fixes
> this up and presents a link to http://www.soton.ac.uk/~dja/test&test2.html

> Is there an alternative to trying to persuade authors that their URLs
> are wrong even though they work with the usual browsers?

HTML entities are supposed to be escaped, even in a URL string which is
included in a tag, so the proper HTML for the above link is:

<A HREF="http://www.soton.ac.uk/~dja/test&amp;test2.html">

And so the author is correct. Reference in the HTML 4.01 spec is below.

http://www.w3.org/TR/html4/charset.html#h-5.3.2

+============================================
+ Benjamin Smedberg
+ CUA Web Developer
+ [EMAIL PROTECTED] - http://computing.cua.edu/as/bds/
+============================================
+ Then pealed the bells more loud and deep:
+ "God is not dead, nor doth He sleep;
+ The wrong shall fail, the right prevail,
+ With peace on earth, good will to men."
+============================================


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

Reply via email to