You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/12/18 18:57:11 UTC
DO NOT REPLY [Bug 5488] New: -
Parser error with language encoding Cp1252
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5488>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5488
Parser error with language encoding Cp1252
Summary: Parser error with language encoding Cp1252
Product: Tomcat 4
Version: 4.0.1 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: jennings@att.com
The Java 2 SDK EE deploytool includes the machine's default language encoding
in the web.xml it creates. On the NT and Win2K platforms the default US
language is Cp1252 and deploytool inserts <?xml version="1.0" encoding="Cp1252"?
> which generates a sax parsing exception: The encoding "Cp1252" is not
supported. Tomcat 3.2 accepts the XML as generated by deploytool; the parsing
error occurs in the 4.0.1 binaries for Win32.
The workaround is to remove the encoding attribute from the XML after Tomcat
expands the WAR file.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>