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


From: David Brownell <david-b@pacbell.net>
Date: Thu, 18 Nov 1999 14:28:29 -0800
Message-ID: <38347D8D.2B883561@pacbell.net>
To: keshlam@us.ibm.com
Cc: www-dom@w3.org
keshlam@us.ibm.com wrote:
> > There's no way to associate NOTATION or ENTITY nodes with a doctype node.
> DocumentType's "entities" and "notations" attributes are NamedNodeMaps. You
> can retrieve the appropriate NamedNodeMap, then use its setNamedItem
> methods to add one of these definitions.

Those are required to be readonly NamedNodeMap objects.  See the DOM L1
spec as regards the definitions of those attributes.  The phrase is
"cannot be altered in any way".  What you suggest is nonconformant.

> The real problem is that there's no factory method for NOTATIONs or
> ENTITYs. And DOM Level 2 doesn't fix this.

Like I said, the RFE is **for DOM L2** ... no new features, only asking
completion of support for the existing features.  Like finishing the
support for DocumentType objects which L2 has already started.

- Dave
Received on Thursday, 18 November 1999 17:28:37 UTC

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