FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » browser url with #...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: browser url with #... [message #173419 is a reply to message #173234] Sat, 09 April 2011 07:39 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Gregor Kofler wrote:

> Am 2011-03-28 23:00, Twayne meinte:
>> No - if the "#", or bookmark, or misnomered "fragment identifier" as you

The past (participle) form of the verb for using a misnomer is _misnamed_.

>> prefer, as far as I'm concerned, I like to use the clearest acceptable
>> language possible. You on the other hand appear as though rather than
>> adding information, you want to dismiss perfectly good information and
>> restate the very same thing in more technical language that a LOT few
>> people will understand.
>
> The # *is* the fragment identifier.

Actually, the `#' is (so to speak) the left-hand side fragment (identifier
component) _delimiter_, followed by the fragment identifier (which may be
empty). See also [RFC3986]:

| 3. Syntax Components
|
| The generic URI syntax consists of a hierarchical sequence of
| components referred to as the scheme, authority, path, query, and
| fragment.
|
| URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
| […]
| 3.5. Fragment
|
| The fragment identifier component of a URI allows indirect
| identification of a secondary resource by reference to a primary
| resource and additional identifying information. The identified
| secondary resource may be some portion or subset of the primary
| resource, some view on representations of the primary resource, or
| some other resource defined or described by those representations. A
| fragment identifier component is indicated by the presence of a
| number sign ("#") character and terminated by the end of the URI.
|
| fragment = *( pchar / "/" / "?" )
| […]

> It's no "bookmark" - no matter what some wacky WYSIWYG programs state. And
> in a newsgroup dealing with technical issues precise terms help to avoid
> "discussions" like this one.

Full ACK.

[The misconception, and the misnaming of the URI fragment
(component/identifier) as "bookmark" comes from the fact that fragments are
often used in one's bookmarks (which hold URIs), for example to keep a quick
reference to a specific message in a user-augmentable document resource:
<http://www.php.net/manual/en/introduction.php#76515>. But a bookmark can
also hold the URI <http://www.php.net/manual/en/introduction.php>, which
makes the aforementioned misconception and misnaming obvious.]


Regards,

PointedEars
___________
[RFC3986] T. Berners-Lee/R. Fielding/L. Masinter: RFC 3986/STD 66,
"Uniform Resource Identifier (URI): Generic Syntax",
January 2005. <http://tools.ietf.org/html/rfc3986>, p. 16 and 24.
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_unction.js:16
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to call external php script from html?
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 09:15:38 GMT 2024

Total time taken to generate the page: 0.07393 seconds