Re: ISSUE-124 (datarange complement): The complement of a datarange is defined relative to the whole data domain

Wouldn't the sugar be more effectively placed on ComplementOf.  
Specifically, something like:

ComplementOfWithinDatatype(DatatypeRestriction( xsd:decimal  
minInclusive 35 maxExclusive 42))


-Alan


> ))


ComplementOf(             DatatypeRestriction( xsd:decimal  
minInclusive 35 maxExclusive 42
>
> ))
On May 20, 2008, at 4:07 PM, Evan Wallace wrote:

> I saw this issue was coming up for discussion on the agenda for  
> tomorrow's telecon,
> and I had a couple of comments about it.
> 1) The fact that ComplementOf a DataRange produces an ugly  
> collection of literal
> values is what I would expect.
> 2) But it would also be nice to have a DataIntersectionOf DataRange  
> constructor that
> would allow intersecting another DataType with the ugly  
> complemented DataRange
> directly.  This would be analogous to the structure of  
> ClassExpressions and thus would
> be quite intuitive for the user.
>
> -Evan

Received on Wednesday, 21 May 2008 06:11:04 UTC