« Return to Thread: [DOM4] Question about using sequence v.s., NodeList for (was [DOM4] NodeList should be deprecated )

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

by Anne van Kesteren-2 :: Rate this Message:

| View in Thread

On Fri, 16 Mar 2012 01:59:48 +0100, Vincent Hardy <vhardy@...> 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/

 « Return to Thread: [DOM4] Question about using sequence v.s., NodeList for (was [DOM4] NodeList should be deprecated )