From b5239ab4d0815915a0f6770dfc504cdd7bd806a5 Mon Sep 17 00:00:00 2001 From: ebeshero Date: Sat, 25 Mar 2023 20:00:24 -0400 Subject: [PATCH] Relax NG schema for XML validation --- schema.rnc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 schema.rnc diff --git a/schema.rnc b/schema.rnc new file mode 100644 index 0000000..ea7d787 --- /dev/null +++ b/schema.rnc @@ -0,0 +1,6 @@ +start = xml +xml = element xml {p+} +p = element p {mixed{(special | info)*}} +special = element special {text} +info = element info {type, text} +type = attribute type {"Message-ID"}