mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
8e0139869a
docs/schemas directory is meant for schemas which are installed on the system. The schema for the news file does not need to be installed. Store it along with the file it describes for simplicity.
73 lines
1.6 KiB
XML
73 lines
1.6 KiB
XML
<?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>
|
|
<zeroOrMore>
|
|
<ref name="change"/>
|
|
</zeroOrMore>
|
|
</element>
|
|
</define>
|
|
|
|
<define name="change">
|
|
<element name="change">
|
|
<element name="summary">
|
|
<data type="string">
|
|
<!-- Use literal newline instead of \n for bug in libxml2 2.7.6 -->
|
|
<param name="pattern">\n[^
|
|
]+\n +</param>
|
|
</data>
|
|
</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>
|