8006424: Passing null or undefined to adapter class constructors results in NPE or ClassCastException
Reviewed-by: attila, hannesw, jlaskey
<empty/>
[#document: null]
<empty/>
true
empty
empty
foo
2
v1
v2
some text
true
<foo a1="v1" a2="v2">some text</foo>
namespace
default.namespace
ns:child
ns
other.namespace
ns:type
ns
other.namespace