Re: ACTION-419: Sync with Birte on Datatypes for canonicalisation

Hi Andy,

Yes, we will turn that into xsd:decimal.

- Matt

On 3/28/2011 3:28 AM, Andy Seaborne wrote:
> Matt,
>
> Does the Oracle normalization turn everything into xsd:decimal so that 1+2, where "1"^^xsd:integer and "2"^^xsd:integer occur in the data, is an xsd:decimal?  It'll show up on BIND but also datatype().
>
>     Andy
>
> On 22/03/11 15:50, Matthew Perry wrote:
>> Hi,
>>
>> Oracle's canonicalization is shown below. Please let me know if you have
>> any questions.
>>
>> Thanks,
>> Matt
>>
>> - URI, Blank Node, Plain Literal => no change
>> - language-tagged literals => normalize lang tag to lowercase
>>
>> - xsd:string => Plain Literal
>>
>> - All the following go to xsd:decimal normalized to remove all leading and
>> trailing zeros. Decimal point is not included if fractional part is zero.
>> xsd:decimal
>> xsd:integer
>> xsd:nonPositiveInteger
>> xsd:negativeInteger
>> xsd:long
>> xsd:int
>> xsd:short
>> xsd:byte
>> xsd:nonNegativeInteger
>> xsd:unsignedLong
>> xsd:unsignedInt
>> xsd:unsignedShort
>> xsd:unsignedByte
>> xsd:positiveInteger
>>
>> - normalize to concat("mantissa", "E", "exponent")
>> (e.g. "100.3"^^<http://www.w3.org/2001/XMLSchema#float =>
>> "1.00300003E2"^^<http://www.w3.org/2001/XMLSchema#float>)
>> xsd:double => xsd:double
>> xsd:float => xsd:float
>>
>> - Normalize to Z timezone if timezone is given.
>> Time portion allows at most 9 fractional seconds, which are rounded to
>> 6 fractional seconds with trailing zeros removed.
>> xsd:dateTime => xsd:dateTime
>> xsd:time => xsd:time
>>
>> - xsd:date => xsd:date no change
>>
>>
>> - xsd:boolean => normalize to lowercase "true" or "false"
>>
>

Received on Monday, 28 March 2011 17:16:04 UTC