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/12 17:24:42 UTC
[jira] [Resolved] (JENA-1288) Reduce dependency on the Xerces jar.
[ https://issues.apache.org/jira/browse/JENA-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-1288.
---------------------------------
Resolution: Fixed
Fix Version/s: Jena 3.3.0
> 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
> Fix For: Jena 3.3.0
>
>
> 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)