Skip to content
Snippets Groups Projects
Commit 2b00f9fc authored by Benedikt's avatar Benedikt
Browse files

restricted stringXMLListType so it can't start or end with spaces

parent 4ddd7bc2
No related branches found
No related tags found
No related merge requests found
......@@ -1444,11 +1444,18 @@
<xs:simpleType name="stringXMLListType">
<xs:annotation>
<xs:documentation xml:lang="en">
Type providing listing of strings (xs:string)
with separation by blank spaces.
Type providing listing of strings (xs:string)
with separation by blank spaces, ensuring no
string starts or ends with spaces.
</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:string" />
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[^ ](.*[^ ])?"/>
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment