Last modified by Artur K. on 2026/05/29 14:28

From version 15.1
edited by Helena K.
on 2025/07/16 10:45
Change comment: There is no comment for this version
To version 17.1
edited by Artur K.
on 2026/05/29 14:28
Change comment: Copied from sdmxsrlocalization:Methodology.SDMX 2\.1 Standards\. Section 6\. Technical Notes.9 Transforming between versions of SDMX.WebHome

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.helena
1 +xwiki:XWiki.arturkryazhev
Content
... ... @@ -4,27 +4,27 @@
4 4  
5 5  == 9.1 Scope ==
6 6  
7 -The scope of this section is to define both best practices and mandatory behaviour for specific aspects of transformation between different formats of [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]].
7 +The scope of this section is to define both best practices and mandatory behaviour for specific aspects of transformation between different formats of [[SDMX>>doc:Glossary.Statistical data and metadata exchange.WebHome]].
8 8  
9 9  == 9.2 Groups and Dimension Groups ==
10 10  
11 11  === 9.2.1 Issue ===
12 12  
13 -Version 2.1 introduces a more granular mechanism for specifying the relationship between a Data [[Attribute>>doc:sdmx:Glossary.Attribute.WebHome]] and the [[Dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] to which the [[attribute>>doc:sdmx:Glossary.Attribute.WebHome]] applies. The technical construct for this is the [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]] Group. This [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]] Group has no direct equivalent in versions 2.0 and 1.0 and so the application transforming data from a version 2.1 [[data set>>doc:sdmx:Glossary.Data set.WebHome]] to a version 2.0 or version 1.0 [[data set>>doc:sdmx:Glossary.Data set.WebHome]] must decide to which construct the [[attribute>>doc:sdmx:Glossary.Attribute.WebHome]] value, whose [[Attribute>>doc:sdmx:Glossary.Attribute.WebHome]] is declared in a [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]] Group, should be attached. The closest construct is the “Series” [[attachment level>>doc:sdmx:Glossary.Attachment level.WebHome]] and in many cases this is the correct construct to use.
13 +Version 2.1 introduces a more granular mechanism for specifying the relationship between a Data [[Attribute>>doc:Glossary.Attribute.WebHome]] and the [[Dimensions>>doc:Glossary.Dimension.WebHome]] to which the [[attribute>>doc:Glossary.Attribute.WebHome]] applies. The technical construct for this is the [[Dimension>>doc:Glossary.Dimension.WebHome]] Group. This [[Dimension>>doc:Glossary.Dimension.WebHome]] Group has no direct equivalent in versions 2.0 and 1.0 and so the application transforming data from a version 2.1 [[data set>>doc:Glossary.Data set.WebHome]] to a version 2.0 or version 1.0 [[data set>>doc:Glossary.Data set.WebHome]] must decide to which construct the [[attribute>>doc:Glossary.Attribute.WebHome]] value, whose [[Attribute>>doc:Glossary.Attribute.WebHome]] is declared in a [[Dimension>>doc:Glossary.Dimension.WebHome]] Group, should be attached. The closest construct is the “Series” [[attachment level>>doc:Glossary.Attachment level.WebHome]] and in many cases this is the correct construct to use.
14 14  
15 -However, there is one case where the [[attribute>>doc:sdmx:Glossary.Attribute.WebHome]] MUST be attached to a Group in the version 2.0 and 1.0 message. The conditions of this case are:
15 +However, there is one case where the [[attribute>>doc:Glossary.Attribute.WebHome]] MUST be attached to a Group in the version 2.0 and 1.0 message. The conditions of this case are:
16 16  
17 -1. A Group is defined in the [[DSD>>doc:sdmx:Glossary.Data structure definition.WebHome]] with exactly the same [[Dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] as a [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]] Group in the same [[DSD>>doc:sdmx:Glossary.Data structure definition.WebHome]].
18 -1. The [[Attribute>>doc:sdmx:Glossary.Attribute.WebHome]] is defined in the [[DSD>>doc:sdmx:Glossary.Data structure definition.WebHome]] with an [[Attribute Relationship>>doc:sdmx:Glossary.Attribute relationship.WebHome]] to the [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]] Group. This [[attribute>>doc:sdmx:Glossary.Attribute.WebHome]] is NOT defined as having an [[Attribute Relationship>>doc:sdmx:Glossary.Attribute relationship.WebHome]] to the Group.
17 +1. A Group is defined in the [[DSD>>doc:Glossary.Data structure definition.WebHome]] with exactly the same [[Dimensions>>doc:Glossary.Dimension.WebHome]] as a [[Dimension>>doc:Glossary.Dimension.WebHome]] Group in the same [[DSD>>doc:Glossary.Data structure definition.WebHome]].
18 +1. The [[Attribute>>doc:Glossary.Attribute.WebHome]] is defined in the [[DSD>>doc:Glossary.Data structure definition.WebHome]] with an [[Attribute Relationship>>doc:Glossary.Attribute relationship.WebHome]] to the [[Dimension>>doc:Glossary.Dimension.WebHome]] Group. This [[attribute>>doc:Glossary.Attribute.WebHome]] is NOT defined as having an [[Attribute Relationship>>doc:Glossary.Attribute relationship.WebHome]] to the Group.
19 19  
20 20  === 9.2.2 Structural Metadata ===
21 21  
22 -If the conditions defined in 9.2.1are true then on conversion to a version 2.0 or 1.0 [[DSD>>doc:sdmx:Glossary.Data structure definition.WebHome]] (Key Family) the [[Component>>doc:sdmx:Glossary.Component.WebHome]]/[[Attribute>>doc:sdmx:Glossary.Attribute.WebHome]].attachmentLevel must be set to “Group” and the [[Component>>doc:sdmx:Glossary.Component.WebHome]]/[[Attribute>>doc:sdmx:Glossary.Attribute.WebHome]]/AttachmentGroup” is used to identify the Group. Note that under rule(1) in 1.2.1 this group will have been defined in the V 2.1 [[DSD>>doc:sdmx:Glossary.Data structure definition.WebHome]] and so will be present in the V 2.0 transformation.
22 +If the conditions defined in 9.2.1are true then on conversion to a version 2.0 or 1.0 [[DSD>>doc:Glossary.Data structure definition.WebHome]] (Key Family) the [[Component>>doc:Glossary.Component.WebHome]]/[[Attribute>>doc:Glossary.Attribute.WebHome]].attachmentLevel must be set to “Group” and the [[Component>>doc:Glossary.Component.WebHome]]/[[Attribute>>doc:Glossary.Attribute.WebHome]]/AttachmentGroup” is used to identify the Group. Note that under rule(1) in 1.2.1 this group will have been defined in the V 2.1 [[DSD>>doc:Glossary.Data structure definition.WebHome]] and so will be present in the V 2.0 transformation.
23 23  
24 24  === 9.2.3 Data ===
25 25  
26 -If the conditions defined in 9.2.1are true then, on conversion from a 2.1 [[data set>>doc:sdmx:Glossary.Data set.WebHome]] to a 2.0 or 1.0 [[dataset>>doc:sdmx:Glossary.Data set.WebHome]] the [[attribute>>doc:sdmx:Glossary.Attribute.WebHome]] value will be placed in the relevant . If these conditions are not true then the [[attribute>>doc:sdmx:Glossary.Attribute.WebHome]] value will be placed in the .
26 +If the conditions defined in 9.2.1are true then, on conversion from a 2.1 [[data set>>doc:Glossary.Data set.WebHome]] to a 2.0 or 1.0 [[dataset>>doc:Glossary.Data set.WebHome]] the [[attribute>>doc:Glossary.Attribute.WebHome]] value will be placed in the relevant . If these conditions are not true then the [[attribute>>doc:Glossary.Attribute.WebHome]] value will be placed in the .
27 27  
28 28  === 9.2.4 Compact Schema ===
29 29  
30 -If the conditions defined in 9.2.1are true then the Compact Schema must be generated with the Group present and the [[Attribute>>doc:sdmx:Glossary.Attribute.WebHome]](s) present in that group definition.
30 +If the conditions defined in 9.2.1are true then the Compact Schema must be generated with the Group present and the [[Attribute>>doc:Glossary.Attribute.WebHome]](s) present in that group definition.
© Semantic R&D Group, 2026