From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo User Guide XML error : solved ?
Date: Sun, 30 Sep 2007 22:30:36 +0200 [thread overview]
Message-ID: <20070930223036.dca0fa6b.hilse@web.de> (raw)
In-Reply-To: <20070929203419.GA4664@sympatico.ca>
Hi,
On Sat, 29 Sep 2007 16:34:19 -0400
Philip Webb <purslow@sympatico.ca> wrote:
> > On Thu, Sep 27, 2007 at 12:10:17AM -0400, Philip Webb wrote
> >> Following the usual procedure in such cases of trying simple changes,
> >> I changed the file extension to '.html' & Epiphany now has no problem.
> >> Does anyone have any comment on this strange sequence of events ?
> > With HTML, the philosophy is that the parser tries to carry on,
> > even with lots of errors in the HTML code. XML is much stricter
> > and an error is much more likely to be treated as fatal.
>
> Well in that case (raises eyebrows), one has to ask
> (1) why does Gentoo offer its docs in such a strict format
It offers it in text/html (MIME type as transmitted by the web server)
> & (2) why there is a bug in the XML sufficient to stall the browsers.
It's not XML (there's no real "file name extension" concept in URI-land).
You probably saved it under a file name resembling the URI, thus
leading your browser to the assumption it might be XML - and it has to
make assumptions for file:// requests, since there's no "Content-Type"
on plain file systems. The conceptual failure is the part that
circumvents this (unreliable) detection algorithm by saving that file
by a name ending in ".xml" (my browser doesn't even offer ".xml" as a
preset for the file format when trying to save the HTML page of the
user guide).
-hwh
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2007-09-30 20:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-27 3:59 [gentoo-user] Gentoo User Guide XML error Philip Webb
2007-09-27 4:10 ` [gentoo-user] Gentoo User Guide XML error : solved ? Philip Webb
2007-09-29 7:47 ` Walter Dnes
2007-09-29 20:34 ` Philip Webb
2007-09-30 20:30 ` Hans-Werner Hilse [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070930223036.dca0fa6b.hilse@web.de \
--to=hilse@web.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox