Resolving an xpath that includes namespaces in Java appears to require the use of a NamespaceContext object, mapping prefixes to namespace urls and vice versa.
NamespaceContext
I've just been working through using xpath and NamespaceContexts myself. I came across a good treatment of the issue on developerworks.