|
Notes |
|
|
(0000025)
|
|
borisk
|
|
03-08-05 00:00
|
|
Not sure, but may be problem is in com.caucho.vfs.Encoding:465 where
_javaName.put("KOI8-R", "KOI8-R"); should be used instead of original
_javaName.put("KOI8-R", "KOI8_R");
|
|
|
|
(0000026)
|
|
borisk
|
|
03-08-05 00:00
|
|
|
Ok, I have recompiled Encoding.java with above changes and the problem has gone. But I still not sure I break something more. Someone of Resin gurus should look at this. |
|
|
|
(0000027)
|
|
ferg
|
|
03-08-05 00:00
|
|
Resin changed to use Charset, but the canonical mapping still used the old java name.
server/054g |
|
|
|
(0000028)
|
|
dicr
|
|
03-08-05 00:00
|
|
I have this similar problen in all other Java application with JDK 1.5.
This is the Xerces problem whith validating=true parser.
I try to parse simple document with DOM API:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jmxserver SYSTEM "jmxserver.dtd">
<jmxserver/>
And get Error:
org.xml.sax.SAXParseException: Invalid encoding name "KOI8_R".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.createReader(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager$ScannedEntity.setReader(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.setEncoding(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.scanTextDecl(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:146)
at org.dicr.jmx.server.config.ServerConfig.parseXML(ServerConfig.java:245)
|
|
|
|
(0000029)
|
|
dicr
|
|
03-08-05 00:00
|
|
|