[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: URIs harmful (was RE: Article: Keeping pa ce w


pa ce 2004
Miles Sabin wrote:
> Bullard, Claude L (Len) wrote,
> 
>>All the "always resolves" means is that if the http: endowed URI is
>>handed to a resolver, it will resolve.  What gets returned may be
>>caca, but it will resolve.
> 
> 
> What? Even http://this.host.does.not.exist/ ?
> 
> You won't even get a 404 from that. Do you count TCP-level failures as 
> "resolving"?

The thing is, unless you have knowledge embedded in the client of the 
resolver there is no way to tell if a TCP or DNS level failure is 
transient or final, without multiple retries. Even then, it may not be 
correct.

For instance, http://www.foo.com/ may not resolve because my DNS server 
is unreachable or because the DNS server hasn't been configured 
properly. Now, that's fine if I know that "www.foo.com" or "foo.com", or 
".com" `should' exist. However, if I don't have such a priori 
information, I can't tell the difference between http://www.foo.com/ and 
http://www.foo.blah/ when they produce the same error.

--
Mike


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.