You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/11/22 12:56:41 UTC

DO NOT REPLY [Bug 2849] - Parse fails with ArrayIndexOutOfBoundsException (1.2.3) or "encoding ISO-8859-1 not supported" (1.4.1)

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=2849>.
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=2849

Parse fails with ArrayIndexOutOfBoundsException (1.2.3) or "encoding ISO-8859-1 not supported" (1.4.1)





------- Additional Comments From Peter.Binney@drkw.com  2001-11-22 03:56 -------
The "encoding not supported" error in 1.4 happens with both versions I've tried 
(1.4.1 and 1.4.4) with the sample classes:

With 1.4.1
----------
+ jview sax.SAX2Count toApache/XercesBug2849.xml
[Fatal Error] :0:0: The encoding "ISO-8859-1" is not supported.
org.xml.sax.SAXException: Stopping after fatal error: The encoding "ISO-8859-1" 
is not supported.
        at org/apache/xerces/framework/XMLParser.reportError 
(XMLParser.java:1228)
        at 
org/apache/xerces/readers/DefaultEntityHandler.startReadingFromDocument 
(DefaultEntityHandler.java:549)
        at org/apache/xerces/framework/XMLParser.parseSomeSetup 
(XMLParser.java:312)
        at org/apache/xerces/framework/XMLParser.parse (XMLParser.java:1080)
        at org/apache/xerces/framework/XMLParser.parse (XMLParser.java:1122)
        at sax/SAX2Count.print (SAX2Count.java:152)
        at sax/SAX2Count.main (SAX2Count.java:330)

+ jview dom.DOMCount toApache/XercesBug2849.xml
[Fatal Error] :0:0: The encoding "ISO-8859-1" is not supported.


With 1.4.4
----------
+ jview sax.SAX2Count toApache/XercesBug2849.xml
[Fatal Error] :0:0: The encoding "ISO-8859-1" is not supported.
org.xml.sax.SAXException: Stopping after fatal error: The encoding "ISO-8859-1" 
is not supported.
        at org/apache/xerces/framework/XMLParser.reportError 
(XMLParser.java:1245)
        at 
org/apache/xerces/readers/DefaultEntityHandler.startReadingFromDocument 
(DefaultEntityHandler.java:554)
        at org/apache/xerces/framework/XMLParser.parseSomeSetup 
(XMLParser.java:314)
        at org/apache/xerces/framework/XMLParser.parse (XMLParser.java:1097)
        at org/apache/xerces/framework/XMLParser.parse (XMLParser.java:1138)
        at sax/SAX2Count.print (SAX2Count.java:152)
        at sax/SAX2Count.main (SAX2Count.java:330)

+ jview dom.DOMCount toApache/XercesBug2849.xml
[Fatal Error] :0:0: The encoding "ISO-8859-1" is not supported.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org