tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54177] New: jkmanager generates non-well-formed XML for certain server timezones
Date Tue, 20 Nov 2012 15:53:35 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54177

            Bug ID: 54177
           Summary: jkmanager generates non-well-formed XML for certain
                    server timezones
           Product: Tomcat Connectors
           Version: 1.2.35
          Hardware: PC
                OS: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_jk
          Assignee: dev@tomcat.apache.org
          Reporter: Jochen.Schwarze@cit.de
    Classification: Unclassified

When you call http://server.example/jkmanager?mime=xml on a server with a
German locale setting and timezone MET (for "Mitteleuropäische Zeit", note the
umlaut "ä"), the result XML ist non-well-formed because of that umlaut
character:

<?xml version="1.0" encoding="UTF-8" ?>
...
<jk:time
  datetime="20121120164838"
  tz="Mitteleurop�ische Zeit"
  unix="1353426518"
/>
...

The umlaut character in the tz attribute is sent not in UTF-8 encoding as
declared but in ISO-8859-1 encoding. Conforming (=all) XML processors refuse to
parse this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message