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

Bug 112169

Summary: PPC FAQ XML document does not validate
Product: [OLD] Docs-user Reporter: Stéphane Bisinger <webmaster>
Component: Gentoo Linux PPC FAQAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml?passthru=1
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for removing &nbsp; entities

Description Stéphane Bisinger 2005-11-11 06:22:29 UTC
The Gentoo Linux PowerPC FAQ does not validate with Mozilla Firefox:

XML Parsing Error: undefined entity
Location: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml?passthru=1
Line Number 778, Column 9:    &lt;&nbsp;&gt;   PowerMac DMA sound support

&nbsp; entity is not present in the DTD, so it should either be added to the
DTD, or removed from the document itself.
Comment 1 Stéphane Bisinger 2005-11-11 07:27:29 UTC
Created attachment 72650 [details, diff]
Patch for removing &nbsp; entities

This is a fix which removes &nbsp; entities from the document.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2005-11-11 07:48:15 UTC
(In reply to comment #0)
> &nbsp; entity is not present in the DTD

Yes, it is. FYI, files are checked at commit time and rejected if invalid.
In other words, the file *is* valid.

What happens is that
1) you have been unlucky and have hit the web node that tells your browser that
the file is text/xml
2) firefox decided to show you the xml tree, but does not know where to get the DTD

Use "view source (Ctrl+U)", wget, curl, grab a docs snapshot, or anything else,
or try again, with some luck, you'll hit a web node that sends the file as
text/plain