[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|