Re: Datatypes (ISSUE-48)

On 10 Aug 2011, at 12:30, Nuno Lopes wrote:
> Yes, the value transformations are actually defined in that section, it's nothing more than a rather long case distinction. I can collect these for the Wiki.

That would be very useful.

>> What was the story with the “and” for INTERVAL?
> 
> By reading the overview I was assuming the and referred to a complex datatype, however in the details it seems that it is actually a restriction on xdt:yearMonthDuration if the SQL type is a year-month duration and on xdt:dayTimeDuration if the SQL type is a day-time duration.  

Ok, that kind of makes sense.

> The problem is that so far I didn't find any definition for "year-month duration" and "day-time duration".

ISO 9075-2 defines "year-month interval" and "day-time interval". The definition of <interval type> in 6.1 and <interval literal> in 5.3 is probably relevant to understand what's going on.

Best,
Richard


> 
>> 
>> (I added an “Open Questions” subsection to the end of the wiki page.)
>> 
>> Best,
>> Richard
>> 
>> 
>> 
>>> 
>>> Cheers,
>>> --
>>> Nuno Lopes
>>> 
>>> 
>>> 
>>> On 9 Aug 2011, at 19:03, Richard Cyganiak wrote:
>>> 
>>>> Hi Nuno,
>>>> 
>>>> I had another look at the wiki page:
>>>> http://www.w3.org/2001/sw/rdb2rdf/wiki/Mapping_SQL_datatypes_to_XML_Schema_datatypes
>>>> 
>>>> Ok, this answers what we ought to do with user-defined and constructed types.
>>>> 
>>>> There are still a couple of questions open from here:
>>>> http://lists.w3.org/Archives/Public/public-rdb2rdf-wg/2011Aug/0017.html
>>>> 
>>>> Maybe you could comment on these?
>>>> 
>>>> Cheers,
>>>> Richard
>>> 
>> 
> 
> 

Received on Wednesday, 10 August 2011 12:11:42 UTC