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

Re: [Fwd: %20 in href attribute]

Subject: Re: [Fwd: %20 in href attribute]
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Wed, 23 Jan 2002 12:40:42 -0500
anchor href space
[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


Current Thread

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
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.