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

Re: cert:int -> xsd:nonNegativeInteger

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Fri, 28 Oct 2011 13:28:43 +0200
Message-ID: <CAKaEYh+RCqtjjz_C=WP3h2dcUze0ao--3AcE5PnwgoJEgdLsJw@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.

+1

>
> Best,
> Dominik 'domel' Tomaszuk
>
>
Received on Friday, 28 October 2011 11:29:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:39:47 UTC