nsParse(name)
Parse a namespace-qualified name into a namespace name and a name. Returns the namespace name and a name.
A namespace-qualified name is usually of the form ++ns++name, as in:
>>> nsParse('++acquire++foo') ('acquire', 'foo')
The part inside the +s must be an identifier, so:
>>> nsParse('++hello world++foo') ('', '++hello world++foo') >>> nsParse('+++acquire+++foo') ('', '+++acquire+++foo')
But it may also be a @@foo, which implies the view namespace:
>>> nsParse('@@foo') ('view', 'foo')>>> nsParse('@@@foo') ('view', '@foo')>>> nsParse('@foo') ('', '@foo')