W3C home > Mailing lists > Public > public-mwts@w3.org > January 2009

Re: Relax NG for Widgets

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Sat, 17 Jan 2009 05:57:20 +0000
To: David Håsäther <hasather@gmail.com>, Kai Hendry <hendry@aplix.co.jp>
CC: public-mwts <public-mwts@w3.org>
Message-ID: <C59723C0.3D32%marcosscaceres@gmail.com>


Hi David, Kai, 

On 1/14/09 3:47 PM, "David Håsäther" <hasather@gmail.com> wrote:

> * Kai Hendry @2009-01-14 16:34:
> 
>> Hi David,
>> 
>> Do you plans to improve version beyond:
>> attribute version { text }?
>> 
>> With a regex or something like that described on:
>> http://dev.w3.org/2006/waf/widgets/#attribute-types
>> 
>> This would catch a few problems. e.g.
>> 
http://git.webvm.net/?p=wgtqa;a=blob;f=7-configuration/7.3-version-invalid.xm>>
l
> 
> I don't see how that one is wrong actually. But yes, it could be updated
> with a regex. :-)

David is correct here. Anything goes at the moment (this is by design).
However, a conformance checker should suggest the preferred version string
format.  

>> I'm also having issues with namespace extensions (i think) with:
>> http://git.webvm.net/?p=wgtqa;a=blob;f=7-configuration/7.2-extensions.xml
>> 
>> Any ideas how that can be supported by the rnc?
> 
> That particular test seems to fail because the document element is wrong.
> "<widgets>" should be "<widget>". Unless you had something else in mind.
> 
> Marcos, there are several instances of "<widgets>" in the spec.

Yikes! Fixed!

Thanks again,
Marcos 
Received on Saturday, 17 January 2009 18:37:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 17 January 2009 18:37:35 GMT