Namespace the schema and add references in xml files

Signed-off-by: Dan Rose <dan@digilabs.io>
This commit is contained in:
Dan Rose 2019-10-18 22:04:07 -05:00 committed by eboasson
parent a1aaa2808f
commit ae1a8130c7
4 changed files with 16 additions and 4 deletions

View file

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="https://cdds.io/config"
targetNamespace="https://cdds.io/config"
elementFormDefault="qualified">
<xs:element name="CycloneDDS"> <xs:element name="CycloneDDS">
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>

View file

@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<?xml-model href="https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd"
schematypens="http://www.w3.org/2001/XMLSchema" ?>
<!-- <!--
Copyright(c) 2006 to 2018 ADLINK Technology Limited and others Copyright(c) 2006 to 2018 ADLINK Technology Limited and others
@ -10,7 +12,7 @@
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
--> -->
<CycloneDDS> <CycloneDDS xmlns="https://cdds.io/config">
<!-- Simple config-file for testing whether a config-file can be picked up <!-- Simple config-file for testing whether a config-file can be picked up
correctly. --> correctly. -->
<Domain id="3"> <Domain id="3">

View file

@ -1,3 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-model href="https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd"
schematypens="http://www.w3.org/2001/XMLSchema" ?>
<!-- <!--
Copyright(c) 2006 to 2018 ADLINK Technology Limited and others Copyright(c) 2006 to 2018 ADLINK Technology Limited and others
@ -9,7 +12,7 @@
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
--> -->
<CycloneDDS> <CycloneDDS xmlns="https://cdds.io/config">
<Domain> <Domain>
<Id>any</Id> <Id>any</Id>
</Domain> </Domain>

View file

@ -1,3 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-model href="https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd"
schematypens="http://www.w3.org/2001/XMLSchema" ?>
<!-- <!--
Copyright(c) 2006 to 2018 ADLINK Technology Limited and others Copyright(c) 2006 to 2018 ADLINK Technology Limited and others
@ -9,7 +12,7 @@
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
--> -->
<CycloneDDS> <CycloneDDS xmlns="https://cdds.io/config">
<Domain> <Domain>
<Id>${DOMAIN_ID}</Id> <Id>${DOMAIN_ID}</Id>
</Domain> </Domain>