mirror of
https://github.com/Fishwaldo/open-zwave.git
synced 2025-03-15 11:31:40 +00:00
Don't allow empty strings in Config option
This commit is contained in:
parent
d1b4e0d230
commit
1e2d123c7b
1 changed files with 8 additions and 1 deletions
|
@ -29,7 +29,14 @@
|
|||
<xs:attribute name='type' type='xs:string' use='required'/>
|
||||
<xs:attribute name='id' type='xs:string' use='required'/>
|
||||
<xs:attribute name='name' type='xs:string' use='required'/>
|
||||
<xs:attribute name='config' type='xs:anyURI' use='optional'/>
|
||||
<xs:attribute name='config' use='optional'>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="\S+"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
|
|
Loading…
Add table
Reference in a new issue