diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-02-19 09:22:21 -0800 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2010-02-19 09:22:21 -0800 |
commit | 1ec94feeb09591c30996c7c0834d6f131e204922 (patch) | |
tree | 28de8c0740a3032d3a5bd6c3a9414e448f9dd7b7 /include/ScopedJavaUnicodeString.h | |
parent | 3fe3b27d0af854f28fc8de612271c0ca9cd6a8f7 (diff) |
Filling in some gaps in our XML DOM v3 API.
Specifically, these methods on Node:
- setTextContent()
- isSameNode()
- lookupPrefix()
- lookupNamespaceURI()
In order to implement the last 2 I needed to fix our KXml parser
to include namespace attributes (ie. xmlns) in the pulled document.
Previously these were being elided.
Added a new testcase to verify our behaviour. It passes the RI. On
Dalvik we have a small issue with entity declarations.
Added a new testcase to verify Node.getBaseURI(). This test fails
because the method isn't implemented. Part of this test required
moving a method out to Support_Resources.java; in order to verify
the BaseURI the XML must be read from a file and not a stream (so
that path information exists).
Also...
- Style cleanup: changing static calls to look like static calls.
- Efficiency: avoiding concatenating with "" when unnecessary
- Duplication: sharing prefix validation between attributes and elements
- Renaming NodeTests to NodeTest for vogar-friendliness
Outstanding:
- I need to write a test for setTextContent().
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions