Commit a27b7237 authored by Shaun McCance's avatar Shaun McCance

Adding schematron checks

parent 856f3969
<schema xmlns="http://www.ascc.net/xml/schematron" >
<title>Some sanity checks for the GNOME desktop help</title>
<ns prefix="mal" uri="http://projectmallard.org/1.0/"/>
<ns prefix="xi" uri="http://www.w3.org/2001/XInclude"/>
<pattern name="Info element checks">
<rule context="mal:page/mal:info">
<assert test="not(mal:license)">Must not include license directly</assert>
<assert test="xi:include[@href='legal.xml']">Must include legal.xml</assert>
</rule>
</pattern>
</schema>
xmllint --noout --schematron gnome-help.sct *.page 2>&1 | grep -v validates
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment