added provider uri check; added support for getting URI prefix and qname