From owner-freebsd-doc@FreeBSD.ORG Wed Aug 6 09:36:46 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85E4437B401 for ; Wed, 6 Aug 2003 09:36:46 -0700 (PDT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 816A443F93 for ; Wed, 6 Aug 2003 09:36:44 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 10303 invoked from network); 6 Aug 2003 16:28:20 -0000 Received: from office.sbnd.net (HELO straylight.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 6 Aug 2003 16:28:20 -0000 Received: (qmail 34315 invoked by uid 1000); 6 Aug 2003 16:36:41 -0000 Date: Wed, 6 Aug 2003 19:36:41 +0300 From: Peter Pentchev To: Ceri Davies Message-ID: <20030806163641.GX358@straylight.oblivion.bg> Mail-Followup-To: Ceri Davies , "Gary W. Swearingen" , doc@freebsd.org References: <20030806163100.GP76053@submonkey.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wYehVJ3WBY9OQfE8" Content-Disposition: inline In-Reply-To: <20030806163100.GP76053@submonkey.net> User-Agent: Mutt/1.5.4i cc: doc@freebsd.org Subject: Re: Use of w3.org servers. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 16:36:46 -0000 --wYehVJ3WBY9OQfE8 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 06, 2003 at 05:31:00PM +0100, Ceri Davies wrote: > On Wed, Aug 06, 2003 at 09:01:38AM -0700, Gary W. Swearingen wrote: > > early-adopter.html (at least) on www.freebsd.org has > > > >=20 > > I seem to recall reading that W3 prefers that people serve their own > > copies of that stuff instead of sponging off the W3 servers a lot. >=20 > In this case, that's not relevant, for a number of reasons. >=20 > Firstly, the namespace declaration is inserted by W3's tidy application. >=20 > Secondly, URIs in XML namespaces aren't required to point at anything, so > nothing should be accessing the URI above as a result of this entry. >=20 > Having said that, changing this to our own namespace wouldn't harm anythi= ng, > but if it really is inserted by tidy, as I believe is the case, then I do= n't > know an easy way to change it (which is not to say that there isn't one). Actually, we don't *want* to change it, because otherwise browsers would not really understand that we are serving them XHTML, and might have all kinds of trouble displaying it. The namespace declaration serves to identify the type of the XML element to which it applies, i.e. just what kind of information is encoded within it. The above namespace declaration identifies the element and all its contents (or at least, all its elements that do not have a *different* namespace declaration) to be XHTML, and browsers know how to render it. Besides, as Ceri says, there's no harm, as nothing should *ever* be accessing the w3.org URL; namespaces are *not* guaranteed to contain URL's with valid content, and they are not even guaranteed to contain valid URL's. A namespace may be any sequence of characters; it is customary to use URL's for easy identification and versioning, but it is just that - a custom. Anyway, don't change it, or people will not be able to see our pages :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If wishes were fishes, the antecedent of this conditional would be true. --wYehVJ3WBY9OQfE8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/MS6Z7Ri2jRYZRVMRAjBzAJ4iaEWiKm1G3vZzNkCMjo0ozsP7pACgwuVJ tuTcYga4pf5y8+3nX78sdT8= =t0+H -----END PGP SIGNATURE----- --wYehVJ3WBY9OQfE8--