Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 140239

Summary: the handbook can't be viewed offline
Product: [OLD] Docs on www.gentoo.org Reporter: GNUtoo
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description GNUtoo 2006-07-13 08:09:17 UTC
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1
i can download it but i can't view it offline
firefox and konqueror gives me this error:

XML Parsing Error: mismatched tag. Expected: </link>.
Location: file:///home/gentux/handbook-x86.xml
Line Number 7, Column 160:<link rel="shortcut icon" href="http://www.gentoo.org/favicon.ico" type="image/x-icon"><title>Gentoo Linux Documentation -- Gentoo Linux x86 Handbook</title></head><body style="margin: 0px;" bgcolor="#ffffff"><table border="0" cellpadding="0" cellspacing="0" width="100%">
---------------------------------------------------------------------------------------------------------------------------------------------------------------^
Comment 1 GNUtoo 2006-07-13 08:12:42 UTC
same for the offline 2006.0 handbok
http://www.gentoo.org/doc/en/handbook/2006.0/handbook-x86.xml?full=1

XML Parsing Error: mismatched tag. Expected: </link>.
Location: file:///home/gentux/Desktop/handbook-x86.xml
Line Number 7, Column 167:<link rel="shortcut icon" href="http://www.gentoo.org/favicon.ico" type="image/x-icon"><title>Gentoo Linux Documentation -- Gentoo Linux 2006.0 x86 Handbook</title></head><body style="margin: 0px;" bgcolor="#ffffff"><table border="0" cellpadding="0" cellspacing="0" width="100%">
----------------------------------------------------------------------------------------------------------------------------------------------------------------------^
Comment 2 Ɓukasz Damentko (RETIRED) gentoo-dev 2006-07-13 08:16:07 UTC

*** This bug has been marked as a duplicate of 30457 ***
Comment 3 Flammie Pirinen (RETIRED) gentoo-dev 2006-07-13 08:23:09 UTC
FWIW, the downloaded files should be viewable if you rename them to .html, because they are output in html 4.01, which is not xml at all.
Comment 4 GNUtoo 2006-07-18 10:41:24 UTC
(In reply to comment #3)
> FWIW, the downloaded files should be viewable if you rename them to .html,
> because they are output in html 4.01, which is not xml at all.
> 

not all the users will look at this bugreport so mabe we should rename them to .html in the server
Comment 5 Flammie Pirinen (RETIRED) gentoo-dev 2006-07-18 11:15:55 UTC
(In reply to comment #4)
> not all the users will look at this bugreport so mabe we should rename them to
> .html in the server

That's only a temporary hackish workaround. The actual bug or misfeature is in downloading and/or viewing software. Trusting in filename extension alone is broken as is inability to retain data from HTTP headers when downloading.

Also, majority of users might use Fx as downloading software, which handles the situation correctly suggesting .html suffix.
Comment 6 GNUtoo 2006-07-18 12:19:53 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > not all the users will look at this bugreport so mabe we should rename them to
> > .html in the server
> 
> That's only a temporary hackish workaround. The actual bug or misfeature is in
> downloading and/or viewing software. Trusting in filename extension alone is
> broken as is inability to retain data from HTTP headers when downloading.
> 
> Also, majority of users might use Fx as downloading software, which handles the
> situation correctly suggesting .html suffix.
> 

ok so it will be fixed one day
by the way i used firefox and wget