Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #19737

Re: Set iframe src without default.

Message-ID <1841999.S2hmm84gci@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2013-05-12 17:46 +0200
Subject Re: Set iframe src without default.
Newsgroups comp.lang.javascript
References <ouydnaJoPKrz5hTMnZ2dnUVZ_v2dnZ2d@westnet.com.au> <1504640.DvKzvIJx9F@PointedEars.de> <m2sj1x15q3.fsf@nntp.bednarz.nl> <kmepa8$1tv$1@speranza.aioe.org> <m2mws4zecv.fsf@nntp.bednarz.nl>

Show all headers | View raw


Eric Bednarz wrote:

> Christoph Becker <cmbecker69@gmx.de> writes:
>> Eric Bednarz wrote:
>>> Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:
>>>> Andrew Poulos wrote:
>>>>> the hash part of the URL.
>>>>
>>>> There is no “hash part of the URL”.  Do you mean the URI fragment?
>>> 
>>> ~ $ curl -s http://tools.ietf.org/rfc/rfc3986.txt | grep "URI fragment"
>>> ~ $
>> 
>> But note RFC 3986,
> 
> I believe I did. How is "the URI fragment" supposed to be less ambiguous
> than "the hash part of the URL"?

“fragment” is a term in an Internet standard specifying URIs/URLs; “hash 
part” is not.  Furthermore, “hash” is a rather overloaded word with regard 
to computers (ask a theoretical computer scientist, a Perl programmer, an 
ECMAScript programmer, and a Twitter user – you will get *five* different 
definitions); “fragment” rather is not.

> NB:
> 
> Exhibit A
>   Since there-is-no-javascript is on-topic in this group:
>   window.location.hash

A legacy, although perhaps soon a standardized, DOM feature whose property 
value is not well-defined (depending on the DOM implementation, can be with 
or without “#”).  If possible, parse document.URL instead.

Besides:

,-<http://www.w3.org/TR/2012/CR-html5-20121217/infrastructure.html
   #url-decomposition-idl-attributes>
| 
| o . hash [ = value ]
|   Returns the current fragment identifier in the underlying URL.
|   Can be set, to change the underlying URL's fragment identifier.

> Exhibit B
>   "A family of URIs can share the same non-hash part."
>   <http://www.w3.org/TR/cooluris/#choosing>

Informative, not normative.
 
>> section 3.5:
>>
>> | The fragment identifier component of a URI [...]
>>
>> IOW: A URI's fragment identifier component [...]
> 
> Just a few IOWs more and we're there.
> 
> http://de.wikipedia.org/wiki/Stille_Post

I do not think it is uncommon that the English genitive (“of”) is replaced 
with a compound word for brevity.  Perhaps I should have said ”URI fragment 
identifier component” (although there is a “fragment” production in the URI 
ABNF grammar, so my meaning should have been clear), but other than that you 
do not have a point.

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-08 08:08 +1000
  Re: Set iframe src without default. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-05-08 01:14 +0200
    Re: Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-08 13:18 +1000
      Re: Set iframe src without default. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-05-08 08:45 +0300
        Re: Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-08 16:53 +1000
          Re: Set iframe src without default. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-05-08 10:25 +0300
  Re: Set iframe src without default. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-05-08 08:50 +0300
  Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-08 10:25 +0200
    Re: Set iframe src without default. Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-05-09 00:12 +0200
      Re: Set iframe src without default. Christoph Becker <cmbecker69@gmx.de> - 2013-05-09 02:06 +0200
        Re: Set iframe src without default. Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-05-09 11:34 +0200
          Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-12 17:46 +0200
  Re: Set iframe src without default. Stefan Weiss <krewecherl@gmail.com> - 2013-05-08 11:35 +0200
    Re: Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-08 20:58 +1000
      Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-08 14:33 +0200
        Re: Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-09 10:10 +1000
          Re: Set iframe src without default. Tim Streater <timstreater@greenbee.net> - 2013-05-09 09:33 +0100
          Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-09 12:26 +0200
      Re: Set iframe src without default. Matt McDonald <matt@fortybelow.ca> - 2013-05-08 18:52 -0400
        Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-09 12:30 +0200

csiph-web