--- Comment #5 from Lazar <> ---
The content of the enctest.jspx is:

<?xml version="1.0" encoding="IBM871"?>

<html xmlns:jsp="";>
 < pageEncoding="IBM871" />
 <jsp:output omit-xml-declaration="no"/>
 You should see this text.

So actually there is an encoding attribute in the prolog. For some reason JRE
XML parser does not detect it correctly. On the other hand, the deprecated
XMLEncodingDetector from before the refactoring, which parsed the files itself,
correctly detects the encoding from the prolog - for example, with Tomcat 8.5.4
the sample works correctly.

I apologise for that my second attachment is an incorrect one - I noticed that
by mistake I have attached the second war from the first attachment instead of
the problematic war with IBM871 encoding. I attach now the correct one with
name encsample.war

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to