I believe you can leave your assertion the way it is.
Consider this piece of code:
public static void test7 () {
String input =
"" +
"" +
"Sufjan Stevens" +
"Illinois" +
"http://www.sufjan.com/" +
"" +
"" +
Hi William,
I think it is not possible to use namespace with non-null URI with
empty prefix. There is notice "In XPath 1.0, all unprefixed names are
unqualified." in Jaxen FAQ (Jaxen is XPath engine used by dom4j). I
skim throught the Jaxen sources -- it seems everytime Jaxen see empty
Xpath namesp