Re: cert:int -> xsd:nonNegativeInteger

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 UTC