You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by André Malo <nd...@perlig.de> on 2002/07/11 23:18:42 UTC
Re: [PATCH] XHTML1.1 Error-Docs
[ follow-up to developer list posting ]
* Erik Abele wrote:
>> I removed the
>> meta-content-type header, which is just bad news in my opinion.
>
> I'm a little bit unsure about the meta-content-type header: the XHTML
> 1.0 specification (http://www.w3.org/TR/xhtml1/) recommends to use
> both methods to define the content-type on existing/older user agents.
>
> an extract of REC-xhtml1-20000126 follows:
[...]
> To specify a character encoding in the document, use both the encoding
> attribute specification on the xml declaration (e.g. <?xml
> version="1.0" encoding="EUC-JP"?>) and a meta http-equiv statement
> (e.g. <meta http-equiv="Content-type" content='text/html;
> charset="EUC-JP"' />). The value of the encoding attribute of the xml
> processing instruction takes precedence.
hmmm, I think the quoted paragraph only affects a decision between
<?xml encoding="..." ?> and <meta http-equiv="..." content=".." />.
Additionally - IIRC - there's nowhere any iso-8859-1 character,
therefore the character encoding declaration is more or less useless ;-)
(Character Entities are written in us-ascii...)
> Maybe we should put the meta-header in again ?
IMHO: -1
(not a binding vote, I know ;-)
nd
--
print "Just Another Perl Hacker";
# André Malo, <http://www.perlig.de/> #
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Missing sentence in HTTP_INTERNAL_SERVER_ERROR.html.var
Posted by Rich Bowen <rb...@rcbowen.com>.
On Fri, 12 Jul 2002, Erik Abele wrote:
> It seems that HTTP_INTERNAL_SERVER_ERROR.html.var is missing a sentence in
> the english part.
>
> In the first if-clause only the error message is echoed out; shouldn't we
> provide an introducing sentence like "The server encountered an internal
> error and was unable to complete your request." above the error message?
My understanding was that the REDIRECT_ERROR_NOTES replaced the need for
this.
> All the other translations have such a phrase.
So they do.
> The server encountered an internal error and was
> unable to complete your request. The server is either
> overloaded or there was an error in a CGI script.
Shouldn't that be "Either the server is overloaded, or there was ..." ?
--
Oh I have slipped the surly bonds of earth
And danced the sky on laughter-silvered wings
--High Flight (John Gillespie Magee)
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Missing sentence in HTTP_INTERNAL_SERVER_ERROR.html.var
Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 12 Jul 2002, Erik Abele wrote:
> It seems that HTTP_INTERNAL_SERVER_ERROR.html.var is missing a
> sentence in the english part.
I agree. I fixed that and also made the improvement suggested by Rich.
Joshua.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Missing sentence in HTTP_INTERNAL_SERVER_ERROR.html.var
Posted by Erik Abele <we...@codefaktor.de>.
It seems that HTTP_INTERNAL_SERVER_ERROR.html.var is missing a sentence in
the english part.
In the first if-clause only the error message is echoed out; shouldn't we
provide an introducing sentence like "The server encountered an internal
error and was unable to complete your request." above the error message?
All the other translations have such a phrase.
see below for an example:
...
Content-language: en
Content-type: text/html
Body:----------en--
<!--#set var="TITLE" value="Server error!" -->
<!--#include virtual="include/top.html" -->
<!--#if expr="$REDIRECT_ERROR_NOTES" -->
-> (Missing: The server encountered an internal error and was
unable to complete your request.) <-
<!--#include virtual="include/spacer.html" -->
Error message:
<br /><!--#echo var="REDIRECT_ERROR_NOTES" -->
<!--#else -->
The server encountered an internal error and was
unable to complete your request. The server is either
overloaded or there was an error in a CGI script.
<!--#endif -->
<!--#include virtual="include/bottom.html" -->
----------en--
...
Any opinions on this?!?
-erik
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org