commit | 3758ae700d96e0a0ae2781599b6fb9688976c280 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 17 18:05:40 2009 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Nov 18 14:01:02 2009 -0800 |
tree | de6ce6d31b04d48b1bbb1d14c14ff30065530d23 | |
parent | 2545b763ba2015f2a0d0a8c68373dceae9f853ad [diff] |
Fix KXmlSerializer so it won't generate invalid XML. We were allowing arbitrary characters to be output (which, surprisingly, XML does not), and we weren't correctly escaping CDATA sections that contained "]]>". Pull out some of my test helpers from DocumentBuilderTest into Support_Xml, because they're more generally useful when writing tests involving XML. Also correct a bunch of spelling mistakes in XmlSerializer's javadoc, since I happened to be reading through.