seems like element.getLocalName() returns null if the node isn't
namespace-aware (which is the default).
that's a problem. other implementations return the name after the
prefix is removed etc.
code is (summarised) -
Element element = document.createElement ("tagname");
element.cloneNode (true);
bang.
in fact i'm seeing other namespace problems too (compared to Xerces).
>http://android.git.kernel.org/?p=platform/dalvik.git;a=tree;f=libcore/xml/src/main/java;h=a4ef5269036bd62eb79c8d2f418f2baf05a383cf;hb=refs/heads/master
>
>As to why it's incompatible, I don't know, looking at the code
>removing children of Document should work. I guess you could either
>work around the bugs, fix them upstream then ship a forked copy until
>a new Android release re-merges, or use a different dom
>implementation.
--
jason.software.particle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---