Hi, I'm new to the list I just thought this issue should be raised. I was receiving an error from Tomcat when is was parsing an XML document.
The XML document was using a standard latin encoding 8859-1 declared in this way: <?xml version="1.0" encoding="iso-8859-1"?> Error received: org.xml.sax.SAXParseException: Invalid encoding name "iso-8859-1". i knew iso-8859-1 was not an invalid encoding so I checked the code to see what was going on. Inside the method org.apache.xerces.impl.XMLEntityManager.createReader an upper case representation of the encoding is created with a toUpperCase(). In a turkish locale a small 'i' becomes a Turkish 'I' with a dot on it hence subsequent checking of the encoding against the pre-defined valid lists fails. My suggestion would be that the toUpperCase should be called with the overload that allows the specification of a english locale and hence creating the correct 'I' Thanks Alistair