Changes between Version 9 and Version 10 of Identifiers


Ignore:
Timestamp:
12/04/07 13:41:16 (13 years ago)
Author:
domlowe
Comment:

Notes on CSML internal ids.

Legend:

Unmodified
Added
Removed
Modified
  • Identifiers

    v9 v10  
    124124Now coming back to the CSML internal identifier issues. That's a matter for the storage descriptor, so I'm going to hand that back to Andrew (for now). 
    125125 
     126=== On CSML internal identifiers (by Dominic): === 
     127 
     128GML is littered with mandatory gml:id attributes, so there are a lot of internal ids. We are using opaque (and completely random) alphanumeric identifiers for any internal identifiers e.g. gml:id="j82mXckM". 
     129 
     130This includes feature ids, storage descriptor ids. 
     131 
     132(Features have gml:name and gml:description elements to carry semantics, and storage descriptors have metadata elements too (eg fileName, variableName).) 
     133 
     134So do we need to extend the id scheme so that an identifier internal to a document can be referenced externally by concatenating the external and internal id's? 
     135 
     136i.e. 
     137respository__schema__local_id__internal_id 
     138 
     139So an id for a csml feature (from outside the csml document) would look like this. 
     140{{{ 
     141badc.nerc.ac.uk__csml__SomeRandomString__SomeOtherRandomString 
     142}}) 
     143 
     144Internally to the CSML document it would just be: 
     145{{{ 
     146SomeOtherRandomString 
     147}}} 
    126148 
    127149 
     
    133155 
    134156 
    135  
    136  
    137  
    138  
    139  
    140  
    141  
    142  
    143  
    144  
    145  
    146  
    147  
    148  
    149  
    150  
    151  
    152  
    153  
    154  
    155  
    156  
    157  
    158  
    159  
    160  
    161  
    162  
    163  
    164  
    165  
    166  
    167  
    168  
    169  
    170  
    171  
    172  
    173  
    174  
    175  
    176  
    177  
    178  
    179