Re: XML application

Ingo Macherius (Ingo.Macherius@TU-Clausthal.de)
Mon, 15 Dec 1997 18:54:17 +0000


> From: "Meltsner, Kenneth J" <Kenneth.J.Meltsner@jci.com>
> Date: Mon, 15 Dec 1997 10:56:09 -0600
> Subject: XML application

> David Winer, developer of the Frontier scripting language, has gone
> over to the XML camp.
[...]
> <http://www.scripting.com/siteChanges.xml>

It is not valid XML, because of 3 things:

1) the <?XML version="1.0"> PI is missing.
2) <moddate> is used case-insensitive
3) Being a wellformed document, a parser considers <site> as the
document (root) element. xmlwf considers anything after </site> as
junk. Need to introduce a different root element.

Further it reads:

[...]
<file0007>
<url>frontier5/download.html</url>
<moddate>Sat, 13 Dec 1997 23:01:36 GMT</moddate>
</file0007>
<file0008>
<url>frontier5/fasttrack/aboutThisSite.html</url>
<moddate>Sat, 13 Dec 1997 00:54:49 GMT</moddate>
</file0008>
<file0009>
[...]

Having numbered tag-names it's impossible to give a DTD, as
there is an potentially infinite set of tags. Why not only use <file>
and leave numbering to the receiving application ? Or give the numer
as attribute <file id="0009"> ? Why there is a need for numbering at
all ?

++im

--
Ingo Macherius // L'Aigler Platz 4 // D-38678 Clausthal-Zellerfeld
mailto:Ingo.Macherius@tu-clausthal.de    http://www.tu-clausthal.de/~inim/
Information!=Knowledge!=Wisdom!=Truth!=Beauty!=Love!=Music==BEST (Frank Zappa)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@ic.ac.uk the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)