Changeset 185 for Xml/Validator
- Timestamp:
- 06/02/08 15:11:24 (6 months ago)
- Location:
- Xml/Validator
- Files:
-
- 2 added
- 3 modified
-
Backend/OmeValidator.py (modified) (2 diffs)
-
Backend/ome-2008-02-V2.xsd (added)
-
WebApp/README.txt (modified) (1 diff)
-
WebApp/schema/ome-2008-02-V2.xsd (added)
-
WebApp/validator/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": -
Xml/Validator/WebApp/README.txt
r88 r185 4 4 started by running the start-validator.py script. 5 5 6 The normal command to start it is: 7 python start-validator.py 6 8 7 9 This project was generated from a standard TurboGears template. -
Xml/Validator/WebApp/validator/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":
