Re: [xml-dev] What does it mean to say that XML was over-engineered?

From
Elliotte Rusty Harold <>
To
Michael Kay <>
Date
2021-09-17T11:51:37Z
ID
<CAGhczrp2Wn=>
Thread
Re: [xml-dev] What does it mean to say that XML was over-engineered?
On Tue, Sep 14, 2021 at 11:10 PM Michael Kay <> wrote:
>
> By over-engineered I mean that it has more functionality than most applications require.
>
> Things like DTDs, namespaces, processing instructions, which add substantial complexity to applications and APIs whether you use them or not.
>

DTDs don't really bother me. Internal DTD subsets are where the
problems arise. If we had stuck to external DTDs that were only
optionally processed and predefined all the HTML entity references, a
lot of problems would go away. Also minimal parsers would be much
simpler and possibly faster.

Processing instructions maybe aren't needed but don't cause a huge
amount of problems.

Namespaces are necessary but almost certainly could have been done better.

-- 
Elliotte Rusty Harold