Re: [xml-dev] life support for DTDs? was RE: [xml-dev] misprocessing namespaces)

From
Jonathan Borden <>
To
Rick Jelliffe <>, The Deviants <>
Date
2002-02-01T11:30:50Z
ID
<022301c1ab13$e92aa920$>
Thread
Re: [xml-dev] life support for DTDs? was RE: [xml-dev] misprocessing namespaces)
Rick,

Wow. it is that easy. So what is the excuse for not doing this?

Jonathan

From: "Jonathan Borden" <>

> This applies to both namespace and DTDs. Perhaps if anyone is really
> interested in keeping DTDs alive, they might publish such a proposal to
fix
> the problem, accompanied by some software that implements the proposal.
Then
> we would be able to see if it flies.

Actually, it does not even need any change in DTD syntax AFAIK.
It just needs a change in the way that validation is performed using DTDs.

The validator needs to understand that given
    <!ATTLIST x   xmlns CDATA "123">
or
    <!ATTLIST x   xmlns CDATA #FIXED "123">
etc. that an instance with
    <y:x   xmlns:y="123">
is correct.

You would also need the rule that an unprefixed element name
could only be declared once per DTD, which is not particularly
objectionable.

Cheers
Rick Jelliffe


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>