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)

Reply via email to