Skip to content
Snippets Groups Projects
Commit 8103002b authored by ankraft's avatar ankraft
Browse files

Changed namespace to http://www.onem2m.org/xml/sdt/4.0

parent f4920fe6
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- Example1 SDT inspired by some Echonet Lite examples --> <!-- Example1 SDT inspired by some Echonet Lite examples -->
<Domain xmlns="http://homegatewayinitiative.org/xml/dal/4.0" <Domain xmlns="http://www.onem2m.org/xml/sdt/4.0"
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xi="http://www.w3.org/2001/XInclude"
id="example2.SDT"> id="example2.SDT">
......
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- Example1 SDT inspired by some Echonet Lite examples --> <!-- Example1 SDT inspired by some Echonet Lite examples -->
<Domain xmlns="http://homegatewayinitiative.org/xml/dal/4.0" <Domain xmlns="http://www.onem2m.org/xml/sdt/4.0"
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xi="http://www.w3.org/2001/XInclude"
id="example3.SDT"> id="example3.SDT">
......
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- Test the extends element --> <!-- Test the extends element -->
<Domain id="extend-test" xmlns="http://homegatewayinitiative.org/xml/dal/4.0" xmlns:xi="http://www.w3.org/2001/XInclude"> <Domain id="extend-test" xmlns="http://www.onem2m.org/xml/sdt/4.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<ModuleClasses> <ModuleClasses>
<ModuleClass name="TestExtendsParent"> <ModuleClass name="TestExtendsParent">
<Data> <Data>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!-- <!--
+................................................+ +................................................+
:Domain:org.homegatewayinitiative : :Domain:org.onem2m :
: : : :
: +..........................................+ : : +..........................................+ :
: :Module:BooleanState : : : :Module:BooleanState : :
...@@ -62,8 +62,8 @@ ...@@ -62,8 +62,8 @@
--> -->
<Domain xmlns:xi="http://www.w3.org/2001/XInclude" <Domain xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns="http://homegatewayinitiative.org/xml/dal/4.0" xmlns="http://www.onem2m.org/xml/sdt/4.0"
id="org.homegatewayinitiative"> id="org.onem2m">
<!-- The following import statements include ModuleClasses from HGI --> <!-- The following import statements include ModuleClasses from HGI -->
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
<SimpleType type="string" /> <SimpleType type="string" />
</Property> </Property>
<Property name="VendorURL"> <Property name="VendorURL">
<Doc>Original value: http://www.homegatewayinitative.org</Doc> <Doc>Original value: http://www.onem2m.org</Doc>
<SimpleType type="uri" /> <SimpleType type="uri" />
</Property> </Property>
<Property name="SerialNumber"> <Property name="SerialNumber">
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
<Property name="Vendor" value="HGI"> <Property name="Vendor" value="HGI">
<SimpleType type="string" /> <SimpleType type="string" />
</Property> </Property>
<Property name="VendorURL" value="http://homegatwaysinitiative.org"> <Property name="VendorURL" value="http://www.onem2m.org">
<SimpleType type="uri" /> <SimpleType type="uri" />
</Property> </Property>
<Property name="maximumAltitude" value="2800"> <Property name="maximumAltitude" value="2800">
......
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<Domain xmlns="http://homegatewayinitiative.org/xml/dal/4.0" xmlns:xi="http://www.w3.org/2001/XInclude" id="deviceClass-test" > <Domain xmlns="http://www.onem2m.org/xml/sdt/4.0" xmlns:xi="http://www.w3.org/2001/XInclude" id="deviceClass-test" >
<Products> <Products>
<Product id="TestProduct" semanticURI="http://example.com/TestProduct.rdf"> <Product id="TestProduct" semanticURI="http://example.com/TestProduct.rdf">
<Doc>This is a test product</Doc> <Doc>This is a test product</Doc>
......
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- Test the data types references --> <!-- Test the data types references -->
<Domain id="semanticURI-test" xmlns="http://homegatewayinitiative.org/xml/dal/4.0" xmlns:xi="http://www.w3.org/2001/XInclude" semanticURI="http://example.com/semanticURI-test.rdf"> <Domain id="semanticURI-test" xmlns="http://www.onem2m.org/xml/sdt/4.0" xmlns:xi="http://www.w3.org/2001/XInclude" semanticURI="http://example.com/semanticURI-test.rdf">
<DataTypes> <DataTypes>
<DataType name="temperatureType" unitOfMeasure="C" semanticURI="http://example.com/temperatureType.rdf"> <DataType name="temperatureType" unitOfMeasure="C" semanticURI="http://example.com/temperatureType.rdf">
<SimpleType type="float"/> <SimpleType type="float"/>
......
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- Test the void BasicType --> <!-- Test the void BasicType -->
<Domain id="void-test" xmlns="http://homegatewayinitiative.org/xml/dal/4.0" xmlns:xi="http://www.w3.org/2001/XInclude"> <Domain id="void-test" xmlns="http://www.onem2m.org/xml/sdt/4.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<ModuleClasses> <ModuleClasses>
<ModuleClass name="TestVoid"> <ModuleClass name="TestVoid">
<Actions> <Actions>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment