xml schema instead of DTD?

Simon L. Nielsen simon at FreeBSD.org
Wed Nov 12 13:27:23 PST 2003


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.

-- 
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-www/attachments/20031112/4c0490cb/attachment.bin


More information about the freebsd-www mailing list