• Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 185 for Xml/Validator/WebApp/validator/OmeValidator.py

Show
Ignore:
Timestamp:
06/02/08 15:11:24 (6 months ago)
Author:
andrew
Message:

Adding 2008-02 V2 checks to validator.

Files:
1 modified

  • Xml/Validator/WebApp/validator/OmeValidator.py (modified) (2 diffs)

Legend:

Unmodified
Added
Removed
  • Xml/Validator/WebApp/validator/OmeValidator.py

    r170 r185  
    276276 
    277277        def checkOldSchemas(self, inDocument): 
    278                 for thePossibleSchema in [["ome-2008-02-V1.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"]]: 
    279279                        # skip current one 
    280280                        if not thePossibleSchema[0] == self.theSchemaFile: 
    … …  
    298298                # choose the schema source 
    299299                # assume the new schema 
    300                 self.theSchemaFile = "ome-2008-02-V1.xsd" 
     300                self.theSchemaFile = "ome-2008-02-V2.xsd" 
    301301                # if old schema 
    302302                if self.theNamespace == "http://www.openmicroscopy.org/XMLschemas/OME/FC/ome.xsd": 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/