drop shows.xsd

This commit is contained in:
boyska 2022-01-21 00:45:36 +01:00
parent 3cee499bec
commit 0d1722f8b5
3 changed files with 1 additions and 30 deletions

View file

@ -4,11 +4,10 @@ testXMLs := $(shell find shows radio-manifest -type f -name '*.xml')
%.html: %.asciidoc %.html: %.asciidoc
asciidoctor -b html5 $< asciidoctor -b html5 $<
radiomanifest.zip: radio-manifest.xsd shows.xsd radio-manifest/Makefile shows/Makefile $(testXMLs) radiomanifest.zip: radio-manifest.xsd radio-manifest/Makefile shows/Makefile $(testXMLs)
zip -r $@ $^ zip -r $@ $^
test: test:
make -C shows/
make -C radio-manifest/ make -C radio-manifest/
.PHONY: all .PHONY: all

View file

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="shows">
<xs:complexType>
<xs:sequence>
<xs:element name="show" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:all>
<xs:element name="name" type="xs:string" />
<xs:element name="website" type="srctype" minOccurs="0" />
<xs:element name="feed" type="srctype" minOccurs="0" />
<xs:element name="schedule" type="srctype" minOccurs="0" />
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="srctype">
<xs:restriction base="xs:anyURI">
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:schema>

View file

@ -129,8 +129,6 @@ Here is an example:
</folder> </folder>
</xbel> </xbel>
(XXX: Schema XSD is yet to be written)
Only ``show:name`` is required, though parsers are invited to apply the Postel law and read the parent Only ``show:name`` is required, though parsers are invited to apply the Postel law and read the parent
``title`` element. ``title`` element.