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

Re: cert:int -> xsd:nonNegativeInteger

From: Nathan <nathan@webr3.org>
Date: Wed, 02 Nov 2011 23:11:14 +0000
Message-ID: <4EB1CE12.8060407@webr3.org>
To: Melvin Carvalho <melvincarvalho@gmail.com>
CC: Dominik Tomaszuk <ddooss@wp.pl>, WebID Incubator Group WG <public-xg-webid@w3.org>, Henry Story <henry.story@bblfish.net>
Melvin Carvalho wrote:
> 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...

Yes, or xsd:hexBinary
Received on Wednesday, 2 November 2011 23:18:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 November 2011 23:18:41 GMT