works with namespaces defined in schema element