Ignore case in xs: unique?

Is it possible to use xs:uniqueto ignore case, that is, a flag as repeating two values ​​that differ only in capitalization?

+3
source share
1 answer

No, it is not, look at MSDN where the documentation states:

xsd: unique element

Indicates that the value of an attribute or element (or a combination of attribute or element values) must be unique within the specified scope. The value must be unique or equal to zero.

Microsoft ( ) , case-

<xs:unique name="uniqueCounterName">
   <xs:annotation>
      <xs:documentation>
         Counter Name must be unique within the Counter Set. The name is
         case-sensitive.
       </xs:documentation>
   </xs:annotation>
   <xs:selector xpath="./man:counter"/>
   <xs:field xpath="@name"/>
</xs:unique>
+1

Source: https://habr.com/ru/post/1702453/


All Articles