Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193693 - xml error when trying to view Handbook offline
Summary: xml error when trying to view Handbook offline
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-24 22:23 UTC by muh2
Modified: 2007-09-25 01:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muh2 2007-09-24 22:23:20 UTC
I would like to read the Handbooks offline.  When I download a handbook, I can't view it in the browser.  I get an XML error.
Here are the details:

I am running Ubuntu 6.06
Gnome 2.14.3
Firefox 1.5.0.12

In the page:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1

In the Firefox "File" menu, I select "save page as".
Filename: handbook-x86.xml
Folder:  /home/mb/try1/
File type: webpage, complete

A window opens, reporting download confirmed.
I open a new tab, choose File menu, choose Open File...
select /home/mb/try1/handbook-x86.xml

and I get this error in the browser window:

XML Parsing Error: mismatched tag. Expected: </link>.
Location: file:///home/mb/try1/handbook-x86.xml
Line Number 12, Column 226:<link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"><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%">
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^


What should I do?

Reproducible: Always

Steps to Reproduce:
see above

Actual Results:  
see above

Expected Results:  
I should be able to see the "handbook-x86.xml" file in Firefox.

see above
Comment 1 Łukasz Damentko (RETIRED) gentoo-dev 2007-09-24 22:35:12 UTC
You should save html versions or install gorg. 
http://gentoo.neysx.org/mystuff/gorg/gorg.xml

This is not a bug.
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2007-09-25 01:52:36 UTC
To clarify previous comment -- although firefox knows that that page is (despite the "extension" in the URL) HTML, it saves it with the .xml suffix. Upon loading, it tries to use a XML-rendering mode which is not what you want. A simple workaround should be to save the page to a file with .html extension.