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

Re: Again new comments on DOM Range

From: Lauren Wood <lauren@sqwest.bc.ca>
Date: Tue, 3 Oct 2000 20:46:46 -0700
To: www-dom@w3.org
Message-ID: <39DA45B6.23731.5581132@localhost>
On 3 Oct 2000, Kim Adamson-Sharpe wrote:

> ...
> 
> > > INDEX_SIZE_ERR: Raised if offset is negative or greater than the number of 
> > > child units in refNode. Child units are 16-bit units if refNode is a 
> > > CharacterData, Comment or ProcessingInstruction node. Child units are Nodes in 
> > > all other cases.
> > > 
> > > ie: Child units are 16-bit units if refNode is a CharacterData, Comment, 
> > > ProcessingInstrution or Text node...
> >
> >Fixed. Didn't make it into the PR version of Level 2, but it's now in 
> >the source.
> 
> Text node shouldn't need to be added to the sentence since it is a 
> CharacterData node (as is Comment). Btw, CDATASection is also
> derived from CharacterData. Therefore, I think that there should only 
> be two node types, CharacterData and ProcessingInstruction, that 
> need to be specified.

I've changed the text to read
"if refNode is a type of CharacterData node (e.g., a Text or 
Comment node) or a ProcessingInstruction node."

I hope this satisfies everyone.


Lauren
Received on Tuesday, 3 October 2000 23:46:32 GMT

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