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

Re: [XBL] XBL 2.0 Semantic-free XML elements

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 10 Oct 2006 22:58:57 +0000 (UTC)
To: Karl Dubost <karl@w3.org>
Cc: public-appformats@w3.org
Message-ID: <Pine.LNX.4.62.0610102256080.1637@dhalsim.dreamhost.com>
On Tue, 10 Oct 2006, Karl Dubost wrote:
> 
> Le 06-10-07 à 07:35, Ian Hickson a écrit :
> > > Semantic-free with regards to the XBL specification or with regards to
> > > the user agent.
> > 
> > Neither. With regards to the element. An element has semantics if it 
> > is defined (generally by a specification) to have semantics. For 
> > example the "form" element in the HTML namespace has semantics to do 
> > with form submission. The "div" element in the XBL namespace has 
> > semantics to do with block rendering and tooltips. And so forth.
> 
> Then back to the original question.
> 
> 	What is a semantic free element?

An element that has no meaning.


> Is the element "alfrun" a semantic free element?

To my knowledge, unless a specification defines it.


> There could be a DTD, schema or specification giving some semantics to this
> element.
> It seems that "form" is not semantic free but "alfrun" is. Why?

Not sure I understand you.


> Is a semantic free element an element which has no declared namespace in 
> an XBL document?

No, it's an element that has no meaning. No semantics. No defined 
processing. A generic, unknown element.


> > > Let's take a user agent HappySurf implementing XBL and SVG only. [...]
> > > Is the "svg" element "semantic free" for HappySurf user agent?
> > 
> > The "svg" element in the SVG namespace is never semantic-free.
> 
> Why?

Because there is a specification that says what its semantics are.


> > It has the (rather complicated) semantics defined for that element in 
> > the SVG specification. It doesn't matter whether the UA supports SVG 
> > or not.
> 
> There are many elements in the world which are defined in specs not 
> supported in user agents. How do we distinguish a semantic free with a 
> non semantic free element in the context of XBL implementations?

Why does it matter? The requirement isn't on the UA to distinguish one 
from the other. The only requirement that uses the term "semantic-free" is 
one that requires the UA to treat an element as if it was semantic-free, 
which is something any UA can trivially do (since it is the default 
behaviour when it doesn't know about it).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 10 October 2006 22:59:16 UTC

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