W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Comment about DocumentType

From: K.Ueno(via ANN) <kojun@ann.ne.jp>
Date: Thu, 22 Oct 1998 03:46:30 -0400 (EDT)
Message-ID: <000201bdfd90$21baf360$6701a8c0@IMP50>
To: <www-dom@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT