def root(self, parts):
result = None<EOL>name = parts[<NUM_LIT:0>]<EOL>log.debug('<STR_LIT>', name)<EOL>qref = self.qualify(parts[<NUM_LIT:0>])<EOL>query = BlindQuery(qref)<EOL>result = query.execute(self.schema)<EOL>if result is None:<EOL><INDENT>log.error('<STR_LIT>', name)<EOL>raise PathResolver.BadPath(name)<EOL><DEDENT>else:<EOL><INDENT>log.debug('<STR_LIT>', name, Repr(result))<EOL><DEDENT>return result<EOL>
Find the path root.
@param parts: A list of path parts.
@type parts: [str,..]
@return: The root.
@rtype: L{xsd.sxbase.SchemaObject}