Skip to content

Commit

Permalink
Merge pull request #212 from SwissTPH/ver39
Browse files Browse the repository at this point in the history
Update schema version to 39
  • Loading branch information
dhardy authored Oct 24, 2018
2 parents b1c7b2e + 8f74896 commit 36d35ec
Show file tree
Hide file tree
Showing 47 changed files with 5,951 additions and 54 deletions.
2 changes: 1 addition & 1 deletion model/util/DocumentLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace OM { namespace util {
class DocumentLoader {
public:
/// Current schema version.
static const int SCHEMA_VERSION = 38;
static const int SCHEMA_VERSION = 39;

DocumentLoader () : documentChanged(false) {}

Expand Down
2 changes: 1 addition & 1 deletion schema/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ foreach (XSD_NAME ${SCHEMA_NAMES})
COMMAND ${XSD_EXECUTABLE} cxx-tree
--std c++11
--type-naming ucc --function-naming java
--namespace-map http://openmalaria.org/schema/scenario_38=scnXml
--namespace-map http://openmalaria.org/schema/scenario_39=scnXml
# --generate-serialization
--generate-doxygen
--generate-intellisense
Expand Down
4 changes: 2 additions & 2 deletions schema/demography.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_38"
xmlns:om="http://openmalaria.org/schema/scenario_38"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_39"
xmlns:om="http://openmalaria.org/schema/scenario_39"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!---HumanPopulationStructure-->
<xs:complexType name="Demography">
Expand Down
4 changes: 2 additions & 2 deletions schema/entomology.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_38"
xmlns:om="http://openmalaria.org/schema/scenario_38"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_39"
xmlns:om="http://openmalaria.org/schema/scenario_39"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Entomology">
Expand Down
4 changes: 2 additions & 2 deletions schema/healthSystem.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<!-- HealthSystem & Clinical data -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_38"
xmlns:om="http://openmalaria.org/schema/scenario_38"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_39"
xmlns:om="http://openmalaria.org/schema/scenario_39"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>

Expand Down
4 changes: 2 additions & 2 deletions schema/interventions.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2012 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_38"
xmlns:om="http://openmalaria.org/schema/scenario_38"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_39"
xmlns:om="http://openmalaria.org/schema/scenario_39"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="healthSystem.xsd"/>
<xs:include schemaLocation="entomology.xsd"/>
Expand Down
4 changes: 2 additions & 2 deletions schema/monitoring.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_38"
xmlns:om="http://openmalaria.org/schema/scenario_38"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_39"
xmlns:om="http://openmalaria.org/schema/scenario_39"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Monitoring">
Expand Down
4 changes: 2 additions & 2 deletions schema/pharmacology.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<!-- Drug parameters — PK, PD and resistance -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_38"
xmlns:om="http://openmalaria.org/schema/scenario_38"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_39"
xmlns:om="http://openmalaria.org/schema/scenario_39"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Pharmacology">
Expand Down
4 changes: 2 additions & 2 deletions schema/scenario.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_38"
xmlns:om="http://openmalaria.org/schema/scenario_38"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_39"
xmlns:om="http://openmalaria.org/schema/scenario_39"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="demography.xsd"/>
<xs:include schemaLocation="monitoring.xsd"/>
Expand Down
Loading

0 comments on commit 36d35ec

Please sign in to comment.