127# this will only work if we access the file through path or128# file object..129f=open(fileInTestDir('test.xsd'),'r')130schema=etree.XMLSchema(file=f)131tree_valid=self.parse('<a><b></b></a>')132self.assert_(schema.validate(tree_valid))