[Home] [By Thread] [By Date] [Recent Entries]
Rick,
Wow. it is that easy. So what is the excuse for not doing this?
Jonathan
From: "Jonathan Borden" <jborden@m...>
> 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>
|

Cart



