Some of the links in the handbook don't have the filename, but only the query string, e.g. line 469 in the file I get by saving http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=2 as HTML only with Mozilla Firebird: <a href="?part=1&chap=3"> Many browsers know what to do with this, but some don't. I noticed a problem with this when I booted to the LiveCD, ran screen, and kept links up in one screen to show me the documentation as I installed in another screen. Netscrape 4 will also break on this. Reproducible: Always Steps to Reproduce: 1. Surf to http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=2 with links. 2. Search for 'Configuring your Network' until you land on a link. 3. Activate the link with the right arrow key. Actual Results: The browser displays the home page of the documentation. Expected Results: The browser should have gone to the link location as though there were 'handbook.xml' prepended to the link.
I'll try fixing this in the xslt. I cannot use hardcoded "handbook.xml?part=..." links as the files used are also used for other documents (the draft handbook workings and possible non-official handbook hacks).
Okay, I'm going to hardcode the handbook.xml-file in the stylesheet temporarily until I can find out a way to get the XML code of the parent file from a document()'ed file.
Okay, the changes are applied.