W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

does #document mean "document" or "#document"?

From: Adam Dingle <adam@avantgo.com>
Date: Fri, 17 Mar 2000 14:00:32 -0500 (EST)
Message-ID: <00ae01bf9042$e6de1aa0$0b80000a@avantgo.com>
To: <www-dom@w3.org>
The DOM spec (both level 1 and the level 2 candidate) specifies that the Node
interface has a "nodeName" attribute; the spec has a table showing the value of
the "nodeName" attribute (and other attributes) for each node type.  The table
row for the Document node type looks like this:

Document    #document   null    null

Now, just what does "#document" mean?  Does it mean a string consisting of the #
character followed by the word "document"?  Or is the # some sort of notation
indicating a literal string, so that the string itself contains only the word
"document"?  This is really pretty unclear.  I searched the spec for an
explanation of the  "#" character, but couldn't find one.

Received on Wednesday, 22 March 2000 20:01:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC