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

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 104 for Xml/Working/STD.xsd

Show
Ignore:
Timestamp:
09/28/07 12:22:58 (16 months ago)
Author:
andrew
Message:

Added new code from Ilya and fixed the xml:lang problem.

Files:
1 modified

  • Xml/Working/STD.xsd (modified) (5 diffs)

Legend:

Unmodified
Added
Removed
  • Xml/Working/STD.xsd

    r54 r104  
    1919        targetNamespace = "http://www.openmicroscopy.org/Schemas/STD/2007-06" 
    2020        xmlns:STD = "http://www.openmicroscopy.org/Schemas/STD/2007-06" 
    21          version = "1" 
     21        xmlns:xml="http://www.w3.org/XML/1998/namespace" 
     22         version = "2" 
    2223         elementFormDefault = "qualified"> 
    23         <import namespace = "http://www.w3.org/XML/1998/namespace"/> 
     24        <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/> 
    2425        <element name = "Element"> 
    2526                <annotation> 
    … …  
    2829                <complexType> 
    2930                        <sequence> 
    30                                 <element ref = "STD:Description" minOccurs = "0"/> 
     31                                <element ref = "STD:Label" minOccurs = "0" maxOccurs = "unbounded"/> 
     32                                <element ref = "STD:Description" minOccurs = "0" maxOccurs = "unbounded"/> 
    3133                        </sequence> 
    3234                        <attribute name = "Name" use = "required"> 
    … …  
    3739                                </simpleType> 
    3840                        </attribute> 
    39                         <attribute name = "DBLocation" use = "required" type = "string"/> 
     41                        <attribute name = "DBLocation" use = "optional" type = "string"/> 
    4042                        <attribute name = "DataType" use = "required"> 
    4143                                <simpleType> 
    … …  
    6567                <complexType> 
    6668                        <sequence> 
    67                                 <element ref = "STD:Description" minOccurs = "0"/> 
     69                                <element ref = "STD:Label" minOccurs = "0" maxOccurs = "unbounded"/> 
     70                                <element ref = "STD:Description" minOccurs = "0" maxOccurs = "unbounded"/> 
    6871                                <element ref = "STD:Element" maxOccurs = "unbounded"/> 
    6972                        </sequence> 
    7073                        <attribute name = "Name" use = "required"> 
     74                                <simpleType> 
     75                                        <restriction base = "string"> 
     76                                                <maxLength value = "64"/> 
     77                                        </restriction> 
     78                                </simpleType> 
     79                        </attribute> 
     80                        <attribute name = "Parent" use = "optional"> 
    7181                                <simpleType> 
    7282                                        <restriction base = "string"> 
    … …  
    120130                <annotation> 
    121131                        <documentation> 
    122                                 Just some free-form text to describe Images, Screens and Projects. 
    123                                 The content model is ANY, which means that en entire XML sub-document can be placed here. 
     132                                Just some human-readable text to serve as documentation. 
    124133                        </documentation> 
    125134                </annotation> 
     135                <complexType> 
     136                        <simpleContent> 
     137                                <extension base = "string"> 
     138                                        <attribute ref = "xml:lang" default = "en"/> 
     139                                </extension> 
     140                        </simpleContent> 
     141                </complexType> 
     142        </element> 
     143        <element name = "Label"> 
     144                <complexType> 
     145                        <simpleContent> 
     146                                <extension base = "string"> 
     147                                        <attribute ref = "xml:lang" default = "en"/> 
     148                                </extension> 
     149                        </simpleContent> 
     150                </complexType> 
    126151        </element> 
    127152</schema> 

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/