summaryrefslogtreecommitdiffstats
path: root/xml/score.rng
diff options
context:
space:
mode:
Diffstat (limited to 'xml/score.rng')
-rw-r--r--xml/score.rng18
1 files changed, 18 insertions, 0 deletions
diff --git a/xml/score.rng b/xml/score.rng
new file mode 100644
index 0000000..c632932
--- /dev/null
+++ b/xml/score.rng
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <start>
+ <ref name="attribute-score"/>
+ </start>
+
+ <define name="attribute-score">
+ <attribute name="score">
+ <choice>
+ <data type="integer"/>
+ <value>INFINITY</value>
+ <value>+INFINITY</value>
+ <value>-INFINITY</value>
+ </choice>
+ </attribute>
+ </define>
+</grammar>