From 5fe4a4de34e9ba51c4e97e6a1bcedcc6af78b95f Mon Sep 17 00:00:00 2001 From: Joshua Boverhof Date: Wed, 8 Oct 2003 17:07:03 +0000 Subject: [PATCH] ---------------------------------------------------------------------- Modified Files: XMLSchema.py -- now we get reasonable error message back when import or include is incorrectly defined. File "/usr/local/lib/python2.3/site-packages/ZSI/wstools/XMLSchema.py", line 478, in __checkAttributes raise SchemaError, '%s, unknown attribute' %a ZSI.wstools.XMLSchema.SchemaError: location, unknown attribute ---------------------------------------------------------------------- --- XMLSchema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XMLSchema.py b/XMLSchema.py index 877c03a..c4d5dce 100755 --- a/XMLSchema.py +++ b/XMLSchema.py @@ -1016,7 +1016,7 @@ class XMLSchema(XMLSchemaComponent): indx += 1 - class Import(XMLSchemaComponent): + class Import(XMLSchemaComponent, MarkerInterface): """ parent: schema @@ -1076,7 +1076,7 @@ class XMLSchema(XMLSchemaComponent): return self._schema or schema - class Include(XMLSchemaComponent): + class Include(XMLSchemaComponent, MarkerInterface): """ parent: schema