Changes between Version 1 and Version 2 of CMDI 1.2/Migration/Instance migration


Ignore:
Timestamp:
10/31/13 15:30:08 (11 years ago)
Author:
twagoo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Migration/Instance migration

    v1 v2  
    77== The issue ==
    88
    9 Unlike [[CMDI 1.2/Migration/Component migration|component migration]], instance migration involves upgrading only, i.e. CMDI 1.1 compatible instances will need to be upgradeable to 1.2 but there no valid use case is known for a conversion in the opposite direction. As is the case with upgrading components, this conversion should be mostly straightforward.
     9Unlike [[CMDI 1.2/Migration/Component migration|component migration]], instance migration involves upgrading only, i.e. CMDI 1.1 compatible instances will need to be upgradeable to 1.2 but there no valid use case for a conversion in the opposite direction has been proposed. As is the case with upgrading components, this conversion should be mostly straightforward.
    1010
    1111Special care has to be taken with CMDI 1.1 instances based on profiles that are in fact dumbed down versions of 1.2 profiles, see [[CMDI 1.2/Migration/Component migration#a1.2-1.1-1.2roundtrip|1.2 -> 1.1 -> 1.2 roundtrip]].
     
    1313== Proposed solution ==
    1414
    15 === Pros ===
     15Develop an XSLT that
     16* changes the CMDI version number to 1.2
     17* changes the schema location of the instance to the 1.2 counterpart of the original profile (see  [[CMDI 1.2/Migration/Component migration|component migration page]])
     18* moves reserved attributes into the CMDI namespace (see [[CMDI 1.2/Attributes/Namespace|attribute namespace page]])
     19* adds an MdProfile header if it was not present before  (see [[CMDI 1.2/Header/MdProfile|MdProfile header page]])
     20* applies any other required changes... (full list needs to be assembled)
    1621
    17 Pros of this solution
    18 
    19 === Cons ===
    20 
    21 Cons of this solution
     22The XSLT will be made publicly available so that any centre can apply it to their metadata instances as soon as they have made al required changes.
    2223
    2324=== Centre impact ===
    2425
    25 * Affected tools
    26 * Impact on instances
     26Centres can apply the XSLT to their instances as soon as their infrastructure is ready to deal with these. If their CMDI is generated, for example from a database, they might choose to adjust their generation facilities or simply add the transformation step to their processing chain.
    2727
    2828=== Implementation examples ===
    2929
    30 * Implementation on model level
    31 * Implementation on instance level
     30TODO: (Link to) transformation examples?
    3231
    3332== Tickets ==
    34 {{{#!comment
    35 Below replace the word 'keyword' in both the the text and the ticket query
    36 }}}
     33
    3734Tickets in the CMDI 1.2 milestone with the keyword ''instancemigration'':
    3835[[TicketQuery(keywords=~instancemigration,milestone=CMDI 1.2,format=table,col=summary|owner|component|priority|status)]]