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 (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/27 18:30:34 UTC
[jira] [Resolved] (JENA-147) SAX2Model errorhandler does not work
correctly if you have a Turkish locale
[ https://issues.apache.org/jira/browse/JENA-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-147.
--------------------------------
Resolution: Fixed
Assignee: Andy Seaborne
> SAX2Model errorhandler does not work correctly if you have a Turkish locale
> ---------------------------------------------------------------------------
>
> Key: JENA-147
> URL: https://issues.apache.org/jira/browse/JENA-147
> Project: Jena
> Issue Type: Bug
> Components: Jena
> Environment: any
> Reporter: Simon Helsen
> Assignee: Andy Seaborne
>
> There is a small language bug in the JenaReader class when you run Jena on Turkish machine. In line 440, there is a call to toUpperCase() which incorrectly maps "strict" to "STRYCT" when executed on a Turkish machine. This leads to obviously problems which we observed when using SAX2Model.
> The fix is to use toUpperCase(Locale.ENGLISH) in this case because you know the keywords are English
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira