Description
EDXL DE 2.0 Draft Schema ver 6.0 with HAVE Examples -- July 5, 2011
----------------------------
This version of the DE 2.0 has been upgraded to use the micro_gml_profile.xsd as well as to use a TargetArea with a flexible technique (using ValueListURI) to represent the AreaKind (e.g. Distribution or Source). The primary files updated in this example were:
- WP_Appendix_C_Example_DE_2.0_ver02.xml
- WP_Appendix_C_Example_DE_2.0_SOAP_ver02.xml
- de_2_ver06.xsd
- DE_DefaultValueLists_ver03.xsd
The micro_gml_profile.xsd is still being adjusted slightly to become the OASIS common component for representing geolocations and areas, such as circle, polygon, etc. But the currently available version was used here to get started. The other significant change is that the hardcoded element names "DistributionTargetArea" and "SourceTargetArea" have been removed and in their place
comes a more flexible "TargetArea" which is a ValueListURI that offers a choice, you can either choose to use the default urn and default values (Distribution, Source) or else you can use your own list uri and values. The two examples have been modified to validate with the upgraded schema.
An example piece of the sample messages is shown below and shows the sample formats:
....(using default AreaKind) .....
<TargetArea>
<AreaKind>
<AreaKindDefault>
<ct:ValueListURI>urn:oasis:names:tc:emergency:EDXL:DE:2.0:Defaults:AreaKindType</ct:ValueListURI>
<ct:Value>Source</ct:Value>
</AreaKindDefault>
</AreaKind>
<gml:Polygon gml:id="myPolygon">
<gml:exterior>
<gml:LinearRing>
<gml:pos>33.4745 -112.1174</gml:pos>
<gml:pos>33.4238 -112.0238</gml:pos>
<gml:pos>33.4238 -112.1174</gml:pos>
<gml:pos>33.4745 -112.1174</gml:pos>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</TargetArea>
...
----(Using User-defined List of Area Kinds) -----
...
<de:TargetArea>
<de:AreaKind>
<de:AreaKind>
<ct:ValueListURI>http://myserver.com/myAreaKind</ct:ValueListURI>
<ct:Value>Evacuation</ct:Value>
</de:AreaKind>
</de:AreaKind>
<gml:Polygon gml:id="myPolygon">
<gml:exterior>
<gml:LinearRing>
<gml:pos>33.4745 -112.1174</gml:pos>
<gml:pos>33.4238 -112.0238</gml:pos>
<gml:pos>33.4238 -112.1174</gml:pos>
<gml:pos>33.4745 -112.1174</gml:pos>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</de:TargetArea>
....