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

Re: cert:int -> xsd:nonNegativeInteger

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Wed, 2 Nov 2011 17:08:23 +0100
Message-ID: <CAKaEYh+9go9jos21_obLuhq0kYDK93FSPnurjymKdxaRFPH-7A@mail.gmail.com>
To: Dominik Tomaszuk <ddooss@wp.pl>
Cc: WebID Incubator Group WG <public-xg-webid@w3.org>, Henry Story <henry.story@bblfish.net>
On 28 October 2011 12:45, Dominik Tomaszuk <ddooss@wp.pl> wrote:
> I propose remove cert:int datatype from the Cert Ontology and change
> examples in section 2.3 in WebID spec.
> rsa:public_exponent is always integer >= 0. There is no need to duplicate
> this datatype.
> I know that is the argument that cert:int is more flexible writing than
> xsd:nonNegativeInteger, because it allows white space. But I think that
> freedom is dangerous, because it is harder to process "  6   5  5 3 7
> "^^cert:int then "65537"^^xsd:nonNegativeInteger. I think parsers should
> expect here normal number in base 10 notation.

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

>
> Best,
> Dominik 'domel' Tomaszuk
>
>
Received on Wednesday, 2 November 2011 16:14:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 November 2011 16:14:00 GMT