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


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

        

Reply via email to