W3C home > Mailing lists > Public > public-appformats@w3.org > August 2006

Re: Comments and questions on XBL2 Working Draft

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 29 Aug 2006 05:03:18 +0000 (UTC)
To: Mikko Pohja <mikko.pohja@hut.fi>
Cc: public-appformats@w3.org
Message-ID: <Pine.LNX.4.62.0608290440040.10139@dhalsim.dreamhost.com>

I found that e-mail!

On Fri, 28 Jul 2006, Mikko Pohja wrote:
> "While an element matches the element attribute of one of the binding 
> elements that is imported into, or defined in, the element's document, 
> the binding defined by the _first_ such binding element must be bound to 
> the element."
> Just to clarify: only the first matching binding element is bound to the 
> element, i.e., no implicit inheritance using bindings with element 
> attribute? Third paragraph in the Section 4.6.2. implies the other way 
> around.

Oops. That text was wrong. Fixed.

> Section 4.6.
> The figure in the section is good, but I think it could be explained 
> more specific. Especially first-time reader would benefit if he/she saw 
> what is the final inheritance order after implicit inheritance is 
> applied, what is node "E", and which nodes are base bindings, which are 
> base bindings of the chain, and which are most derived bindings.

I've added some explanatory text.

> Section 4.6.2.
> In the example, third paragraph, sentence ending:
> "...most derived binding that is already attached to the element, s_3."
> s_3 should be s_1.
> Fourth paragraph:
> "The inheritance between d_3 and s_1 is implicit, meaning..."
> d_3 should be d_2.

All fixed in response to your later e-mail.

> Section 8.1.
> Declaration of bindingDocuments attribute says:
> "The bindingDocuments attribute must return a NamedNodeMap of all the
> binding documents loaded by the document. Documents are referenced using
> their URIs as the keys."
> Is it possible to use URIs? DOM's NamedNodeMap uses nodeNames as the keys.

It is possible, the definition in XBL2 overrides the definition in Core.

Thanks again for your input,
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 29 August 2006 05:03:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:50:05 UTC