Possible bug when parsing an XML document when JVM is using Turkish locale

2008-06-24 Thread Ali Seaton
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: Error received: org.xml.sax.SAXParseException: Invalid encoding name

Re: Possible bug when parsing an XML document when JVM is using Turkish locale

2008-06-24 Thread Michael Glavassevich
Hi Alistair, You must be using an ancient version of Xerces. This particular problem was fixed way back in 2002. Try using the latest release (2.9.1) available here: http://xerces.apache.org/xerces2-j/download.cgi. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMA

Re: Possible bug when parsing an XML document when JVM is using Turkish locale

2008-06-24 Thread Ali Seaton
Hi Michael, Thanks for the quick reply, I had downloaded the code for version 2.0.2 as this is what was embedded within the application I was debugging. When I searched on google I didn't find any reference to this problem so I never though to check the latest version for the fix - doh! Thanks al