on 2018 Oct 19 7:57 PM
I have created an enumtype in the Item.xml file, like this:
<enumtype generate="true" code="ColcilEnum" autocreate="true" dynamic="true">
<value code="V"/>
<value code="01"/>
<value code="N/A"/>
<value code="4X6"/>
</enumtype>
But it gives the following error:
"cvc-pattern-valid: Value 'N/A' is not facet-valid with respect to pattern ([a-zA-Z_])+([a-z_A-Z$0-9])*."
I tried to change the item.xsd file, but when execute ant clean all comand, the file return to original code:
<xs:simpleType name="enumCodeType">
<xs:annotation>
<xs:documentation>Configures the code of an enumeration value element.
Must start with a letter or underscore.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:normalizedString" >
<xs:pattern value="([a-zA-Z_])+([a-z_A-Z$0-9])*"/>
</xs:restriction>
</xs:simpleType>
Is there any way to change this pattern?.
Thanks, Regards, Aldo
Request clarification before answering.
Thank You!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.