You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2017/02/09 11:59:41 UTC

[jira] [Created] (JENA-1288) Reduce dependency on the Xerces jar.

Andy Seaborne created JENA-1288:
-----------------------------------

             Summary: Reduce dependency on the Xerces jar.
                 Key: JENA-1288
                 URL: https://issues.apache.org/jira/browse/JENA-1288
             Project: Apache Jena
          Issue Type: Task
    Affects Versions: Jena 3.2.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne
            Priority: Minor


There are facilities in the standard JDK that can be used instead of directly calling Xerces, specifically {{DatatypeConverter}}. With these changes, only one class relies on Xerces directly, {{XSDDatatype}}.

We have to be careful though - it is not perfect. I found that {{parseByte}} calls {{parseInt}} and casts the result to a java {{byte}} so it passes "300" and "3000" which are not valid byte lexical forms.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)