IssueID #1080: added @type to <lemma>

This commit is contained in:
Cyprian Laskowski 2020-01-21 08:29:33 +01:00
parent 9681733aac
commit 9528737481
2 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<head> <head>
<status>AE</status> <status>AE</status>
<headword> <headword>
<lemma audio="audio-3132">bolnišnica</lemma> <lemma audio="audio-3132" type="single">bolnišnica</lemma>
<homonymy> <homonymy>
<homonymyFeature name="pronunciation">bolníšnica</homonymyFeature> <homonymyFeature name="pronunciation">bolníšnica</homonymyFeature>
<homonymyFeature name="blahblah">xyz</homonymyFeature> <homonymyFeature name="blahblah">xyz</homonymyFeature>

View File

@ -11,6 +11,15 @@
<xsd:simpleContent> <xsd:simpleContent>
<xsd:extension base="xsd:string"> <xsd:extension base="xsd:string">
<xsd:attribute name="audio" type="xsd:string"/> <xsd:attribute name="audio" type="xsd:string"/>
<xsd:attribute name="type">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="single"/>
<xsd:enumeration value="phrase"/>
<xsd:enumeration value="compound"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension> </xsd:extension>
</xsd:simpleContent> </xsd:simpleContent>
</xsd:complexType> </xsd:complexType>