Browse Source

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

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


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

+ 2
- 2
XMLSchema.py View File

@@ -1016,7 +1016,7 @@ class XMLSchema(XMLSchemaComponent):
indx += 1


class Import(XMLSchemaComponent):
class Import(XMLSchemaComponent, MarkerInterface):
"""<import>
parent:
schema
@@ -1076,7 +1076,7 @@ class XMLSchema(XMLSchemaComponent):
return self._schema or schema


class Include(XMLSchemaComponent):
class Include(XMLSchemaComponent, MarkerInterface):
"""<include schemaLocation>
parent:
schema


Loading…
Cancel
Save