Changeset 188 for Xml/xsd-fu/trunk/fu.py
- Timestamp:
- 06/03/08 13:30:50 (6 months ago)
- Files:
-
- 1 modified
-
Xml/xsd-fu/trunk/fu.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Xml/xsd-fu/trunk/fu.py
r179 r188 379 379 """ 380 380 e = element 381 e_name = e.getName() 382 e_type = e.getType() 381 383 if not e.isExplicitDefine() \ 382 and (e .name not in EXPLICIT_DEFINE_OVERRIDE or not e.topLevel):384 and (e_name not in EXPLICIT_DEFINE_OVERRIDE or not e.topLevel): 383 385 logging.info("Element %s.%s not an explicit define, skipping." % (parent, e)) 384 386 return … … 386 388 logging.error("Element %s.%s extension chain contains mixed and non-mixed content, skipping." % (parent, e)) 387 389 return 388 if e .getType() != e.getName():389 logging.info("Element %s.%s is not a concrete type , skipping." % (parent,e))390 if e_type != e_name and e_name not in EXPLICIT_DEFINE_OVERRIDE: 391 logging.info("Element %s.%s is not a concrete type (%s != %s), skipping." % (parent, e, e_type, e_name)) 390 392 return 391 393 obj = OMEModelObject(e, self)
