fprime/Autocoders/Python/schema/default/command_op_schematron.rng
2021-05-27 16:21:51 -07:00

11 lines
347 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<schema
xmlns="http://purl.oclc.org/dsdl/schematron">
<pattern id="UNIQUE_OPCODE_CMD">
<rule context="command">
<assert test="count(//command/@opcode[. = current()/@opcode]) = 1">Command opcodes should be unique.
</assert>
</rule>
</pattern>
</schema>