W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > November 2010

Re: PROPOSAL to close ISSUE-57: TypedLiteralConverter Failures and Exceptions

From: Toby Inkster <tai@g5n.co.uk>
Date: Thu, 11 Nov 2010 15:01:01 +0000
To: Manu Sporny <msporny@digitalbazaar.com>
Cc: RDFa WG <public-rdfa-wg@w3.org>
Message-ID: <20101111150101.3e56a44c@miranda.g5n.co.uk>
On Wed, 10 Nov 2010 20:28:10 -0500
Manu Sporny <msporny@digitalbazaar.com> wrote:

> TypedLiteral Conversion Algorithm:
> If a TypedLiteralConverter is registered for the .type of the
> typedliteral then try to convert it, if successful return the
> converted type (for instance a Date) in all other cases (including
> exceptions) return the TypedLiteral.

I'd have thought it more useful to return .value in other cases.
That's how DataContext.convertType works in the current WD.

Toby A Inkster
Received on Thursday, 11 November 2010 15:01:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:22 UTC