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

DOM3 Abstract Schemas: consistent naming

From: Stanley Guan <Stanley.Guan@oracle.com>
Date: Mon, 26 Nov 2001 10:49:42 -0800
Message-ID: <3C028EC6.62E5DA3D@oracle.com>
To: www-dom@w3.org
Hi,

In the definition of ASObject, it seems that "Object" and "Node" are
used
interchangably.  Is this intentionally done?  If yes, please say it
explicitly
in the specification.   If not, it seems to me that the following names
can
be better renamed as:

   asNodetype ===> asObjectType
   nodeName   ===> objectName

and in the description of ASObject, we should mention it as "Object"
instead of "Node"!

Thx,

-Stanley



interface ASObject {

                          // ASObjectType
                          const unsigned short
AS_ELEMENT_DECLARATION         = 1;
                          const unsigned short
AS_ATTRIBUTE_DECLARATION       = 2;
                          const unsigned short
AS_NOTATION_DECLARATION        = 3;
                          const unsigned short
AS_ENTITY_DECLARATION          = 4;
                          const unsigned short
AS_CONTENTMODEL                = 5;
                          const unsigned short
AS_MODEL                       = 6;

                          readonly attribute unsigned short
asNodeType;
                                   attribute ASModel
ownerASModel;
                                   attribute DOMString        nodeName;
                                   attribute DOMString        prefix;
                                   attribute DOMString        localName;

                                   attribute DOMString
namespaceURI;
                          ASObject           cloneASObject(in boolean
deep);
                        };
Received on Monday, 26 November 2001 13:49:46 GMT

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