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

[XBL] Problem with Example in 2.5

From: Antoine Quint <antoine@theveniceproject.com>
Date: Wed, 13 Dec 2006 19:33:31 -0500
Message-Id: <AA04E135-F892-4C16-9BAF-EA50DD610142@theveniceproject.com>
To: public-appformats@w3.org

Hi,

This is a last call comment on the XBL 2 Editor’s Draft (dated 27  
October 2006).

In section 2.5, the example seems to be suffering from a search and  
replace issue where "xbl" prefixes to elements were added  
automatically giving the following results:

<xbl:xbl xmlns:xbl="http://www.w3.org/ns/xbl"
          xmlns:data="http://example.com/data-language">
  <xbl:binding element="data|grid">
   <xbl:template>
    <xbl:div class="caption" xbl:inherits="xbl:text=title"/>
    <xbl:div class="outer-table">
     <xbl:div class="columns">
      <xbl:content includes="data|column">
       <!-- default to have just one column if none are declared -->
       <data:column/>
      <xbl:/content>
     <xbl:/div>
     <xbl:div class="rows">
      <xbl:content includes="data|heading"/>
      <xbl:div class="body">
       <xbl:content includes="data|row:not([hidden])"/>
      <xbl:/div>
     <xbl:/div>
    <xbl:/div>
   <xbl:/template>
   ...
  <xbl:/binding>
  ...
<xbl:/xbl>

Of course, all the closing elements should have the "/" prior to the  
"xbl" namespace prefix.

Antoine
Received on Thursday, 14 December 2006 00:33:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:20 GMT