summaryrefslogtreecommitdiffstats
path: root/Schemas
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2014-03-05 10:55:15 +0100
committerMattijs Korpershoek <mattijsx.korpershoek@intel.com>2014-06-24 11:51:18 +0200
commit01c7495e66caea59165316bc025a69cce1383311 (patch)
treef7a7b1732f69dfd118f4dc0dc0021eb2b0d13bff /Schemas
parentc4dd2ae2f070333da2917a93e30b3557caa38760 (diff)
downloadexternal_parameter-framework-01c7495e66caea59165316bc025a69cce1383311.zip
external_parameter-framework-01c7495e66caea59165316bc025a69cce1383311.tar.gz
external_parameter-framework-01c7495e66caea59165316bc025a69cce1383311.tar.bz2
Support context mapping at Subsystem level
BZ: 176942 Add a class (ConfigurableMappingElement) handling the mapping; to be derived by all classes that can contain mapping. ConfigurableMappingElement derives from ConfigurableElement. Until now, the only child of ConfigurableElement that could have mapping was InstanceConfigurableElement (through TypeElement, that contains all information related to its type). Now, both InstanceConfigurableElement and Subsystem derive from ConfigurableMappingElement. That way, Subsystem XML elements can now have a "Mapping" attribute, propagated to all Elements in the tree. The Subsystem.xsd schema is updated in that regard. Only context mapping is relevant at the Subsystem-level (as opposed to instantiation mapping). If an instantiation mapping is set in the Subsystem, it is silently ignored. Change-Id: I3c09959bc5e3d18c5a4d354e498d69cc5489a247 Signed-off-by: David Wagner <david.wagner@intel.com> Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
Diffstat (limited to 'Schemas')
-rw-r--r--Schemas/Subsystem.xsd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Schemas/Subsystem.xsd b/Schemas/Subsystem.xsd
index ab0fdf6..e803175 100644
--- a/Schemas/Subsystem.xsd
+++ b/Schemas/Subsystem.xsd
@@ -29,6 +29,7 @@
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required"/>
+ <xs:attribute name="Mapping" use="optional"/>
</xs:complexType>
<xs:element name="Subsystem" type="SubsystemType">
<xs:keyref name="InstanceDefinitionComponentTypeNotFound" refer="ComponentTypeUniqueness">