← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 276: Determined that data_name is more appropriate as an attribute instead of an element.

 

------------------------------------------------------------
revno: 276
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Sun 2012-06-24 13:08:29 -0300
message:
  Determined that data_name is more appropriate as an attribute instead of an element.
modified:
  schemas/datatypes.xsd


--
lp:mlhim-specs
https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main

Your team MLHIM Specifications Developers is subscribed to branch lp:mlhim-specs.
To unsubscribe from this branch go to https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main/+edit-subscription
=== modified file 'schemas/datatypes.xsd'
--- schemas/datatypes.xsd	2012-06-17 20:22:58 +0000
+++ schemas/datatypes.xsd	2012-06-24 16:08:29 +0000
@@ -47,7 +47,6 @@
       </xs:documentation>
     </xs:annotation>
     <xs:sequence>
-      <xs:element name="data_name" type="xs:string"/>
       <xs:element maxOccurs="1" minOccurs="0" name="ev" nillable="true"
         type="mlhim2:ExceptionalValueType"/>
       <xs:element maxOccurs="1" minOccurs="0" name="valid_time_begin" nillable="true"
@@ -55,6 +54,7 @@
       <xs:element maxOccurs="1" minOccurs="0" name="valid_time_end" nillable="true"
         type="xs:dateTime"/>
     </xs:sequence>
+    <xs:attribute name="data_name" type="xs:string"/>
   </xs:complexType>
 
   <xs:complexType name="DvBooleanType">