Browse Source

----------------------------------------------------------------------

Modified Files:
 	XMLSchema.py -- checking for wrong class in two methods.

 ----------------------------------------------------------------------
main
Joshua Boverhof 21 years ago
parent
commit
c74f40d638
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      XMLSchema.py

+ 2
- 2
XMLSchema.py View File

@@ -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)


Loading…
Cancel
Save