dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03880
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 76: camelCase on shortName and alternativeName
------------------------------------------------------------
revno: 76
committer: Bob Jolliffe <bobj@bobj-laptop>
branch nick: dhis2-docbook-docs
timestamp: Wed 2009-12-30 21:47:59 +0000
message:
camelCase on shortName and alternativeName
Updated rnc and xsd versions of schema
modified:
src/schemas/dxf_v2_schema/dxf2.rnc
src/schemas/dxf_v2_schema/dxf2.rng
src/schemas/dxf_v2_schema/dxf2.xsd
--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs
Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription.
=== modified file 'src/schemas/dxf_v2_schema/dxf2.rnc'
--- src/schemas/dxf_v2_schema/dxf2.rnc 2009-12-16 13:16:54 +0000
+++ src/schemas/dxf_v2_schema/dxf2.rnc 2009-12-30 21:47:59 +0000
@@ -61,8 +61,8 @@
attribute id { dxfID },
element uuid { text },
element name { text },
- element alternativename { text },
- element shortname { text },
+ element alternativeName { text },
+ element shortName { text },
element code { text },
element description { text }
#
@@ -298,8 +298,8 @@
element paramReportingMonth { "true" | "false" },
element paramParentOrganisationUnit { "true" | "false" },
element paramOrganisationUnit { "true" | "false" },
- element dataelements {
- element dataelement {
+ element dataElements {
+ element dataElement {
attribute id { dxfID }
}*
}
=== modified file 'src/schemas/dxf_v2_schema/dxf2.rng'
--- src/schemas/dxf_v2_schema/dxf2.rng 2009-12-19 11:56:29 +0000
+++ src/schemas/dxf_v2_schema/dxf2.rng 2009-12-30 21:47:59 +0000
@@ -141,10 +141,10 @@
<element name="name">
<text/>
</element>
- <element name="alternativename">
+ <element name="alternativeName">
<text/>
</element>
- <element name="shortname">
+ <element name="shortName">
<text/>
</element>
<element name="code">
=== modified file 'src/schemas/dxf_v2_schema/dxf2.xsd'
--- src/schemas/dxf_v2_schema/dxf2.xsd 2009-12-16 13:16:54 +0000
+++ src/schemas/dxf_v2_schema/dxf2.xsd 2009-12-30 21:47:59 +0000
@@ -129,8 +129,8 @@
<xs:sequence>
<xs:element ref="dxf2:uuid"/>
<xs:element ref="dxf2:name"/>
- <xs:element ref="dxf2:alternativename"/>
- <xs:element ref="dxf2:shortname"/>
+ <xs:element ref="dxf2:alternativeName"/>
+ <xs:element ref="dxf2:shortName"/>
<xs:element ref="dxf2:code"/>
<xs:element ref="dxf2:description"/>
</xs:sequence>
@@ -138,8 +138,8 @@
</xs:complexType>
<xs:element name="uuid" type="xs:string"/>
<xs:element name="name" type="xs:string"/>
- <xs:element name="alternativename" type="xs:string"/>
- <xs:element name="shortname" type="xs:string"/>
+ <xs:element name="alternativeName" type="xs:string"/>
+ <xs:element name="shortName" type="xs:string"/>
<xs:element name="code" type="xs:string"/>
<xs:element name="description" type="xs:string"/>
<!--
@@ -396,7 +396,6 @@
<xs:element name="region" type="xs:string"/>
<!-- DataSet Definition -->
<xs:element name="dataSets" substitutionGroup="dxf2:DataSetDefinition"/>
- <xs:element name="shortName" type="xs:string"/>
<xs:element name="periodType" type="xs:string"/>
<!-- Organisation Unit Definition -->
<xs:element name="groupSets">
@@ -600,7 +599,17 @@
<xs:element ref="dxf2:paramReportingMonth"/>
<xs:element ref="dxf2:paramParentOrganisationUnit"/>
<xs:element ref="dxf2:paramOrganisationUnit"/>
- <xs:element ref="dxf2:dataelements"/>
+ <xs:element name="dataElements">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="dataElement">
+ <xs:complexType>
+ <xs:attribute name="id" use="required" type="dxf2:dxfID"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
</xs:sequence>
<xs:attribute name="id" use="required" type="dxf2:dxfID"/>
</xs:complexType>
@@ -779,18 +788,6 @@
</xs:restriction>
</xs:simpleType>
</xs:element>
- <xs:element name="dataelements">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="dxf2:dataelement"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="dataelement">
- <xs:complexType>
- <xs:attribute name="id" use="required" type="dxf2:dxfID"/>
- </xs:complexType>
- </xs:element>
<xs:element name="reportTableDataElements">
<xs:complexType>
<xs:sequence>