Dave Griffith created JENA-1655:
-----------------------------------

             Summary: SPARQL time built-ins return non-normalized integer RDF 
literals
                 Key: JENA-1655
                 URL: https://issues.apache.org/jira/browse/JENA-1655
             Project: Apache Jena
          Issue Type: Bug
            Reporter: Dave Griffith


The SPARQL time built-ins (YEAR, MONTH,DAY, HOURS, MINUTES, SECONDS) can return 
integer RDF literals with leading zeros, e.g "00"^^xsd:integer .  This is 
largely benign, but can be detected with queries like this: 

 
SELECT 
(<http://www.w3.org/2001/XMLSchema#string>(minutes("2011-01-10T14:00:13.815-05:00"^^xsd:dateTime))
 as ?minutes){}
 
which returns "00"
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to