← Prev in month ← Prev in thread
Next in thread → Next in month →

XSD 1.1, "ref" attribute on IDC constraints

From
Mukul Gandhi <>
To
"" <>
Date
2019-11-07T04:15:55Z
ID
<>
Thread
XSD 1.1, "ref" attribute on IDC constraints
Hi all,
    XSD 1.1 seems to have introduced, an "ref" attribute on IDC constraints as follows,

<xs:unique
    id = ID
    name = NCName
    ref = QName
    {any attributes with non-schema namespace . . .}>
    Content: (annotation?, (selector, field+)?)
</xs:unique>

and similarly for <xs:key> and <xs:keyref>.

The "ref" attribute as mentioned above, was not available in XSD 1.0.

I'm not able to envision a use case of IDC constraints "ref" attribute as mentioned above. Can anyone please, explain a use case of XSD 1.1 IDC constraints "ref" attribute with an example? I'm looking forward for a small example for this, to understand the concept of "ref" attribute as cited in this mail.



--
Regards,
Mukul Gandhi
← Prev in month ← Prev in thread
Next in thread → Next in month →