Summary: | tomcat-users.xml has invalid encoding "cp1252" when using endorsed library xercesImpl.jar | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | Stuart <apache> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apache |
Priority: | P2 | ||
Version: | 6.0.18 | ||
Target Milestone: | default | ||
Hardware: | PC | ||
OS: | Windows Vista |
Description
Stuart
2009-03-24 22:41:53 UTC
The change to cp1252 is as a result of bug 45332. When you use xerces via the endorsed mechanism, the feature http://apache.org/xml/features/allow-java-encodings is false so cp1252 isn't recognised. I'll look at using the IANA names. A fix has been made in trunk and proposed for 6.0.x. I took a different approach (which will only work with xerces) that tries to configure the xml parser to support the java encoding names. This has been fixed in 6.0.x and will be included in 6.0.21 onwards. |