Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1288

Reduce dependency on the Xerces jar.

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Jena 3.2.0
    • Fix Version/s: Jena 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andy Andy Seaborne
                Reporter:
                andy Andy Seaborne
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: