W3C home > Mailing lists > Public > public-xg-webid@w3.org > November 2011

cert:hex was Re: cert:int -> xsd:nonNegativeInteger

From: Dominik Tomaszuk <ddooss@wp.pl>
Date: Thu, 03 Nov 2011 10:57:15 +0100
Message-ID: <4EB2657B.6030602@wp.pl>
To: public-xg-webid@w3.org
CC: Henry Story <henry.story@bblfish.net>, nathan <nathan@webr3.org>, melvincarvalho@gmail.com
On 03.11.2011 00:11, Nathan wrote:
> Melvin Carvalho wrote:
>> Along the lines of this simplification what about:
>>
>> cert:hex -> xsd:string ?
>>
>> If anyone thinks this has merit, I'll open up a new thread...
>
> Yes, or xsd:hexBinary

I proposed xsd:hexBinary, but Henry say that it is unreadable.

My another proposal is to use xsd:string with owl:withRestriction and 
xsd:pattern (something like [0-9a-fA-F]{2}[[:space:]]).

So we have:
1. xsd:string
2. xsd:string with restriction [0-9a-fA-F]{2}
3. xsd:hexBinary

Best,
Dominik 'domel' Tomaszuk
Received on Thursday, 3 November 2011 09:57:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 November 2011 09:57:46 GMT