History log of /libcore/luni/src/main/java/org/apache/harmony/xml/parsers/DocumentBuilderImpl.java
Revision Date Author Comments
3f1a5ebc337e896977bbc75aa2dc370e97805794 14-Oct-2014 Elliott Hughes <enh@google.com> Improve support for non-BMP characters in XML.

This adds support for writing surrogate pairs out as entity references in
KXmlSerializer and for parsing non-BMP entity references in
DocumentBuilderImpl.

Emoji and XML. Two of my least favorite things together at last.

Bug: 17960630
Change-Id: If5e1001faf250e87e6eeebe3449a6ebc115789a1
5e60d541ae2a4085f4c6f3739c6cff84469bc052 07-Jul-2011 Jesse Wilson <jessewilson@google.com> Fix a performance regression in XML documents with entities.

In Honeycomb we regressed so that documents containing many
HTML entities (like &amp;) were exponentially slow in the number
of entities.

This is the time to parse a 2000-character text containing
either 50% or 100% entities. Note that 100% entities was more
than 2x as slow as 50% entities.

run % ms
before 0.5 140.4
after 0.5 21.2
before 1.0 401.9
after 1.0 41.6

Bug: http://code.google.com/p/android/issues/detail?id=18102
Change-Id: I1aee43a0111e1e2b7e439b70d9ba5961ec69dced
0463b62eef5a7e8a477ddf7a972af198e46ecd5f 11-Jan-2011 Jesse Wilson <jessewilson@google.com> Expand predefined entities by default, even if coalescing is off.

Change-Id: I43f0a720e96486a83692a9f08368359f13c875fb
http://b/3341115
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
7365de1056414750d0a7d1fdd26025fd247f0d04 12-Aug-2010 Jesse Wilson <jessewilson@google.com> Sorting imports.

Change-Id: I8347bc625480a1c37a1ed9976193ddfedeb00bbc
f33eae7e84eb6d3b0f4e86b59605bb3de73009f3 13-May-2010 Elliott Hughes <enh@google.com> Remove all trailing whitespace from the dalvik team-maintained parts of libcore.

Gentlemen, you may now set your editors to "strip trailing whitespace"...

Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
6b811c5daec1b28e6f63b57f98a032236f2c3cf7 03-May-2010 Peter Hallam <peterhal@google.com> Merge awt-kernel, icu, luni-kernel, prefs, security-kernel, x-net into luni
Merge xml except xmlpull and kxml into luni