bug #6982
open
- Copied from feature request #6815: OriginalSource idNamespace + idInSource default separator should be whitespace added
Andreas Kohlbecker wrote:
Regarding configurability: A simple default character would not be suffcient. Woul'nt we rather need a rule based approach? A cdm database may contains quite different identifiers types which need different formatting.
Two basic rules:
- if idNamespace is a URI the separator is '/'
- otherwise it is ' '
In general I agree, if this is easy enough to implement. Until now we did not have many namespaces being URIs. Implementing a simple character might be a first step and if we get usecases where this is not enough we might implement rules.
Andreas Müller wrote:
Andreas Kohlbecker wrote:
Regarding configurability: A simple default character would not be suffcient. Woul'nt we rather need a rule based approach? A cdm database may contains quite different identifiers types which need different formatting.
Two basic rules:
- if idNamespace is a URI the separator is '/'
- otherwise it is ' '
In general I agree, if this is easy enough to implement. Until now we did not have many namespaces being URIs. Implementing a simple character might be a first step and if we get usecases where this is not enough we might implement rules.
Maybe the rule could simply be that namespaces ending on "/" should not have a space while others need a space. Maybe there are also other characters that do not require a space.
- Target version changed from Release 4.11 to Release 4.12
- Target version changed from Release 4.12 to Release 4.13
- Target version changed from Release 4.13 to Release 4.14
- Target version changed from Release 4.14 to Release 5.0
- Target version changed from Release 5.0 to Release 5.1
- Target version changed from Release 5.1 to Release 5.2
- Target version changed from Release 5.2 to Release 5.3
- Target version changed from Release 5.3 to Release 5.4
- Target version changed from Release 5.4 to Release 5.5
- Target version changed from Release 5.5 to Release 5.6
- Target version changed from Release 5.6 to Unassigned CDM tickets
Also available in: Atom
PDF