From owner-cvs-all@FreeBSD.ORG Thu Dec 1 10:24:33 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9027416A420; Thu, 1 Dec 2005 10:24:33 +0000 (GMT) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (vlsi00.si.noda.tus.ac.jp [133.31.130.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E1F043D83; Thu, 1 Dec 2005 10:24:22 +0000 (GMT) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p8224-adsau15honb8-acca.tokyo.ocn.ne.jp [61.113.204.224]) (authenticated bits=128) by mail.allbsd.org (8.13.1/8.13.1) with ESMTP id jB1AOKEl032882; Thu, 1 Dec 2005 19:24:21 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id jB1AO2Qn071682; Thu, 1 Dec 2005 19:24:03 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Thu, 01 Dec 2005 19:23:25 +0900 (JST) Message-Id: <20051201.192325.78702563.hrs@allbsd.org> To: pav@FreeBSD.org From: Hiroki Sato In-Reply-To: <1133426754.95515.7.camel@pav.hide.vol.cz> References: <200511302135.jAULZM4m074043@repoman.freebsd.org> <20051201.135349.07646153.hrs@allbsd.org> <1133426754.95515.7.camel@pav.hide.vol.cz> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 4.2.52 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Thu_Dec__1_19_23_25_2005_508)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on gatekeeper.allbsd.org X-Virus-Status: Clean 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 10:24:33 -0000 ----Security_Multipart(Thu_Dec__1_19_23_25_2005_508)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Pav Lucistnik wrote in <1133426754.95515.7.camel@pav.hide.vol.cz>: pa> Right, haven't noticed this. Do we have a language-dependent place for pa> this? Does xsltproc have commandline argument to specify encoding pa> perhaps? Or do we have to copy the .xsl around? Please put en/share/sgml/templates.usergroups.xsl. See: http://www.freebsd.org/cgi/cvsweb.cgi/www/ja/share/sgml/templates.usergroups.xsl?rev=1.1&content-type=text/x-cvsweb-markup pa> > And your commits seem inconsistent; changes for www/89380 replace pa> > &#xxx; with &foo;, but entities.dtd adds such entities in &#xxx; form. pa> > Which one do you think better? pa> pa> Whatever is easier to read and write by humans. &foo;s clearly wins. This is not only a style issue. What we must consider is that the &#xxx; form can depend on a specific encoding (this is always UTF-8 in the XML spec, though) and some web browsers do not handle them correctly. The entity references should be &foo; form in the *resulting* HTML files wherever possible. The XHTML entities are actually defined in the &#xxx; form (you can see them in $PREFIX/share/xml/dtd/xhtml/xhtml-lat1.ent, for example), so we never put them in the resulting HTML files in &foo; form even if we add entities.dtd and use &foo; in an XML file. I think a concept of "sdata-as-pis" used in osx(1) is a good idea for XML files in our www and doc tree. Redefining all of ISO 8859 entities in the SDATA PI form and adding a template for that, we can put them in the resulting HTML files in the &foo; form. -- | Hiroki SATO ----Security_Multipart(Thu_Dec__1_19_23_25_2005_508)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDjs8iTyzT2CeTzy0RAozBAJ9x2inCKAwYZgH/ziL9DZOHv8sR2gCdFayw 7Dy/zkRQaOsXWtrlFdP76Zk= =gv7q -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Dec__1_19_23_25_2005_508)----