Changes between Version 4 and Version 5 of CMDI 1.2/Resource proxies/Single reference


Ignore:
Timestamp:
12/05/13 15:45:21 (10 years ago)
Author:
mwindhouwer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CMDI 1.2/Resource proxies/Single reference

    v4 v5  
    99With OAI-PMH its possible to retrieve multiple records with one request. When one validates the returned document its possible that IDs clash, as they are unique within the original XML document but there was no requirement that they should have been globally unique.
    1010
    11 == Proposed solutions ==
    12 
    13 === First solution ===
     11== The proposed solution ==
    1412
    1513It's possible in XSD to limit the scope of IDs and IDREFs using xs:key and xs:keyref. This solution has been described in the [[CmdiMultipleRecords]] page. A showstopper for this solution is currently that @ref can refer to multiple !ResourceProxies, i.e., the type of @ref is IDREFS, while there is no xs:keyrefs. A solution in CMDI 1.2 would be to make the type of @ref IDREF again as it was once. An investigation of the around half million harvested CMD records shows that instances of [http://catalog.clarin.eu/ds/ComponentRegistry/?item=clarin.eu:cr1:p_1345561703620# collection] profile are currently the only users of this feature, e.g., the [http://hdl.handle.net/1839/00-F78BED6F-D8DA-4355-BF41-88F6D4A169F8 IPROSLA Abel CMD collection record]. Here the root collection component refers to all the !ResourceProxies. Its debatable if that is needed, as this should be the default interpretation if there is no @ref.
    1614
    17 ==== Pros ====
     15=== Pros ===
    1816
    1917CMD records can be concatenated for bulk retrieval.
    2018
    21 ==== Cons ====
     19=== Cons ===
    2220
    2321There are CMD records that currently use multiple !ResourceProxy references in one @ref.
    2422
    25 ==== Centre impact ====
     23=== Centre impact ===
    2624
    2725When a centre uses references to multiple resource proxies in one @ref these would have to be modeled differently.
    2826
    29 ==== Implementation examples ====
     27=== Implementation examples ===
    3028
    3129See the [[CmdiMultipleRecords]] page.
    3230
    33 ==== Discussion ====
     31=== Discussion ===
    3432
    3533Discuss this solution proposal in this section