Code review comment for lp:~zorba-coders/zorba/bug905035

Revision history for this message
Chris Hillery (ceejatec) wrote :

Would it be better to have StaticContext::getNamespaceBindings(), rather than getDeclaredPrefixes()? That would allow users to get both the prefixes and the URIs they are bound to in one step. It would also be parallel with the new Item::getNamespaceBindings() method (and could use the same NsBindings typedef), and parallel with the existing static_context::get_namespace_bindings() method that is used internally.

« Back to merge proposal