8cfc47957f397cc0066cd923711671533f72374b |
|
27-Aug-2015 |
Neil Fuller <nfuller@google.com> |
Fix PullParser reuse regression Commit 0424d12f9b8a19c4a451282bc8ae974f6109424d introduced a regression: calling setInput() would not fully reset the parser iff the parser had already parsed a <!DOCTYPE tag. This change contains a fix and a test. Thanks to mike@ for the report. Bug: https://code.google.com/p/android/issues/detail?id=182605 Change-Id: Icddc1c52bca3beaba7f5ee662d18757d6fce6cf2
|
d343b157ab7b919467f1bdb06b6c5c7b49437049 |
|
06-May-2015 |
Wojciech Staszkiewicz <staszkiewicz@google.com> |
Handle whitespaces after DOCTYPE element This change fixes a bug where a whitespace after DOCTYPE element in a file would cause the file to be unparsable. It also adds a regresion test. bug: https://code.google.com/p/android/issues/detail?id=171828 Change-Id: I1036b17833c12bc275c058b835fb8f02665edfae
|
9349ec01a1bebc3b704b400fb00ccfb42e047a02 |
|
27-Jun-2013 |
Vladimir Marko <vmarko@google.com> |
Fix unexpected EOF handling by KXmlParser. Avoid read position slipping beyond limit on EOF, causing an ArrayIndexOutOfBoundsException. Also fix two incorrect checks whether to read more data. Bug: 9012715 Change-Id: I40f60becd97eb4d9f33842bea2c19e9dc531d3b7
|
48d7dbad8dd83395667d9846e49c5ba38f0a5258 |
|
11-Nov-2011 |
Jesse Wilson <jessewilson@google.com> |
Warn about a fixed bug in XmlPullParser.nextText() Bug: http://code.google.com/p/android/issues/detail?id=21425 Change-Id: I4c69d67bb8bfdf3f78359d800860d5dc2e2e349f
|
6ce8e6ee5da964f724d39655fba0e432cff4c3a6 |
|
17-May-2011 |
Jesse Wilson <jessewilson@google.com> |
Skip BOM characters even with an explicit charset. Change-Id: I697448528324cd68196d00ebf82ee8eecb72148d http://code.google.com/p/android/issues/detail?id=16892
|
995a384234fd0ba9233ebcce380628bbe346b911 |
|
14-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Fail parsing if there's text outside the document element. We have a similar bug for misplaced DTDs. This is tested but not fixed by this change. Change-Id: I8e06ec9197cb8c4135212056ab791c254c9dcc3d http://b/3452274
|
38e84b835c2101206d846f7ab6fc444914661753 |
|
20-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Capture the DTD body while it is being parsed. Change-Id: Ibef02ca759eb56a00f0f72f4063d129ef5350d21 http://b/3241492
|
773533775fab54079cebc329d54f6286f5ac16f2 |
|
30-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
The last of the Kxml correctness fixes for Expat compatibility. With this change we should be able to drop the Expat pull parser and use Kxml exclusively. I'm deferring that change until after the current release. Change-Id: I7c6d6dfe6c1e9ae9417c48603068ddd4ade78b76 http://b/3090550
|
086fd0244a54fa5ecf13ea66d49b22b36d7d456e |
|
30-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
Fix XML DOM test failures and close guard warnings. Fix KxmlParser to capture the DTD's root element name, system ID and public ID. This is more robust than capturing the same in the pull-to-DOM adapter. Fix close guard warnings in XML tests. Close input streams of resource files. Don't catch exceptions only to call fail(). http://b/3090550 Change-Id: I7cfafde58cc28af79c48386a4d124803c8791328
|
76c85883787791ba605a51d7bea3cfc27b5c5d95 |
|
25-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
Resolve entity values recursively and support default attributes. Change-Id: Ib32040e0ebe8ef52e8d382fb65ab4d08779901b7 http://b/3090550
|
838419e39510cb3bf04cf5bfef2929a7cf759e65 |
|
23-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
Test the behavior of pull parser DTD parsing / handling. Change-Id: Ic8560bf066de05c314801a403966be945974957d http://b/3090550
|
c4145311fb4a343f59851aea9f36dcabc84ff737 |
|
22-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
Move XML parser tests out of apache/harmony/xml. These tests weren't written by Harmony; we were using that name because we didn't have a better one. Today we do: "libcore". Change-Id: I0e250874b2d66d7e6d4e40df877475a0d52c7fe1
|