Off course no, but the jena intern process check the date validity ?

2013/9/12 Martynas Jusevičius <[email protected]>

> Does November ever have 31 days?
>
> On Thu, Sep 12, 2013 at 12:47 PM, Julien Plu
> <[email protected]> wrote:
> > Hi,
> >
> > I use Jena 2.10.1 to compute the age of people from french DBpedia
> dataset.
> >
> > When I retrieve a date, sometimes, this code "date.getValue()", where
> > "date" is a "Literal", gives me an exception :
> >
> > Lexical form '1993-11-31' is not a legal instance of Datatype[
> > http://www.w3.org/2001/XMLSchema#date].
> >
> > Whereas in the dataset the value is "1993-11-31"^^
> > http://www.w3.org/2001/XMLSchema#date (even the toString() function
> gives
> > me this value).
> >
> > I did something wrong or is-it a bug from Jena ?
> >
> > Thanks in advance.
> >
> > Julien.
>

Reply via email to