From owner-cvs-doc@FreeBSD.ORG Thu Dec 1 14:23:48 2005 Return-Path: X-Original-To: cvs-doc@FreeBSD.org Delivered-To: cvs-doc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC54A16A41F; Thu, 1 Dec 2005 14:23:48 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from e0-a11.b1.lan.prg.vol.cz (e0-a11.b1.lan.prg.vol.cz [195.122.204.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9034443D49; Thu, 1 Dec 2005 14:23:47 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from pav.hide.vol.cz (localhost [127.0.0.1]) by e0-a11.b1.lan.prg.vol.cz (8.13.4/8.13.4) with ESMTP id jB1ENjI8046789; Thu, 1 Dec 2005 15:23:45 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by pav.hide.vol.cz (8.13.4/8.13.4/Submit) id jB1ENisX046788; Thu, 1 Dec 2005 15:23:44 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Hiroki Sato In-Reply-To: <20051201.231654.21910274.hrs@allbsd.org> References: <1133433030.95515.19.camel@pav.hide.vol.cz> <20051201.211535.90116203.hrs@allbsd.org> <1133442525.95515.22.camel@pav.hide.vol.cz> <20051201.231654.21910274.hrs@allbsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-/qfT4oU4mpAPy3jABFnR" Date: Thu, 01 Dec 2005 15:23:44 +0100 Message-Id: <1133447024.95515.42.camel@pav.hide.vol.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2 FreeBSD GNOME Team Port Cc: doc-committers@FreeBSD.org, cvs-doc@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: www/share/sgml templates.usergroups.xsl X-BeenThere: cvs-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: CVS commit messages for the doc and www trees List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 14:23:48 -0000 --=-/qfT4oU4mpAPy3jABFnR Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Hiroki Sato p=ED=B9e v =E8t 01. 12. 2005 v 23:16 +0900: > Pav Lucistnik wrote > in <1133442525.95515.22.camel@pav.hide.vol.cz>: >=20 > pa> But there is a > pa> > pa> pa> charset=3DISO-8859-1" /> > pa> > pa> inside variable header1, so output should be iso8859-1 too. >=20 > No. This line will be silently ignored (and replaced). xsltproc > actually outputs a based on "encoding" attribute in > when the output method is HTML or XHTML. > The XSLT 1.0 specification also says the following: >=20 > |The encoding attribute specifies the preferred encoding to be used. > |If there is a HEAD element, then the html output method should add > |a META element immediately after the start-tag of the HEAD element > |specifying the character encoding actually used. For example, > | > | > | > | ... >=20 > So, we cannot output a bogus charset=3D line when the output is > HTML or XHTML. When we need to change it, we must use > by using the language-dependent customization layer. Aha. So should the line be removed from the header1 variable? It surely confused me. To avoid a duplication of xsl files in share/sgml/ and en/, would some kind of mechanism to pass encoding parametr to xsltproc from en/Makefile ja/Makefile etc be useful? I thought about passing it in --stringparam or somesuch. Also, is there any problem with ú and others in xml source when outputting into other charsets, like euc-jp? --=20 Pav Lucistnik Eat when you are hungry, sleep when you are tired. Chase butterflies when you want some fun. --=-/qfT4oU4mpAPy3jABFnR Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDjwdwntdYP8FOsoIRAud0AKCSk91H0ONCyL5NhoD4vqsH+vvuOgCfRUX8 fBRp6hSYIOFssYx5QAosoGU= =3NCV -----END PGP SIGNATURE----- --=-/qfT4oU4mpAPy3jABFnR--