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 | a76b64ab7f0ece60b794af13154d4150ca0170fa (patch) | |
| tree | b62a98dce95f9c716241aad1c89c56fb5338043a /vm/compiler/codegen/CompilerCodegen.h | |
| parent | db54bf2aa78e164a77234bbf3bcc53dec049c5b1 (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 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions
