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

Illegal language tags (in RDF/XML) can cause exceptions in Fuseki+TDB.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • TDB 0.9.4, Fuseki 0.2.5
    • None
    • None

    Description

      (split from JENA-163)

      Alexander Dutton writes:

      It seems to be the following language tags in the data that cause this issue:

      • i18n
      • sr@latin

      Both have invalid syntax as per BCP 47, but it might be worth catching this a little earlier and throwing a more appropriate error:

      [alex@lucy jena-fuseki-0.2.4]$ curl -XPUT "http://localhost:3030/public/data?graph=http://creativecommons.org/publicdomain/zero/1.0/rdf" -d@rdf -H"Content-type: application/rdf+xml" -i
      HTTP/1.1 100 Continue

      HTTP/1.1 500 Different ids for http://xmlns.com/foaf/0.1/logo: allocated: expected [000000000000041D], got [000000000000041A]
      Access-Control-Allow-Origin: *
      Server: Fuseki (0.2.4)
      Content-Length: 0

      Attachments

        1. JENA-318-data-bad-lang.rdf
          0.5 kB
          Andy Seaborne

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: