Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2003 22:27:20 +0100
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Josef El-Rayes <j.el-rayes@daemon.li>
Cc:        www@freebsd.org
Subject:   Re: xml schema instead of DTD?
Message-ID:  <20031112212718.GD388@arthur.nitro.dk>
In-Reply-To: <20031112210612.GA563@jenny.daemon.li>
References:  <20031112210612.GA563@jenny.daemon.li>

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

--9dgjiU4MmWPVapMU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2003.11.12 22:06:12 +0100, Josef El-Rayes wrote:

> as i said some time ago, i am reworking the publications page
> (publish.html) on the website - besides updating the content i wrote an
> xsl stylesheet and some xml files for generating the page. i was
> wondering whether i can use xml schema, instead of DTD for defining the
> rules how the xml entries of the publications have to look like.

At the moment the only XML file in the www tree which has an DTD is
events.dtd, and I must admit that the main reason I made that one was to
make Emacs handle tag completion/insertion :-).  Therefor I don't think
it critical that the new files has DTD/Schema, but of course it would be
nice to have the possibility to validate the XML file(s) somehow.

Last time I checkked (some time ago) there didn't exist any tool that
could validate an XML file againts a schema, which kind of make Schema's
more or less useless until such a tool exist IMO.

Also I haven't seen any Emacs editor modes that can use schemas, only
DTD's...

If you make a valid schema for the new page then I don't mind seeing it
committed, but I don't think it's worth spending too much time on.

--=20
Simon L. Nielsen
FreeBSD Documentation Team

--9dgjiU4MmWPVapMU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/sqW2h9pcDSc1mlERAiSDAJ4pgzrzmMwUPN/i49G2DjfNeZbbaQCfTNh0
7aeoKyP32j10klQvp5HRdH4=
=VavI
-----END PGP SIGNATURE-----

--9dgjiU4MmWPVapMU--



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