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

Re: [XBL] XBL 2.0 id and xml:id

From: Karl Dubost <karl@w3.org>
Date: Tue, 10 Oct 2006 11:20:28 +0900
Message-Id: <1F57B8EC-CAFF-49B7-95FE-64A05480022E@w3.org>
Cc: public-appformats@w3.org
To: Ian Hickson <ian@hixie.ch>


Le 06-10-06 à 08:15, Ian Hickson a écrit :
> On Thu, 5 Oct 2006 karl@w3.org wrote:
>>
>> Is there any reasons for not using xml:id
>
> No, no reason; xml:id may be used if the author desires. xml:id is
> completely orthogonal to XBL, and is defined in another specification.
>
>> and if any what's happening when both attributes are present in  
>> the XBL
>> XML fragment?
>
> Nothing exciting; the processing rules of XBL and xml:id do not, to my
> knowledge, in any way conflict.


<xbl xmlns="http://www.w3.org/ns/xbl">
  <binding id="nav-then-main" xml:id="foo">
   <template xml:id="nav-then-main">
    <div id="wrapper">
     <div id="col2"><content includes=".nav"/></div>
     <div id="col1"><content includes=".main"/></div>
    </div>
   </template>
   <resources>
    <style>
     #wrapper { display: table-row; }
     #col1, #col2 { display: table-cell; }
    </style>
   </resources>
  </binding>
</xbl>

authorized?
Is "xml:id" attribute forbidden on xbl elements?

>> Please, mention it in XBL specification.
>
> Why? Do you think the xml:id specification would mention XBL?

No.  Unrelated to the issue.

> The two
> specifications are completely orthogonal and there does not seem to  
> be any
> good reason for them to unnecessarily cross-reference each other.

XBL is using XML namespaces and XML specifications. It mentionned them.
xml:base is mentionned too.


>> Please, make it reviewed by XML Core WG.
>
> I have sent a request:
>
>    http://lists.w3.org/Archives/Public/public-xml-core-wg/2006Oct/ 
> 0004.html

Thanks.


> Please let me know if this does not satisfy your comment.


Is "xml:id" attribute forbidden on xbl elements?
If not, why not using it, more than defining id?

-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Tuesday, 10 October 2006 02:20:53 UTC

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