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

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

From: Henry Story <henry.story@bblfish.net>
Date: Thu, 3 Nov 2011 13:08:18 +0100
Message-ID: <CAGjfob_umUnDgHdX-ftc+qJnZwCOnUJGZoGZyNn+33Z6SJe5nA@mail.gmail.com>
To: Dominik Tomaszuk <ddooss@wp.pl>
Cc: public-xg-webid@w3.org, nathan <nathan@webr3.org>, melvincarvalho@gmail.com
On Thu, Nov 3, 2011 at 10:57 AM, Dominik Tomaszuk <ddooss@wp.pl> wrote:

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

Can you write out in N3 an example of how you want to use it?


>
> Best,
> Dominik 'domel' Tomaszuk
>
Received on Thursday, 3 November 2011 12:08:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 November 2011 12:08:58 GMT