version 1.99, 2001/07/06 10:02:16
|
version 1.100, 2001/07/07 11:42:21
|
Line 919 def schemaFile(fn,base,res):
|
Line 919 def schemaFile(fn,base,res):
|
em="Root was <schema>, but not in W3C XML Schema namespace: %s (was %s)"%(XMLSchema.XMLSchemaNS,b.item.nsuri) |
em="Root was <schema>, but not in W3C XML Schema namespace: %s (was %s)"%(XMLSchema.XMLSchemaNS,b.item.nsuri) |
full=None |
full=None |
else: |
else: |
em="Not recognised as W3C XML Schema or RDDL: {%s}:%s"(b.item.nsuri, |
em="Not recognised as W3C XML Schema or RDDL: %s"%b.item.label |
b.item.llabel) |
|
full=None |
full=None |
try: |
try: |
Close(f) |
Close(f) |
Line 1316 if __name__=='__main__':
|
Line 1315 if __name__=='__main__':
|
raise SchemaValidationError,res |
raise SchemaValidationError,res |
|
|
# $Log$ |
# $Log$ |
|
# Revision 1.100 2001/07/07 11:42:21 ht |
|
# error message bug |
|
# |
# Revision 1.99 2001/07/06 10:02:16 ht |
# Revision 1.99 2001/07/06 10:02:16 ht |
# handle attribute default/fixed better, with type and decl |
# handle attribute default/fixed better, with type and decl |
# |
# |