On 29/01/17 01:01, Holger Knublauch wrote:
A SHACL user has reported

    https://github.com/TopQuadrant/shacl/issues/10

that 0 should be a valid xsd:gYear value. Is this assumption correct and
does Jena need to be updated?

Thanks
Holger


rybesh's analysis is correct.

An additional fact is that Java8, and Java9, provide XML Schema 1.0, not 1.1.

See the JDK javadoc for package javax.xml.datatype

Jena uses GregorianCalendar as the value.

This is connected to XMLGregorianCalendar via java.xml.datatype.DatatypeFactory.newXMLGregorianCalendar

        Andy

Reply via email to