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)

Reply via email to