For cases such as this one, you may need a disjunction based on the
@type, expressed in RelaxNG. You need a <rng:choice> with two child
patterns: specific @type with <idno> of the specified datatype, as
opposed to any other @type with the default <idno> datatype.
On 06/02/15 13:46, Martin de la Iglesia wrote:
> Am 05.02.2015 um 14:43 schrieb Martin Holmes:
>> The ODD/schema seems the right place for that kind of definition.
> If that's the consensus, the Guidelines should provide examples of how
> to do that. For instance, I don't even know how to express in ODD that
> xsd:anyURI should be the content datatype for <idno> *for specific @type
> values only*. I certainly don't want all my <idno>s to be URIs.