This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: %20 in href attribute]


[Julian Reschke]
> >
> > [ Thomas B.  Passin]
> > > > Sent: Tuesday, January 22, 2002 10:27 PM
> > > > ...
> > > >
> > > > If you have a server that responds to a url with a space, and does
not
> > > > respond to the same url with the space replaced by "%20", that
> > > > server has a
> > > > bug.
> > >
> > > The server will never see it, because it's in the fragment part
> > of the URI
> > > reference.
> > >
> > >
> >
> > Are you saying that the browser removes the fragment before
> > sending the url
>
> Yes.
>
> > to the server?  I can see how that would work, but rfc 2396 says that
> > fragments are to be escaped like the other parts of urls.  Does
>
> I agree.
>
> > that make it
> > a browser error if it doesn't url-decode a fragment?
>
> I would think so.
>
>
Another wrinkle is that, in xhtml, the name attribute of an anchor is a
NMTOKEN, so it can't contain spaces.  In html, though, the attribute value
can be CDATA, and thus it can have spaces.  So looking to the future, it
would be good to stop using spaces in anchor names.

Cheers,

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]