From c74f40d6383008b618107093c4526a3d0b466196 Mon Sep 17 00:00:00 2001 From: Joshua Boverhof Date: Wed, 23 Jul 2003 20:33:48 +0000 Subject: [PATCH] ---------------------------------------------------------------------- Modified Files: XMLSchema.py -- checking for wrong class in two methods. ---------------------------------------------------------------------- --- XMLSchema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XMLSchema.py b/XMLSchema.py index a40d757..99b0806 100755 --- a/XMLSchema.py +++ b/XMLSchema.py @@ -488,10 +488,10 @@ class MarkerInterface: return isinstance(what, ModelGroupMarker) def isExtension(self, what): - return isinstance(what, ModelGroupMarker) + return isinstance(what, ExtensionMarker) def isRestriction(self, what): - return isinstance(what, ModelGroupMarker) + return isinstance(what, RestrictionMarker) def isSimple(self, what): return isinstance(what, SimpleMarker)