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

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 179 for Xml/xsd-fu/trunk/xsd-fu

Show
Ignore:
Timestamp:
05/29/08 17:40:03 (6 months ago)
Author:
callan
Message:
  • Fixes issues with back references (totally broken previously)
  • Specific type resolution fixes which were made apparent by Correction and Immersion
Files:
1 modified

  • Xml/xsd-fu/trunk/xsd-fu (modified) (2 diffs)

Legend:

Unmodified
Added
Removed
  • Xml/xsd-fu/trunk/xsd-fu

    r168 r179  
    5656 
    5757Report bugs to Chris Allan <callan@blackcat.ca>""" % \ 
    58         (error, cmd, DEFAULT_PACKAGE, NAMESPACE, cmd) 
     58        (error, cmd, DEFAULT_PACKAGE, DEFAULT_NAMESPACE, cmd) 
    5959        sys.exit(2) 
    6060 
    … …  
    104104        outputDirectory = None 
    105105        package = DEFAULT_PACKAGE 
    106         namespace = "xs:" 
     106        namespace = "xsd:" 
    107107 
    108         model = parseXmlSchema("tmp/schemas/2003/ome.xsd", namespace) 
     108        model = parseXmlSchema("tmp/schemas/2008-02/ome.xsd", namespace) 
    109109        fu = TemplateInfo(outputDirectory, package) 
    110110        template = NewTextTemplate(open(CLASS_TEMPLATE).read()) 
    111111        for obj in model.objects.values(): 
    112                 if obj.name == "Image": 
    113                         print " +-- %s(%s)" % (obj.name, obj.base) 
     112                if obj.name in ["Experimenter"]: 
     113                        print " +-- %s(base=%s, type=%s)" % (obj.name, obj.base, obj.type) 
    114114                        for prop in obj.properties.values(): 
    115115                                print " +---- %s(%s) [%d:%d]" % \ 

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/