Comment about DocumentType

I don't know how to subscribe to this mailing list.
But I have a comment to DOM Level 1.

I think that the interface DocumentType should have a method which returns
default value of a attribute, like

       DOMString        getDefaultAttribute(in DOMString element_name, in
DOMString attribute_name);

"Fundamental Interfaces" does not include DocumentType. But the method
getAttribute of Element should search DTD for default value. Implementators
of Fundamental Interfaces who don't care about the structure of DocumentType
could call such method if doctype of Document is not null.

I am developping my own DOM in Perl, then I noticed it.
 http://www2.ann.ne.jp/~kojun/TmpL1/ )

// (UENO Kojun) / k.ueno@psynet.net, kojun@ann.ne.jp /

Received on Thursday, 22 October 1998 04:57:44 UTC