Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112169 - PPC FAQ XML document does not validate
Summary: PPC FAQ XML document does not validate
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux PPC FAQ (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/gentoo-p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-11 06:22 UTC by Stéphane Bisinger
Modified: 2005-11-11 07:48 UTC (History)
0 users

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


Attachments
Patch for removing   entities (gentoo-ppc-faq.diff,469 bytes, patch)
2005-11-11 07:27 UTC, Stéphane Bisinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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:    < >   PowerMac DMA sound support

  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   entities

This is a fix which removes   entities from the document.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2005-11-11 07:48:15 UTC
(In reply to comment #0)
>   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