Re: Relax NG for Widgets

* 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.xml

I don't see how that one is wrong actually. But yes, it could be updated  
with a regex. :-)

> 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.

-- 
David Håsäther

Received on Wednesday, 14 January 2009 15:48:19 UTC