no whitespaces at beginning or end of a string

This commit is contained in:
FireFart
2013-11-30 20:18:40 +01:00
parent 68605ad409
commit 175bb9206e
4 changed files with 9 additions and 3 deletions

View File

@@ -4,7 +4,9 @@
<xs:simpleType name="stringtype">
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve" />
<xs:minLength value="1" />
<xs:pattern value="[^\s].+[^\s]|[^\s]"/>
</xs:restriction>
</xs:simpleType>

View File

@@ -4,7 +4,9 @@
<xs:simpleType name="stringtype">
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve" />
<xs:minLength value="1" />
<xs:pattern value="[^\s].+[^\s]|[^\s]"/>
</xs:restriction>
</xs:simpleType>

View File

@@ -4,7 +4,9 @@
<xs:simpleType name="stringtype">
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve" />
<xs:minLength value="1" />
<xs:pattern value="[^\s].+[^\s]|[^\s]"/>
</xs:restriction>
</xs:simpleType>