src/web/tag.js
function _gpfWebGetNamespaceAndName (name) {
    var EXPECTED_PARTS_COUNT = 2,
        NAMESPACE_PREFIX = 0,
        NAME = 1,
        parts = name.split(":");
    if (parts.length === EXPECTED_PARTS_COUNT) {
        return {
            namespace: _gpfWebGetNamespace(parts[NAMESPACE_PREFIX]),
            name: parts[NAME]
        };
    }
}
function _gpfWebGetNamespaceAndName (name) {
    var EXPECTED_PARTS_COUNT = 2,
        NAMESPACE_PREFIX = 0,
        NAME = 1,
        parts = name.split(":");
    if (parts.length === EXPECTED_PARTS_COUNT) {
        return {
            namespace: _gpfWebGetNamespace(parts[NAMESPACE_PREFIX]),
            name: parts[NAME]
        };
    }
}
function _gpfWebGetNamespaceAndName ( name ) { var EXPECTED_PARTS_COUNT = 2 , NAMESPACE_PREFIX = 0 , NAME = 1 , parts = name . split ( ":" ) ; if ( parts . length === EXPECTED_PARTS_COUNT ) { return { namespace : _gpfWebGetNamespace ( parts [ NAMESPACE_PREFIX ] ) , name : parts [ NAME ] } ; } }
Resolves prefixed name to namespace and name

@param {String} name Attribute or node name
@return {{namespace, name}|undefined} Namespace and name in a structure if prefixed, undefined otherwise
@since 0.2.2
Resolves prefixed name to namespace and name