Re: [DOM4] Question about using sequence<T> v.s., NodeList for

On Fri, 16 Mar 2012 01:59:48 +0100, Vincent Hardy <vhardy@adobe.com> wrote:
> b. Use sequence<T> everywhere except where T=Node, in which case we  
> would use NodeList. This is consistent with DOM4 and inconsistent within  
> the spec.

I think this is fine, but you should use Range[] and not sequence<Range>.  
You cannot use sequence for attributes. Do you have a pointer to the  
specification by the way? Kind of curious why you want to expose a list of  
Range objects.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Friday, 16 March 2012 08:40:53 UTC