Re: my vote on the varieties of datatyped tagged literals

On Thu, 2011-09-08 at 17:40 +0200, Richard Cyganiak wrote:
> On 8 Sep 2011, at 16:42, Sandro Hawke wrote:
> >> On 7 Sep 2011, at 16:40, Sandro Hawke wrote:
> >>> Option 2 might be worse than Option 1; to put it simply, it seems to be
> >>> making tagged literals be datatyped literals by making up a new,
> >>> different, *non-XML-standard* sort of datatyped literal.
> >> 
> >> This is not true for 2c.
> >> 
> >> It is compatible with the XSD notion of datatypes. That was the whole point.
> > 
> > I'm giving you my skeptical look.  |-)  A datatype with an empty lexical
> > space?   I see some discussion in XSD 1.1 about "ineffable" values,
> > points in value spaces which have no lexical representation, but it
> > seems like quite a stretch to define an XML Schema Datatype with a full,
> > useful value space and an empty lexical space.
> 
> You claimed that it is non-standard. In what way is it non-standard?
> 
> > In terms of code: with this design, we need a different API for language
> > tagged strings than for other data values, right?   We can't use .lexrep
> > to get the lexical representation, since there is none.  
> 
> I don't know what you're talking about. I'll quote the design again:
> 
> [[
> The abstract syntax has a lexical form and language tag (like in RDF 2004). The value is assigned directly (like in RDF 2004), bypassing the datatype. The datatype has an empty lexical space and empty L2V mapping.
> ]]
> 
> Why does this require a different API for language-tagged strings?

I still don't understand your design.  Can you show one or more of the
four examples I did for Option 2d?

> > For my example
> > code snippets, your option 2c (which Ivan has labeled 2d) still looks
> > just like option 1, I think.
> 
> Yes – it doesn't require any string munging, which is an advantage.

Agreed -- I don't like the string munging in Option 3a, but even with
it, it still seems to me far and away the best option.

   -- Sandro

> Best,
> Richard
> 
> 
> 
> > 
> >   - Sandro
> > 
> >> Best,
> >> Richard
> >> 
> > 
> > 
> > 
> 
> 

Received on Friday, 9 September 2011 15:22:09 UTC