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 2012/09/08 18:44:07 UTC

[jira] [Commented] (JENA-318) Illegal language tags (in RDF/XML) can cause exceptions in Fuseki+TDB.

    [ https://issues.apache.org/jira/browse/JENA-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451363#comment-13451363 ] 

Andy Seaborne commented on JENA-318:
------------------------------------

Fuseki log starts:

15:43:15 WARN  Fuseki               :: {W115} Primary subtag must be between 1 and 8 alpha characters: sr@latin
15:43:15 WARN  Fuseki               :: Language not valid: sr@latin
15:43:15 WARN  Fuseki               :: {W115} Primary subtag must be between 1 and 8 alpha characters: i18n
15:43:15 WARN  Fuseki               :: Language not valid: i18n


                
> Illegal language tags (in RDF/XML) can cause exceptions in Fuseki+TDB.
> ----------------------------------------------------------------------
>
>                 Key: JENA-318
>                 URL: https://issues.apache.org/jira/browse/JENA-318
>             Project: Apache Jena
>          Issue Type: Bug
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>         Attachments: JENA-318-data-bad-lang.rdf
>
>
> (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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira