You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/10/30 08:25:33 UTC

[jira] [Created] (STANBOL-1400) entityhub:text value converter should only convert String values

Rupert Westenthaler created STANBOL-1400:
--------------------------------------------

             Summary: entityhub:text value converter should only convert String values
                 Key: STANBOL-1400
                 URL: https://issues.apache.org/jira/browse/STANBOL-1400
             Project: Stanbol
          Issue Type: Improvement
          Components: Entityhub
    Affects Versions: 0.12.0
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler
            Priority: Minor
             Fix For: 1.0.0, 0.12.1


The Entityhub Fieldmappings do support conversion of values (e.g. parsing Numbers, Date/Time values from string values).

The converter for the entityhub:text datatype (that represents natural lanugage texts) currently support any value type by simple calling the #toString() method on the parsed value. This is not the intension of this converter as it does not make sense to convert e.g. URIs to natural language text.

With this issue the converter will be changed so that only string values are converted to natural language text values (without a language).

Users that want to convert any value to its textual representation can still use the xsd:string converter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)