W3C home > Mailing lists > Public > public-webapi@w3.org > February 2008

Re: [selectors-api]

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 19 Feb 2008 09:48:55 +0100
To: "Boris Zbarsky" <bzbarsky@mit.edu>, "Lachlan Hunt" <lachlan.hunt@lachy.id.au>
Cc: public-webapi@w3.org
Message-ID: <op.t6rj3tny64w2qv@annevk-t60.oslo.opera.com>

On Tue, 19 Feb 2008 09:38:52 +0100, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
> Lachlan Hunt wrote:
>> It's not clear to me what the spec should say to resolve this issue.   
>> Do you have any suggestions?
> My suggestion was to allow the implementation to throw as soon as it  
> detects any sort of misbehavior from the NSResolver.  Anne didn't like  
> it.  Given that the implementation isn't allowed to do this, what _is_  
> it allowed to do to comply with the "deal with broken or malicious  
> NSResolvers" text?

I think it has to go like this:

   1. Get default namespace / resolve namespace prefixes
   2. Run the group of selectors over the "current" DOM

And I like to believe that this is what the specification requires. But  
maybe we should make it explicit in the method section that step 1 has to  
happen first and that user agents are not allowed to do both at the same  

Anne van Kesteren
Received on Tuesday, 19 February 2008 08:45:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:25 UTC