Commit bfd598b9 authored by Andreas Kraft's avatar Andreas Kraft

Changed the namespace for the XSD from "hgi.org" to "homegatewayinitiative.org"

parent 2c31adcb
......@@ -31,6 +31,7 @@ You can find further Information here:
- Added optional ``<Doc>`` element to Event
- Changed the optionality of the ``<DataPoint>``'s ``type`` attribute to "required".
- Added [UML diagram](SDT/schema2.0/docs/SDT_Components.md)
- Changed the namespace for the XSD from "hgi.org" to "homegatewayinitiative.org".
---
......@@ -71,7 +72,11 @@ The "numbers" could be just integer number, but may also contain letters, e.g. "
## Domain / namespace
The SDL now uses the namespace "homegateway.org" as a namespace to identify the schema (also used for includes). The namespace is **not** a URL, but uniquely identifies the namespace and *should* be registered by HGI.
The SDL now uses the namespace "homegatewayinitiative.org" as a namespace to identify the schema (also used for includes). The namespace is **not** a URL, but uniquely identifies the namespace and *should* be registered by HGI.
That said, most validating parsers expect **that the namesapce IS a valid URL** or that at least there is a server on the other end rejecting the request. A timeout / no connection / no answer / ... leads to an error.
Therefore, we cannot use the namespace "homegateway.org" because parsers don't get an answer from this address.
......
......@@ -92,7 +92,7 @@
<schemavalidate warn="true">
<fileset dir="${basedir}/test" includes="*.xml"/>
<attribute name="http://apache.org/xml/features/xinclude" value="true"/>
<schema namespace="http://hgi.org/xml/dal/2.0"
<schema namespace="http://homegatewayinitiative.org/xml/dal/2.0"
file="${path.src}/domain.xsd" />
<schema namespace="http://www.w3.org/2001/XInclude"
file="${basedir}/etc/XInclude.xsd" />
......
namespace local = ""
default namespace xsl = "http://hgi.org/xml/dal/2.0"
default namespace xsl = "http://homegatewayinitiative.org/xml/dal/2.0"
namespace xi = "http://www.w3.org/2001/XInclude"
version = "1.0"
......
targetNamespace="http://hgi.org/xml/dal/2.0"
xmlns="http://hgi.org/xml/dal/2.0"
targetNamespace="http://homegatewayinitiative.org/xml/dal/2.0"
xmlns="http://homegatewayinitiative.org/xml/dal/2.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
<namespace ns="http://hgi.org/xml/dal/2.0" typeId="DAL"/>
<namespace ns="http://homegatewayinitiative.org/xml/dal/2.0" typeId="DAL"/>
<namespace ns="http://www.w3.org/2001/XInclude" typeId="XINC"/>
<typeId id="DAL" uri="dal.rnc"/>
......
<?xml version="1.0" encoding="ISO-8859-1"?><html xmlns:dal="http://hgi.org/xml/dal/1.0" xmlns="http://www.w3.org/1999/xhtml">
<?xml version="1.0" encoding="ISO-8859-1"?><html xmlns:dal="http://homegatewayinitiative.org/xml/dal/2.0" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Domain hgi.dal.core</title>
</head>
......
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://hgi.org/xml/dal/2.0"
xmlns="http://hgi.org/xml/dal/2.0"
<xs:schema targetNamespace="http://homegatewayinitiative.org/xml/dal/2.0"
xmlns="http://homegatewayinitiative.org/xml/dal/2.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
......
......@@ -8,7 +8,7 @@
document ... -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:dal="http://hgi.org/xml/dal/1.0"
xmlns:dal="http://homegatewayinitiative.org/xml/dal/2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:redirect="http://xml.apache.org/xalan/redirect"
......
<?xml version="1.0" encoding="iso-8859-1"?>
<Domain xmlns="http://hgi.org/xml/dal/2.0"
<Domain xmlns="http://homegatewayinitiative.org/xml/dal/2.0"
id="hgi.dal.core">
<Modules>
......
<?xml version="1.0" encoding="iso-8859-1"?>
<Domain xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns="http://hgi.org/xml/dal/2.0"
xmlns="http://homegatewayinitiative.org/xml/dal/2.0"
id="com.telekom">
<Imports>
......
......@@ -5,7 +5,7 @@
<!--
+................................................+
:Domain:org.hgi :
:Domain:org.homegatewayinitiative :
: :
: +..........................................+ :
: :Module:BooleanState : :
......@@ -62,8 +62,8 @@
-->
<Domain xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns="http://hgi.org/xml/dal/2.0"
id="org.hgi">
xmlns="http://homegatewayinitiative.org/xml/dal/2.0"
id="org.homegatewayinitiative">
<!-- The following import statements include ModuleClasses from HGI -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment