all in lib/biocase/pywrapper! - errorclasses.py, Zeile 82: self.args = None ersetzt durch seld. args = [] (bugfix) - structure/structure_handler.py, in integrateSimpleType: copying vocabularies for explicitly defined types added (bugfix) - structure/structure_handler.py. in startSimpleElement: commented the line twice parser.setFeature(xml.sax.handler.feature_namespace_prefixes, 1) - model.py, in __init__: commented the line self.parser.setFeature(xml.sax.handler.feature_namespace_prefixes, 1) - protocols/TAPIR/schemaparsing.py, in printContent: commented the line parser.setFeature(xml.sax.handler.feature_namespace_prefixes, 1) Changes just for LIDO - structure/structure_handler.py: * added class singletonDict (line 48) * ~line 95 changed into self._includeDict = singletonDict() This bugfix prevents from going in circles when circular references occur in xsd includes (as is the case in gml, which is used for LIDO) - Structure/structure_handler.py, in resolveRefsAndTypes, in the block that resolves node references: * added the line qualRefName = qualRefName.replace('/@', '') * uncommented one line (after "first verify...") That was necessary for LIDO for correctly processing refs, otherwise it would fail. If a reference will be solved, there should be no need to process any children (unless it references a type with children). In this case, the workaround needs to be done a little different - Structure/structure_handler.py, in resolveRefsAndTypes, in the block that resolves type definitions: Added the catching of an unknown type: if not self._globalTypes.has_key(n.origTypeName): ## This is a workaround for the problems with gml data types in LIDO if n.origTypeName in ('{http://www.opengis.net/gml}string', '{http://www.opengis.net/gml}decimal'): n.origTypeName = '{http://www.opengis.net/gml}stringOrNull' else: # global type not defined. raise error log.debug("self._globalTypes=%s" % str(self._globalTypes.keys())) raise ModelStructureError(log, loc=str(self.docURI), reason="Global type definition '%s' missing" % n.origTypeName)