summaryrefslogtreecommitdiffstats
path: root/share/extensions/inkscape.extension.schema
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/extensions/inkscape.extension.schema9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/extensions/inkscape.extension.schema b/share/extensions/inkscape.extension.schema
new file mode 100644
index 0000000..63cb97b
--- /dev/null
+++ b/share/extensions/inkscape.extension.schema
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<sch:schema xmlns:sch="http://www.ascc.net/xml/schematron">
+<sch:ns uri="http://www.inkscape.org/namespace/inkscape/extension" prefix="inx"/>
+ <sch:pattern name="duplicateOptionValues">
+ <sch:rule context="//inx:param/inx:option">
+ <sch:report test="preceding-sibling::inx:option/@value = @value">Warning: @value values should be unique for a given option.</sch:report>
+ </sch:rule>
+ </sch:pattern>
+</sch:schema>