Re: Again new comments on DOM Range

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 UTC