You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there,
I'm just wondering if it's possible to re-use the following simpleType in my XSD without defining
the validation annotation again and again. In the example below the validation annotation will be ignored and not be displayed inside the form. The validation is taken from the parent-element.
Bye, Holger
<xs:simpleType name="comment">
<xs:annotation i:validation="Please write a comment."/> <!-- ignored -->
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
...
<xs:element name="comment_1" type="comment" minOccurs="1" maxOccurs="1">
<xs:annotation i:title="Comment 1"
xs:annotation i:validation="Please write a comment."/> <!-- this one is taken -->
</xs:element>
The text was updated successfully, but these errors were encountered:
hbast
changed the title
Definition of a validation-annotation inside a separate Type
Definition of a validation-annotation inside a separate type
Dec 12, 2017
Hey there,
I'm just wondering if it's possible to re-use the following simpleType in my XSD without defining
the validation annotation again and again. In the example below the validation annotation will be ignored and not be displayed inside the form. The validation is taken from the parent-element.
Bye, Holger
The text was updated successfully, but these errors were encountered: