David Brownell wrote in
I was looking at this and I think either the test
needs to change
or the specification does. The relevant parts of the
test (in Java):
newList = doc.getElementsByTagNameNS
newElement = (Element)newList.item (3);
The problem is that only two elements have a
and that "*" is supposed to match "all namespaces".
- <employee> ... EMP0001, Margaret Martin
- <emp:employee> ... EMP0004, Jeny Oconnor
Now, either the spec should be changed so that "*"
ignore any namespaces (and thereby match elements
not in any namespace), or (preferably) the test
so that it accesses item 1, not item 3.