summaryrefslogtreecommitdiffstats
path: root/archive
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2009-11-16 21:23:11 -0800
committerElliott Hughes <enh@google.com>2009-11-17 11:43:41 -0800
commit6bcf32ab404c39b85d25430f6df16503ef3526cf (patch)
tree473ec3f8d56e671087b982736e7d017dfa804554 /archive
parentd2bed869f45bd0f286f5916e58cdacde8bd66397 (diff)
downloadlibcore-6bcf32ab404c39b85d25430f6df16503ef3526cf.zip
libcore-6bcf32ab404c39b85d25430f6df16503ef3526cf.tar.gz
libcore-6bcf32ab404c39b85d25430f6df16503ef3526cf.tar.bz2
Various XML fixes.
Add tests for bug 2487, exploring the situations where "]]>" is and isn't allowed. Fix the bug by changing KXmlParser so it pays attention to whether it's dealing with normal text or text in an attribute value and reports errors appropriately. In order to pass the new tests, we also need to fix DocumentBuilder to pay attention to its DocumentBuilderFactory's "coalescing" setting: whether or not adjacent text/CDATA nodes should be coalesced. This in turn fixes a @KnownFailure in DocumentBuilderFactoryTest: previously we didn't allow the caller to turn "coalescing" off (though until my previous patch, we didn't actually coalesce anyway). Now we support both, and I've made coalescing the default, because bug reports tell us that's what users want. It's how the RI behaves, too. Bug: 2487
Diffstat (limited to 'archive')
0 files changed, 0 insertions, 0 deletions