Re: Relax NG for Widgets

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 UTC