[Zope] <dtml-tree> <div> issue from this morning.
Marcus Collins
mcollins@sunesi.com
Fri, 2 Jun 2000 09:57:34 +0200
Hi,
> -----Original Message-----
> From: Patrick Keane [mailto:keane@danet.com]
> Sent: 01 June 2000 19:10
> To: zope@zope.org
> Subject: [Zope] <dtml-tree> <div> issue from this morning.
>
> The problem is the order.
>
> Netscape apparently likes to see URLS like
>
> http://www.my.com/this.html#foo?var=data
> not
> http://www.my.com/this.html?var=data#foo
>
> It chokes on the first, and is happy with the 2nd. IE is happy with
> either. Any chance this can be checked in as a revision to the tree
> code to be tested and confirmed?
>
> PS - Which is the standard format of the two (as per ww3 or whatnot?)
Neither is "standard" per se -- RFC1808, which deals with URI's, says:
"Note that the fragment identifier (and the "#" that precedes it) is
not considered part of the URL. However, since it is commonly used
within the same string context as a URL, a parser must be able to
recognize the fragment when it is present and set it aside as part of
the parsing process."
However, the first form is recommended in the generic-RL syntax:
<scheme>://<net_loc>/<path>;<params>?<query>#<fragment>
and under Recommended Practices, so it would not be _recommended_ to change
the order, although it might be _desirable_
hth,
-- Marcus