[Home] [By Thread] [By Date] [Recent Entries]



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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member