WebArchiveReader icon indicating copy to clipboard operation
WebArchiveReader copied to clipboard

org.xml.sax.SAXParseException: Unexpected end of documen

Open prakharp opened this issue 11 years ago • 1 comments

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)

prakharp avatar Jan 23 '14 10:01 prakharp

If you find a way to correct this error, please submit a merge request and I'll update the project source here.

Greg

gregko avatar Jan 23 '14 14:01 gregko