Re: [selectors-api] Minor comments on the spec text

Lachlan Hunt wrote:
> liorean wrote:
>> On 25/06/07, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:
>>> Philip Taylor wrote:
>>>> Is it necessary to say that exceptions thrown inside 
>>>> lookupNamespaceURI must propagate outwards to the selectElement 
>>>> caller? Maybe that's obvious or is defined elsewhere.
>>
>> I think it wouldn't hurt to specify that an exception should be 
>> propagated (or rethrown?) out to the caller.
> 
> Surely, if it were necessary to state that, it should be in DOM Level 3 
> Core where DOMException is defined, instead of in each individual spec 
> that uses exceptions.

It seems I initially misunderstood which exceptions this issue was 
referring to.  If I add something like this, would that resolve this issue?

| If an exception is raised by the NSResolver while resolving
| namespaces, processing must be aborted and the exception
| passed back to the caller.

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Tuesday, 26 June 2007 16:06:45 UTC