Skip to content

Commit

Permalink
Bump version to 46 (#378)
Browse files Browse the repository at this point in the history
* bump version to 46

* bump schema version of all test scenarios

* add scenario_46.xsd
  • Loading branch information
acavelan authored Jan 17, 2024
1 parent bc31773 commit a8f70fb
Show file tree
Hide file tree
Showing 58 changed files with 6,536 additions and 64 deletions.
2 changes: 1 addition & 1 deletion model/util/DocumentLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace OM
{
namespace util
{
static const int SCHEMA_VERSION = 45;
static const int SCHEMA_VERSION = 46;

unique_ptr<scnXml::Scenario> loadScenario(std::string lXmlFile);
}
Expand Down
2 changes: 1 addition & 1 deletion schema/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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_45=scnXml
--namespace-map http://openmalaria.org/schema/scenario_46=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_45"
xmlns:om="http://openmalaria.org/schema/scenario_45"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46"
xmlns:om="http://openmalaria.org/schema/scenario_46"
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_45"
xmlns:om="http://openmalaria.org/schema/scenario_45"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46"
xmlns:om="http://openmalaria.org/schema/scenario_46"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Entomology">
Expand Down
2 changes: 1 addition & 1 deletion schema/healthSystem.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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_45" xmlns:om="http://openmalaria.org/schema/scenario_45" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46" xmlns:om="http://openmalaria.org/schema/scenario_46" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<!-- root element for clinical data outside the healthSystem element -->
<xs:complexType name="Clinical">
Expand Down
2 changes: 1 addition & 1 deletion schema/interventions.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- 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_45" xmlns:om="http://openmalaria.org/schema/scenario_45" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46" xmlns:om="http://openmalaria.org/schema/scenario_46" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="healthSystem.xsd"/>
<xs:include schemaLocation="entomology.xsd"/>
<xs:include schemaLocation="util.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_45"
xmlns:om="http://openmalaria.org/schema/scenario_45"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46"
xmlns:om="http://openmalaria.org/schema/scenario_46"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Monitoring">
Expand Down
2 changes: 1 addition & 1 deletion schema/pharmacology.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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_45" xmlns:om="http://openmalaria.org/schema/scenario_45" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46" xmlns:om="http://openmalaria.org/schema/scenario_46" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Pharmacology">
<xs:annotation>
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_45"
xmlns:om="http://openmalaria.org/schema/scenario_45"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46"
xmlns:om="http://openmalaria.org/schema/scenario_46"
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 a8f70fb

Please sign in to comment.