WebArchiveReader
WebArchiveReader copied to clipboard
org.xml.sax.SAXParseException: Unexpected end of documen
I have noticed that for Android 4.4 handsets, saving a webview with:
webview.saveWebArchive(name);
and reading it after with WebArchiveReader WebArchiveReader (see code below) throws an Encoding Exception:
14-09 15:10:31.976: W/System.err(2240): org.xml.sax.SAXParseException: Unexpected end of document 14-09 15:10:31.976: W/System.err(2240): at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:125)
If you find a way to correct this error, please submit a merge request and I'll update the project source here.
Greg