- From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
- Date: Mon, 17 Nov 2003 09:29:08 +0100
- To: ernestcline@mindspring.com, "W3C HTML List" <www-html@w3.org>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Ernest, dear list members, Am Freitag, 14. November 2003 16:09 schrieb Ernest Cline: > > [Original Message] > > From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com> > > > > I like context menus offering choices, but I don't think that this alone > > is > > > the best solution. > > I think it should be possible for a user to override both, user agent > > settings > > > and server priority of a language by simply following a hyperlink which > > says > > > e.g. "Polish" instead of tampering with settings or context menus. > > Most users aren't aware of context menus. > > > > I think a mixture of both would be best. > > Note: You seem to be using "user" for two distinct things. > (1) The consumer of a document > (2) The creator of a document > I use "user" only for (1) and "author" for (2) to avoid confusion. > > If, as you seem to be indicating, that it is important that an author > should be able to specify a language specific version of a document, > that would seem to call for using a URL that refers to just that version. > > If for example, there existed on a server: > doc.en.xhtml, doc.de.xhtml, and doc.pl.xhtml > Then it should be possible to have doc.pl.xhtml always refer > the Polish version and doc.xhtml return anyone of the three > according to the user agent settings as set by the user, and > perhaps influenced by a context menu that offered a choice > of any of the three to the user. Obviously you never had a 406 response yet. As soon as the negotiation is only using the language dimension, requesting doc.de.xhtml with an Accept-Language: en header is okay. But as soon as content negotiation gets another dimension and is used for more than just the language such negotiating requests will result in 406 responses. Requesting doc.de for choosing between doc.de.xhtml as application/xhtml+xml and doc.de.html as text/html with Accept: application/xhtml+xml and Accept-Language: en gives a 406 response. That's why I want @hreflang to override or extend the user agent's default Accept-Language header. By the way, most servers (including Apache HTTP 1.3.x, I didn't test this on 2.x yet) will not allow configuring requesting a URL doc.*.xhtml using a URI ending on doc.xhtml. Bye - -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter (Shareholding CEO) Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: Christian.Hujer@itcqis.com WWW: http://www.itcqis.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/uIbWzu6h7O/MKZkRAp96AJ9Y26gSZc1YDmeXp9Oi/Maeo/nm2gCdFgaI h95TImsIZKui5vPU53cDZRw= =27Sl -----END PGP SIGNATURE-----
Received on Monday, 17 November 2003 04:35:23 UTC