[editor] Allow 0 fields for a type, and fix a bug

This commit is contained in:
Ilya Zverev 2016-04-07 13:14:10 +03:00 committed by Alex Zolotarev
parent dc250855b5
commit f1e878accf
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@
<xs:complexType name="typeType">
<xs:sequence>
<xs:element name="include" minOccurs="1" maxOccurs="unbounded">
<xs:element name="include" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="field" type="xs:string" />
<xs:attribute name="group" type="xs:string" />

View file

@ -349,7 +349,7 @@
<include field="internet" />
</type>
<type id="amenity-charging_station">
<include group="operator" />
<include field="operator" />
</type>
<type id="craft" can_add="no">
<include group="poi" />