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

Reduce dependency on the Xerces jar.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.2.0
    • Jena 3.3.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: