Changeset 185 for Xml/Validator/Backend/OmeValidator.py
- Timestamp:
- 06/02/08 15:11:24 (6 months ago)
- Files:
-
- 1 modified
-
Xml/Validator/Backend/OmeValidator.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Xml/Validator/Backend/OmeValidator.py
r170 r185 276 276 277 277 def checkOldSchemas(self, inDocument): 278 for thePossibleSchema in [["ome-2008-02-V 1.xsd","February 2008 V2"],["ome-2007-06-V2.xsd","September 2007 V2"],["ome-2007-06-V1.xsd","June 2007 V1"],["ome-fc-tiff.xsd","2003 - Tiff Variant"], ["ome-fc.xsd","2003 - Standard version"]]:278 for thePossibleSchema in [["ome-2008-02-V2.xsd","February 2008 V2"],["ome-2008-02-V1.xsd","February 2008 V1"],["ome-2007-06-V2.xsd","September 2007 V2"],["ome-2007-06-V1.xsd","June 2007 V1"],["ome-fc-tiff.xsd","2003 - Tiff Variant"], ["ome-fc.xsd","2003 - Standard version"]]: 279 279 # skip current one 280 280 if not thePossibleSchema[0] == self.theSchemaFile: … … 298 298 # choose the schema source 299 299 # assume the new schema 300 self.theSchemaFile = "ome-2008-02-V 1.xsd"300 self.theSchemaFile = "ome-2008-02-V2.xsd" 301 301 # if old schema 302 302 if self.theNamespace == "http://www.openmicroscopy.org/XMLschemas/OME/FC/ome.xsd":
