Fix bug 22334 (namespace inheritance)
Resolved Bug 21222.
Added new tests to check the namespace bindings of directly constructed elements.
Added more format-number tests.