Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2003 19:36:41 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Ceri Davies <setantae@submonkey.net>
Cc:        doc@freebsd.org
Subject:   Re: Use of w3.org servers.
Message-ID:  <20030806163641.GX358@straylight.oblivion.bg>
In-Reply-To: <20030806163100.GP76053@submonkey.net>
References:  <kefzkelqql.zke@mail.comcast.net> <20030806163100.GP76053@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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
> >        <html xmlns=3D"http://www.w3.org/1999/xhtml">;
> >=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 <html> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030806163641.GX358>