2017-03-28 14:35:05 +03:00
<?xml version="1.0"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<ref name="libvirt"/>
</start>
<define name="libvirt">
<element name="libvirt">
<oneOrMore>
<ref name="release"/>
</oneOrMore>
</element>
</define>
<define name="release">
<element name="release">
<attribute name="version">
<data type="string">
<param name="pattern">v[0-9]+\.[0-9]+\.[0-9]+</param>
</data>
</attribute>
<attribute name="date">
<data type="string">
<param name="pattern">[0-9]{4}-[0-9]{2}-[0-9]{2}|unreleased</param>
</data>
</attribute>
<oneOrMore>
<ref name="section"/>
</oneOrMore>
</element>
</define>
<define name="section">
<element name="section">
<attribute name="title">
<data type="string"/>
</attribute>
2017-03-28 18:13:39 +03:00
<zeroOrMore>
2017-03-28 14:35:05 +03:00
<ref name="change"/>
2017-03-28 18:13:39 +03:00
</zeroOrMore>
2017-03-28 14:35:05 +03:00
</element>
</define>
<define name="change">
<element name="change">
<element name="summary">
2017-03-28 18:13:39 +03:00
<data type="string">
2017-04-04 09:56:26 +03:00
<!-- Use literal newline instead of \n for bug in libxml2 2.7.6 -->
<param name="pattern">\n[^
]+\n +</param>
2017-03-28 18:13:39 +03:00
</data>
2017-03-28 14:35:05 +03:00
</element>
<optional>
<element name="description">
<ref name="description"/>
</element>
</optional>
</element>
</define>
<define name="description">
<oneOrMore>
<choice>
<text/>
<element name="code">
<text/>
</element>
</choice>
</oneOrMore>
</define>
</grammar>