[
https://issues.apache.org/jira/browse/MARMOTTA-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765222#comment-13765222
]
ASF subversion and git services commented on MARMOTTA-155:
----------------------------------------------------------
Commit a2de373bd4f4c937cae38a59747cce1951b3b10b in branch refs/heads/develop
from [~p_ansell]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;h=a2de373 ]
MARMOTTA-155 : Switch to an ill-formed language tag
The language tag "invalid" is not ill-formed according to BCP47, although it is
not registered.
The underlying issue that caused the test to fail was due to the SQL database
scheme restriction VARCHAR(5) on the language tag field.
> 3-char lang-tags are not accepted
> ---------------------------------
>
> Key: MARMOTTA-155
> URL: https://issues.apache.org/jira/browse/MARMOTTA-155
> Project: Marmotta
> Issue Type: Bug
> Components: Triple Store
> Affects Versions: 3.0-incubating
> Reporter: Jakob Frank
> Assignee: Peter Ansell
> Labels: kiwi, rdf
> Fix For: 3.1-incubating
>
> Attachments: MARMOTTA-155.ttl
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Currently the triple-store does not accept 3-char language tags. But they are
> used:
> 17:17:47.556 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "ܡܓܪ"@arc) [null]: an
> exception occurred (Invalid locale format: arc)
> 17:17:47.579 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Hongrie"@frp) [null]
> : an exception occurred (Invalid locale format: frp)
> 17:17:47.579 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Hongrie"@nrm) [null]
> : an exception occurred (Invalid locale format: nrm)
> 17:17:47.583 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Hungari"@tpi) [null]
> : an exception occurred (Invalid locale format: tpi)
> 17:17:47.597 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Hungary"@pam) [null]
> : an exception occurred (Invalid locale format: pam)
> 17:17:47.597 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Hungary"@sco) [null]
> : an exception occurred (Invalid locale format: sco)
> 17:17:47.599 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Hungarya"@war) [null
> ]: an exception occurred (Invalid locale format: war)
> 17:17:47.602 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Hungría"@ast) [null]
> : an exception occurred (Invalid locale format: ast)
> 17:17:47.615 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Madźarska"@hsb) [nul
> l]: an exception occurred (Invalid locale format: hsb)
> 17:17:47.633 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Ungariya"@rmy) [null
> ]: an exception occurred (Invalid locale format: rmy)
> 17:17:47.633 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Ungarn"@bar) [null]:
> an exception occurred (Invalid locale format: bar)
> 17:17:47.637 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Ungarn"@nds) [null]:
> an exception occurred (Invalid locale format: nds)
> 17:17:47.644 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Ungherìa"@pms) [null
> ]: an exception occurred (Invalid locale format: pms)
> 17:17:47.644 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Unghirìa"@scn) [null
> ]: an exception occurred (Invalid locale format: scn)
> 17:17:47.644 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Ungria"@tet) [null]:
> an exception occurred (Invalid locale format: tet)
> 17:17:47.661 WARN - not adding triple (http://sws.geonames.org/719819/,
> http://www.geonames.org/ontology#alternateName, "Венгрия"@udm) [null]
> : an exception occurred (Invalid locale format: udm)
--
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