Re: XML-Data: advantages over DTD syntax? (and some wishes)

Rick Jelliffe (ricko@allette.com.au)
Sat, 4 Oct 1997 18:02:56 +1000



> From: Paul Prescod <papresco@technologist.com>

> The relevant question is *which syntax is better*? I think that from a
> reader's and writer's point of view, the current DTD syntax is better.
> It is more readable and compact. From a *programmers* point of view, the
> new syntax is better because it allows you to reduce the number of
> parsers in your system.

But the proposed syntax in XML-data has a different and extended
functionality compared to XML's declaration syntax. So rather than having
two (notional) simple parsers, you have a single parser that is more
complicated.

Btw, in XML-data can the element type-declarations be subtyped just
like other element types, or are they treated as special?

Rick Jelliffe